Repository navigation
Conversation
|
Done — replaced the plain The buttons now match VS Code’s behavior:
Screenshot of the result: |
Replaced raw text characters with official VS Code codicon chevron SVGs. Kept original Tree and DirectoryNode logic intact.
|
Apologies for the confusion — I made changes on a local branch but didn't push them to this PR branch, so you were looking at the original file. I also mistakenly ran a diff check on the wrong branch. I have now applied the fix directly to Changes:
Screenshot of the new collapsed and expanded states attached. Thank you for catching this! |
|
@ateto3 ,could you please share a screenshot of your changes? I checked out your PR branch and ran the project locally, but I still couldn't see any noticeable differences. Thanks! |
|
Now It's all good with the SVG you wanted, I have confused and think you want a SVG of "<" and ">" but now I have understand and all is like you want tell me if it's not |
|
This is the svg that I found at the original VScode repositories: https://github.com/microsoft/vscode/blob/main/extensions/theme-modern-icons/fileicons/images/file.svg |



Summary
Improves the project tree sidebar collapse/expand interaction to feel more polished and professional, taking inspiration from VS Code’s sidebar UX while preserving the project’s existing visual identity. Closes #440.
Changes
‹and›text buttons with inline SVG chevron icons (no new dependencies).aria-expanded,aria-label, andfocus-visiblerings for keyboard accessibility.The internal
collapsedstate and all existing handlers (setCollapsed) remain unchanged, so this is a purely presentational upgrade with zero behavioural regressions.How to test
Checklist
focus-visible,aria-expanded)Closes #440