Skip to content

Add keyboard shortcuts for layout presets#2102

Open
Mbeaulne wants to merge 1 commit intomasterfrom
04-16-v2_editor_focus_mode
Open

Add keyboard shortcuts for layout presets#2102
Mbeaulne wants to merge 1 commit intomasterfrom
04-16-v2_editor_focus_mode

Conversation

@Mbeaulne
Copy link
Copy Markdown
Collaborator

@Mbeaulne Mbeaulne commented Apr 17, 2026

Description

Enhanced the Windows menu and layout shortcuts with improved keyboard navigation and state management. Added keyboard shortcuts for layout presets (Cmd+Alt+1 for Default, Cmd+Alt+2 for Minimal, Cmd+Alt+3 for All) and displayed these shortcuts in the Windows menu dropdown. Improved the minimal layout toggle to remember and restore the previous window state when exiting minimal mode. Reordered view presets to place Minimal between Default and All for better logical grouping.

Related Issue and Pull requests

Type of Change

  • Bug fix
  • New feature
  • Improvement
  • Cleanup/Refactor
  • Breaking change
  • Documentation update

Checklist

  • I have tested this does not break current pipelines / runs functionality
  • I have tested the changes on staging

Screenshots (if applicable)

Test Instructions

  1. Open the Editor and access the Windows menu
  2. Verify that keyboard shortcuts are displayed next to Default, Minimal, and All layout options
  3. Test the keyboard shortcuts:
    • Press Cmd+Alt+1 to apply Default layout
    • Press Cmd+Alt+2 to toggle Minimal layout (should hide all panels)
    • Press Cmd+Alt+2 again to restore previous window state
    • Press Cmd+Alt+3 to show All windows
  4. Verify that the minimal layout toggle properly remembers and restores the previous window configuration

Additional Comments

The focus mode store now tracks which windows were visible before entering minimal mode, allowing for proper state restoration when toggling back. This provides a more intuitive user experience when quickly switching between focused and normal editing modes.

@Mbeaulne Mbeaulne marked this pull request as ready for review April 17, 2026 01:34
@github-actions
Copy link
Copy Markdown

🎩 Preview

A preview build has been created at: 04-16-v2_editor_focus_mode/5860826

@Mbeaulne Mbeaulne requested a review from a team as a code owner April 17, 2026 01:34
Copy link
Copy Markdown
Collaborator Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@Mbeaulne Mbeaulne changed the title V2 editor focus mode Add keyboard shortcuts for layout presets Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant