opencode icon indicating copy to clipboard operation
opencode copied to clipboard

Confusing colouration of working directory in sidebar.

Open ariane-emory opened this issue 1 month ago • 4 comments

Description

In the sidebar, modified files and the working directory are displayed in the same colour. As a result, it isn't readily apparent clear that that last item (starting with /Volumes in my screenshot) is the current working directory and not a modified file.

You can puzzle it out once you think it through and notice the absence of the +/- part on the right, but figuring that out definitely slowed me down needlessly for several seconds.

This would be more obvious if the working directory and the modified files used different text colours.

OpenCode version

1.0.134

Steps to reproduce

  1. Enable the sidebar.
  2. Cause some files to be modified.
  3. Scroll the sidebar to a position such that the last modified file and the working directory are on adjacent lines.
  4. Observe that the last of the modified files and the working directory use the same text colour, making it hard to distinguish one from the other.

Screenshot and/or share link

Image

Operating System

No response

Terminal

No response

ariane-emory avatar Dec 07 '25 01:12 ariane-emory

This issue might be a duplicate of existing issues. Please check:

  • #4974: Weird unexplained unattractive highlighting of the word 'working' - relates to confusing coloring of working directory display
  • #5001: [FEATURE]: make subagent visually more distinctive - addresses visual distinguishability of sidebar elements

Feel free to ignore if none of these address your specific case.

github-actions[bot] avatar Dec 07 '25 01:12 github-actions[bot]

There don't seem to be too many colours in theme labeled specifically for text. Maybe textMuted is our best option? Not sure how it'll look on the background, might have to try it and see how it looks in order to decide.

ariane-emory avatar Dec 07 '25 04:12 ariane-emory

Actually, it looks like textMuted is what's currently being used for both of these elements. So, perhaps switching one of them to text is the better options. Some experimenting with colours will probably be needed.

ariane-emory avatar Dec 07 '25 05:12 ariane-emory

We are going to ship a cleaner sidebar soon, thanks for pointing this out will be addressed

rekram1-node avatar Dec 07 '25 05:12 rekram1-node