Skip to content

feat: replace toolbar file label with Show-in-File-Tree button#2828

Merged
abose merged 1 commit intomainfrom
ai
Apr 21, 2026
Merged

feat: replace toolbar file label with Show-in-File-Tree button#2828
abose merged 1 commit intomainfrom
ai

Conversation

@abose
Copy link
Copy Markdown
Member

@abose abose commented Apr 20, 2026

  • Remove the .ccb-group-file block (HTML, JS wiring, LESS). The vertical file name is redundant with the live-preview heading and file tabs.
  • Drop no-longer-used DocumentManager and MainViewManager requires, plus the _updateFileLabel function and its event subscriptions.
  • Add #ccbShowInTreeBtn below #searchNav in .ccb-group-nav with the legacy binoculars glyph inlined as SVG using currentColor so it inherits the button color. ViewBox tightened to 16x16 so the artwork fills the rendering box at the same weight as the pen-nib icon.
  • Button invokes the existing NAVIGATE_SHOW_IN_FILE_TREE command and uses the existing Strings.CMD_SHOW_IN_TREE localized title.
  • Update control-bar-tests-todo.md: replace the three file-label bullets with checks for the new button.

- Remove the .ccb-group-file block (HTML, JS wiring, LESS). The vertical
  file name is redundant with the live-preview heading and file tabs.
- Drop no-longer-used DocumentManager and MainViewManager requires, plus
  the _updateFileLabel function and its event subscriptions.
- Add #ccbShowInTreeBtn below #searchNav in .ccb-group-nav with the
  legacy binoculars glyph inlined as SVG using currentColor so it
  inherits the button color. ViewBox tightened to 16x16 so the artwork
  fills the rendering box at the same weight as the pen-nib icon.
- Button invokes the existing NAVIGATE_SHOW_IN_FILE_TREE command and
  uses the existing Strings.CMD_SHOW_IN_TREE localized title.
- Update control-bar-tests-todo.md: replace the three file-label
  bullets with checks for the new button.
@sonarqubecloud
Copy link
Copy Markdown

@abose abose merged commit 22b2191 into main Apr 21, 2026
15 of 21 checks passed
@abose abose deleted the ai branch April 21, 2026 05:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant