Repository navigation
Header: place Clear OAuth to the right of Disconnect (#3101) - #3102
Merged
Merged
Conversation
Disconnect now always sits immediately beside the connection status indicator; the optional Clear OAuth icon follows it instead of sitting between the two. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: cliffhall <cliff@futurescale.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the connected-header control reorder.
No open issues 🎉
What changed in this PR
Reorders the web client’s connected header so Disconnect always sits immediately beside the status indicator, with the optional Clear OAuth icon to its right. Disconnected-state behavior is unchanged.
Changes:
- Moves Disconnect before Clear OAuth within the connected control group.
- Adds ordering assertions for headers with and without Clear OAuth.
- Updates documentation and the story comment to describe the new placement.
| File | Description |
|---|---|
docs/mcp-server-configuration.md |
Documents Clear OAuth’s position to the right of Disconnect. |
clients/web/src/components/groups/ViewHeader/ViewHeader.tsx |
Reorders connected controls and records the ordering rule. |
clients/web/src/components/groups/ViewHeader/ViewHeader.test.tsx |
Checks control order with and without Clear OAuth. |
clients/web/src/components/groups/ViewHeader/ViewHeader.stories.tsx |
Updates the connected OAuth story’s descriptive comment. |
Review effort: Balanced
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #3101
What changed
The connected header's right-hand group now reads status indicator, Disconnect, Clear OAuth. Before, it was status indicator, Clear OAuth, Disconnect. Disconnect therefore always sits immediately beside the connection indicator, whether or not the server has stored OAuth credentials. The optional icon now follows it rather than pushing it one slot over.
ViewHeader.tsx: the two icons swap places inRightConnectedGroup. The group's comment now records the ordering rule.docs/mcp-server-configuration.md) and theConnectedWithOAuthstory description now say "to the right of Disconnect".Tests
ViewHeader.test.tsx:[indicator, Disconnect, Clear OAuth])[indicator, Disconnect]npm run local:gatepasses.Screenshot (1280×900, Chromium)
Connected to
oauth-revocation-http.jsonafter authorizing, with an isolatedHOME. The status dot is followed by Disconnect, then Clear OAuth (shown with its tooltip):🤖 Generated with Claude Code