Skip to content

Conversation

@roomote
Copy link
Contributor

@roomote roomote bot commented Sep 11, 2025

Summary

This PR attempts to address Issue #7887 by repositioning the History button from the overflow menu to the main toolbar, reducing the interaction overhead from two clicks to one.

Changes

  • Moved historyButtonClicked from overflow@1 to navigation@2 in both view/title and editor/title menus
  • Shifted existing navigation items:
    • Marketplace: navigation@2navigation@3
    • Settings: navigation@3navigation@4
    • Cloud: navigation@4navigation@5
  • Re-indexed overflow menu items (prompts, mcp, popout now at @1, @2, @3)

Testing

✅ Backend tests: 290 files, 3778 tests passing
✅ UI tests: 86 files, 1032 tests passing
✅ All linting and type checks passing

Related Issue

Fixes #7887

Feedback and guidance are welcome!


Important

Repositioned the History button to the main toolbar in view/title and editor/title menus, adjusting other navigation items accordingly.

  • Behavior:
    • Reposition historyButtonClicked from overflow@1 to navigation@2 in view/title and editor/title menus.
    • Shift marketplaceButtonClicked, settingsButtonClicked, and cloudButtonClicked to navigation@3, navigation@4, and navigation@5 respectively.
    • Re-index promptsButtonClicked, mcpButtonClicked, and popoutButtonClicked to overflow@1, overflow@2, and overflow@3.
  • Testing:
    • Backend tests: 290 files, 3778 tests passing.
    • UI tests: 86 files, 1032 tests passing.
    • All linting and type checks passing.

This description was created by Ellipsis for 50d039f. You can customize this summary. It will automatically update as commits are pushed.

- Move historyButtonClicked from overflow@1 to navigation@2
- Shift navigation items: marketplace@3, settings@4, cloud@5
- Update overflow items indices accordingly
- Apply changes to both view/title and editor/title menus

Fixes #7887
@roomote roomote bot requested review from cte, jr and mrubens as code owners September 11, 2025 06:27
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. UI/UX UI/UX related or focused labels Sep 11, 2025
Copy link
Contributor Author

@roomote roomote bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing my own code feels like debugging in a mirror - everything's backwards and I still missed the obvious bugs.

"command": "roo-cline.historyButtonClicked",
"group": "overflow@1",
"command": "roo-cline.cloudButtonClicked",
"group": "navigation@5",
Copy link
Contributor Author

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?

"command": "roo-cline.historyButtonClicked",
"group": "overflow@1",
"command": "roo-cline.cloudButtonClicked",
"group": "navigation@5",
Copy link
Contributor Author

Choose a reason for hiding this comment

The 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?

@github-project-automation github-project-automation bot moved this from Triage to Done in Roo Code Roadmap Sep 11, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Sep 11, 2025
@hannesrudolph hannesrudolph added the Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. label Sep 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Issue/PR - Triage New issue. Needs quick review to confirm validity and assign labels. size:M This PR changes 30-99 lines, ignoring generated files. UI/UX UI/UX related or focused

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

Reposition History button from overflow to main toolbar

3 participants