gh-14168: Fix collapsed workspace toggle hitbox - #14795
Conversation
|
Sure, you can address it here |
added a dedicated icon class for the move to space action in blank windows. contemplated between this icon and the open icon, but went with the corner-down-right arrow since it’s less commonly used elsewhere and felt clearer for moving something. the tooltip and expanded sidebar behavior still work too zen-issue-14168-followup-demo.mov |
|
Only concern I have so far is that maybe people are used to simply click on the three dots for the workspace actions, but thats not possible anymore... |
|
yeah fair, although i do think this is cleaner than adding another button or finding a separate place for the collapsed action, and it better matches the click behavior of the expanded sidebar |
|
What about making it float to the top left? Like the close buttons on tabs |
i was able to get it looking like this by adding the same Firefox css from the collapsed tab close button. i checked the left alignment using Shottr’s (screenshot app) ruler, and it looks to have the same gap as the buttons on tabs. the only difference is that i used 1px less padding to make the three dots look a little bigger and clearer. this only applies to normal workspaces, the blank windows keep the move to space arrow from the earlier change. if this looks fine and you want to go with this lmk and i can commit my local changes |
|
That looks great! |
|
okay sounds good! committed those changes |
| --close-button-extra-background: transparent; | ||
| width: 15px; | ||
| height: 15px; | ||
| box-sizing: border-box; |
There was a problem hiding this comment.
What's up with these weird attributes being added? Seems really vibecoded. color-scheme as well, etc...
There was a problem hiding this comment.
these are taken from Firefox’s base tab close button styles and collapsed vertical tab close button styles for consistency


follows the suggested approach from the original issue by preventing the workspace actions button from appearing on hover in the collapsed sidebar. this keeps the space icon visible and clickable for collapsing pinned tabs, while the actions menu remains right-clickable.
demo showing sidebar toggling and the style fixes for the hover
zen-issue-14168-demo.mp4
closes #14168