Closed hojberg closed 3 years ago
I will give this one a try.
Is this part in the design meant as a tooltip or a popup menu where the user can click the different lines?
@hagl yeah exactly! There's a menu option of the tooltip module https://github.com/unisonweb/codebase-ui/blob/main/src/UI/Tooltip.elm#L49
Note this requires icons and we don't currently have icons for all these options. I can get some icons together quick or we can make the icons optionals. What do you think?
Thanks for the hint! I think I'd make the icons optional. In some cases, no icon might be better than a bad one.
Clicking the button should shrink the sidebar into a small strip, and clicking again should expand. It should not interfere with the auto hiding that happens on smaller screens.
Note: this feature will tie in well with the desktop app (electron) effort and especially useful for Unison Local—Perhaps even something that exclusively should work there (?).