-
Notifications
You must be signed in to change notification settings - Fork 2.5k
feat: Reposition History button from overflow to main toolbar #7889
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -224,38 +224,38 @@ | |
| "when": "view == roo-cline.SidebarProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.marketplaceButtonClicked", | ||
| "command": "roo-cline.historyButtonClicked", | ||
| "group": "navigation@2", | ||
| "when": "view == roo-cline.SidebarProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.settingsButtonClicked", | ||
| "command": "roo-cline.marketplaceButtonClicked", | ||
| "group": "navigation@3", | ||
| "when": "view == roo-cline.SidebarProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.cloudButtonClicked", | ||
| "command": "roo-cline.settingsButtonClicked", | ||
| "group": "navigation@4", | ||
| "when": "view == roo-cline.SidebarProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.historyButtonClicked", | ||
| "group": "overflow@1", | ||
| "command": "roo-cline.cloudButtonClicked", | ||
| "group": "navigation@5", | ||
| "when": "view == roo-cline.SidebarProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.promptsButtonClicked", | ||
| "group": "overflow@2", | ||
| "group": "overflow@1", | ||
| "when": "view == roo-cline.SidebarProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.mcpButtonClicked", | ||
| "group": "overflow@3", | ||
| "group": "overflow@2", | ||
| "when": "view == roo-cline.SidebarProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.popoutButtonClicked", | ||
| "group": "overflow@4", | ||
| "group": "overflow@3", | ||
| "when": "view == roo-cline.SidebarProvider" | ||
| } | ||
| ], | ||
|
|
@@ -266,38 +266,38 @@ | |
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.marketplaceButtonClicked", | ||
| "command": "roo-cline.historyButtonClicked", | ||
| "group": "navigation@2", | ||
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.settingsButtonClicked", | ||
| "command": "roo-cline.marketplaceButtonClicked", | ||
| "group": "navigation@3", | ||
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.cloudButtonClicked", | ||
| "command": "roo-cline.settingsButtonClicked", | ||
| "group": "navigation@4", | ||
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.historyButtonClicked", | ||
| "group": "overflow@1", | ||
| "command": "roo-cline.cloudButtonClicked", | ||
| "group": "navigation@5", | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The menu configuration is duplicated between view/title (lines 220-260) and editor/title (lines 262-302). Could we explore extracting this to a shared configuration to reduce duplication and make future maintenance easier? Perhaps a helper function or constant that both sections could reference? |
||
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.promptsButtonClicked", | ||
| "group": "overflow@2", | ||
| "group": "overflow@1", | ||
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.mcpButtonClicked", | ||
| "group": "overflow@3", | ||
| "group": "overflow@2", | ||
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| }, | ||
| { | ||
| "command": "roo-cline.popoutButtonClicked", | ||
| "group": "overflow@4", | ||
| "group": "overflow@3", | ||
| "when": "activeWebviewPanelId == roo-cline.TabPanelProvider" | ||
| } | ||
| ] | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is having 5 buttons in the main toolbar intentional? VSCode typically shows only 3-4 navigation items before collapsing to overflow on smaller screens. The Cloud button at position @5 might get hidden on some displays. Should we consider which buttons are most essential for the main toolbar?