Add side panel visibility toggles - #1478
Conversation
|
Hi @dimafa, While reworking the implementation and storage for the panel width and visibility, I decided to directly implement the side panel visibility toggles (along with keybinds) as part of these changes: 491e4cf & 8731af6 Additionally, I added the toggles to the bottom bar to avoid cluttering the title bar, as title bar behavior isn't consistent across all operating systems. Thanks! |
|
@CyberTimon, the change looks great, thank you.
|
Agreed. This can be tracked for the next release.
This is intended. Since most photographers aren't using VS Code shortcuts on a daily basis, they aren't aware of this convention. The right panel is arguably the most used, which is why we use Ctrl+B for the right panel instead of the left. |
Description
Adds VS Code-style controls for completely hiding and restoring the left and right side panels. Panel visibility is now independent of panel width, so each panel returns to its exact previous size instead of reopening at a hard-coded width.
The default shortcuts are
Cmd+Bfor the left panel andCmd+Shift+Bfor the right panel on macOS (Ctrl+BandCtrl+Shift+Belsewhere). Both remain configurable in Settings. These match VS Code shortcuts.Type of Change
Changes Made
Screenshots/Videos
Testing
Test Configuration:
Checklist
Additional Notes
The previous implementation represented a collapsed panel by overwriting its width with 48 px. Because that discarded the prior width, it could not restore the user's chosen size. This change keeps width and visibility as separate state.
AI Disclaimer: