Should a workspace's sidebar number follow the rendered order? #2151
Closed
luis-barroso
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Related to #2150, which reports the collapsed/expanded ordering mismatch. That issue is just the observation — this is the direction question behind it, which I was told not to put in the report.
herdr workspace listreports anumberper workspace that stays the same regardless of how the sidebar is rendered. With a few repos open, the position a workspace appears at and the number it carries can drift apart.Two directions I could imagine:
numberis positional and should track whatever order the sidebar renders. It already renumbers when a workspace is closed, so it behaves positionally today.numberis a stable handle, and the sidebar isn't meant to be read as a numbered list at all.I don't have a view on which is right for herdr. I'm asking because
switch_workspaceis documented as an optional indexed binding (prefix+shift+1..9), and which of the two it is decides whether that binding is safe to turn on once more than one repo is open.herdr 0.7.5 stable, macOS, Ghostty.
All reactions