Skip to content

Conversation

@dlab-anton
Copy link
Contributor

@dlab-anton dlab-anton commented Apr 30, 2025

Context

Overview:

This PR cleans up the Roo Code view header by moving less frequently used actions into the standard VS Code overflow menu (...). This provides a less cluttered primary header focusing on core actions like 'New Task', 'Prompts', and 'Settings'.

Before

image

After

image

Drop-down (note no styles, icons, etc. this is standard vs code overflow)

image

Pros:

  • Helps mental burden a lot because those icons are always present
  • Can guide user to important pages like Prompts

Cons:

Maybe frustrating if someone uses something in the overflow frequently. The one I'm least confident is open in editor if someone has this in their workflow to click it every time or something (I don't know).

Problem:

The Roo Code view header previously displayed all action buttons directly (New Task, Prompts, MCP Servers, History, Open in Editor, Settings, Help). This leads to a cluttered UI, mental burden, especially in narrower view layouts. It also allows easier dev in the future as can easily add a new page without affecting layout.

Solution:

Leveraged the standard VS Code menu contribution mechanism (contributes.menus) to control item visibility. By modifying the group property for specific actions within the view/title and editor/title contexts in package.json, we can signal to VS Code which items are primary (navigation@<number>) and which are secondary (no group assigned). VS Code automatically places these secondary items into the built-in overflow menu (...).

Changes Made:

  • Modified Roo-Code/package.json:
    • In contributes.menus["view/title"]:
      • Kept group: "navigation@1" for roo-cline.plusButtonClicked.
      • Kept group: "navigation@2" for roo-cline.promptsButtonClicked.
      • Updated group to navigation@3 for roo-cline.settingsButtonClicked.
      • Removed the group property entirely for roo-cline.mcpButtonClicked, roo-cline.historyButtonClicked, roo-cline.popoutButtonClicked, and roo-cline.helpButtonClicked.
    • Applied identical changes to contributes.menus["editor/title"] for consistency when the view is popped out.

Important

Improves Roo Code view header by moving less used actions to VS Code overflow menu, focusing on core actions.

  • UI/UX Improvement:
    • Moves less frequently used actions to VS Code overflow menu in Roo Code view header.
    • Focuses primary header on core actions: 'New Task', 'Prompts', 'Settings'.
  • Changes in package.json:
    • In contributes.menus["view/title"] and contributes.menus["editor/title"]:
      • Keeps group: "navigation@1" for roo-cline.plusButtonClicked.
      • Keeps group: "navigation@2" for roo-cline.promptsButtonClicked.
      • Updates group to navigation@3 for roo-cline.settingsButtonClicked.
      • Removes group for roo-cline.mcpButtonClicked, roo-cline.historyButtonClicked, roo-cline.popoutButtonClicked, roo-cline.helpButtonClicked.

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

@changeset-bot
Copy link

changeset-bot bot commented Apr 30, 2025

⚠️ No Changeset found

Latest commit: 0b48f76d522fca5b4d668f04b9fdad64cbaac373

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 30, 2025
@dlab-anton dlab-anton changed the title feat ui/ux: overflow buttin in header actions feat ui/ux: overflow button in header actions Apr 30, 2025
@dosubot dosubot bot added the enhancement New feature or request label Apr 30, 2025
@sachasayan
Copy link
Contributor

sachasayan commented Apr 30, 2025

I'll happily endorse this, but here's my suggestion, and where I was thinking of going with this when I caught a spare moment:

  1. Yeet the "+ new task" and "? docs" buttons — we don't have stats on these but I'm almost sure they're never used.
  2. Move "Open in Editor" to the overflow you just made. Also, borrow "Open in New Window" from Copilot.
  3. Move Prompts, MCP, and Task History elsewhere, possibly in the task area or under the Roo logo.

Final version could look like:

Screenshot 2025-04-30 at 7 43 12 PM

All of these are elective, happy to hear your thoughts.

@dlab-anton
Copy link
Contributor Author

dlab-anton commented May 1, 2025

All of these are elective, happy to hear your thoughts.
Yeet the "+ new task"

Thanks for the feedback good ideas. I will yeet.

Move Prompts, MCP, and Task History elsewhere, possibly in the task area or under the Roo logo.

This is the only one I would very strongly push back on -- there are standard patterns for menus/pages in VS Code and everyone expects navigation at the top right. This also lets them be present on all screens. This pattern is too strong and we can't change I think. But we can add, in addition to top links, a quick links section below, however I would prefer to reserve this for a different task.

@hannesrudolph hannesrudolph moved this from New to PR [Pre Approval Review] in Roo Code Roadmap May 1, 2025
@mrubens
Copy link
Collaborator

mrubens commented May 2, 2025

Maybe we should add some telemetry for the button clicks before making a decision here? (Just one data point, but I hit the new chat button all the time)

@mrubens
Copy link
Collaborator

mrubens commented May 2, 2025

How about we get this out in the next release and then use it to inform this change / track the impact? #3108

@dlab-anton
Copy link
Contributor Author

dlab-anton commented May 2, 2025

Maybe we should add some telemetry for the button clicks before making a decision here? (Just one data point, but I hit the new chat button all the time)

image

I actually was thinking we keep the New Task, but remove the identical function button near it in the Task Header (X) so that the task header has a clean one-function title area for expand/collapse. I may be wrong but I believe they are duplicate functions and difference is the top one is persistent on all pages (better, easier to remember, etc.) and the one in task header is redundant.

Dual-function accordion row is a little funky for mental burden and the chevron is on the left , where on other items it is on the right. So we can also move the chevron to the right to match other accordions on chat page if remove the redundant x there.

@mrubens
Copy link
Collaborator

mrubens commented May 3, 2025

Here’s some early data on button clicks. Seems like a no brainer to remove the help button (especially since we have the link to docs in the chat view now).

IMG_1072

@dlab-anton
Copy link
Contributor Author

Here’s some early data on button clicks. Seems like a no brainer to remove the help button (especially since we have the link to docs in the chat view now).

Great to see the data.

Time on page would let us segment out users that spend, say more than 3 seconds on the tab. If time isn't tracked then we could take one interaction per page and segment out users who did not interact, or scroll, etc. (Some way to use your existing data to essentially measure bounce rate).

Based on that data and intuition I would keep Settings, Plus, MCP as the three that are always persistent, and the rest in the overflow. We could make it responsive eg. from showing all icons on wide to only overflow icon on super narrow but I prefer overflow more than 3 icons for better clarity.

@mrubens mrubens marked this pull request as draft May 5, 2025 17:07
SmartManoj pushed a commit to SmartManoj/Raa-Code that referenced this pull request May 6, 2025
* add markdown copy

* add changeset

* fmt

---------

Co-authored-by: Wesley Smith <[email protected]>
@hannesrudolph hannesrudolph moved this from PR [Pre Approval Review] to PR [Draft/WIP] in Roo Code Roadmap May 10, 2025
@hannesrudolph hannesrudolph moved this from New to PR [Draft/WIP] in Roo Code Roadmap May 20, 2025
@hannesrudolph hannesrudolph moved this from PR [Draft / In Progress] to TEMP in Roo Code Roadmap May 26, 2025
@daniel-lxs daniel-lxs moved this from TEMP to PR [Needs Review] in Roo Code Roadmap May 26, 2025
@hannesrudolph hannesrudolph moved this from PR [Needs Review] to TEMP in Roo Code Roadmap May 26, 2025
@hannesrudolph hannesrudolph moved this from TEMP to PR [Needs Review] in Roo Code Roadmap May 26, 2025
@daniel-lxs
Copy link
Member

Hey @dlab-anton, Would it make sense to change the buttons currently shown based on the usage data?
Please let me know if you'd like to discuss the change further.

@daniel-lxs daniel-lxs moved this from PR [Needs Prelim Review] to PR [Draft / In Progress] in Roo Code Roadmap May 29, 2025
@hannesrudolph hannesrudolph reopened this Jul 8, 2025
@github-project-automation github-project-automation bot moved this from Done to New in Roo Code Roadmap Jul 8, 2025
@hannesrudolph
Copy link
Collaborator

@dlab-anton I take it back! yeah lets do this. Thanks @MuriloFP for correcting me on this. I should have never closed it. Hasty me.

@hannesrudolph hannesrudolph self-assigned this Jul 8, 2025
Move less frequently used actions into the VS Code overflow menu:
- Keep visible: New Task, Prompts, Settings
- Move to overflow: MCP Servers, History, Open in Editor, Account
…ions

- History button moved from navigation@3 to navigation@2
- Marketplace button moved from navigation@2 to navigation@3
- Updated in both view/title and editor/title sections
@hannesrudolph
Copy link
Collaborator

@mrubens
image

@hannesrudolph hannesrudolph marked this pull request as ready for review July 8, 2025 22:49
Copilot AI review requested due to automatic review settings July 8, 2025 22:49
@hannesrudolph hannesrudolph requested a review from jr as a code owner July 8, 2025 22:49
@dosubot dosubot bot added size:M This PR changes 30-99 lines, ignoring generated files. UI/UX UI/UX related or focused and removed size:S This PR changes 10-29 lines, ignoring generated files. labels Jul 8, 2025
@hannesrudolph hannesrudolph moved this from Done to PR [Needs Prelim Review] in Roo Code Roadmap Jul 8, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR declutters the Roo Code view header by moving less-used actions into the VS Code overflow menu and refining group assignments for primary actions.

  • Adjusted contributes.menus in package.json for both view/title and editor/title contexts.
  • Removed group properties from secondary actions so they appear under the overflow (...) menu.
  • Ensured primary actions (New Task, Prompts, Settings) remain in the main header with correct navigation@ group numbers.
Comments suppressed due to low confidence (1)

src/package.json:260

  • Settings in the editor/title block has no group. If it should remain a primary action, re-add "group": "navigation@3"; otherwise, confirm it belongs in the overflow.
					"command": "roo-cline.settingsButtonClicked",

- Remove navigation group from historyButtonClicked to move it to overflow
- Add navigation@3 to settingsButtonClicked to keep it in primary header
- Remove navigation group from marketplaceButtonClicked to move it to overflow

This ensures only New Task and Settings remain in the primary header as intended.
Copy link
Member

@daniel-lxs daniel-lxs left a comment

Choose a reason for hiding this comment

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

Thank you @dlab-anton!

LGTM

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jul 9, 2025
@daniel-lxs daniel-lxs moved this from PR [Needs Prelim Review] to PR [Needs Review] in Roo Code Roadmap Jul 9, 2025
@mrubens mrubens merged commit 76b13df into RooCodeInc:main Jul 9, 2025
17 checks passed
@github-project-automation github-project-automation bot moved this from PR [Needs Review] to Done in Roo Code Roadmap Jul 9, 2025
@github-project-automation github-project-automation bot moved this from New to Done in Roo Code Roadmap Jul 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request lgtm This PR has been approved by a maintainer PR - Needs Review 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.

5 participants