Skip to content

Palette: Add keyboard shortcuts & mnemonics to Project Export UI - #127

Open
Zee2401 wants to merge 4 commits into
developmentfrom
jules-export-project-ui-keyboard-navigation-15814890924639844272
Open

Palette: Add keyboard shortcuts & mnemonics to Project Export UI#127
Zee2401 wants to merge 4 commits into
developmentfrom
jules-export-project-ui-keyboard-navigation-15814890924639844272

Conversation

@Zee2401

@Zee2401 Zee2401 commented Aug 24, 2026

Copy link
Copy Markdown
Owner

🎨 Palette: Keyboard Navigation & Protocol Handling for Project Export UI

💡 What

  • Added mnemonics (underline=0) for the "Save" (Alt+S) and "Cancel" (Alt+C) action buttons in scripts/o3de/o3de/ui/export_project.py.
  • Bound window-scoped keyboard shortcuts (<Alt-s>, <Alt-S>, <Alt-c>, <Alt-C>, <Escape>) to their respective handlers (on_ok and on_cancel).
  • Added WM_DELETE_WINDOW protocol binding to cleanly invoke on_cancel when the user closes the dialog via window manager decorations (e.g. clicking 'X' or pressing Alt+F4).
  • Added unit tests in scripts/o3de/tests/test_export_project_ui.py to headlessly verify binding behavior.

🎯 Why

Improves keyboard accessibility and window interaction UX for desktop users of the Project Export settings tool.

♿ Accessibility

Provides full keyboard-only navigation for saving and canceling project export settings as well as standard modal dialog dismissal via Escape or window close.


PR created automatically by Jules for task 15814890924639844272 started by @Zee2401

- Added mnemonics to Save (Alt+S) and Cancel (Alt+C) buttons via underline=0.
- Bound Alt+S, Alt+C, and Escape key events to action handlers on MainWindow.
- Configured WM_DELETE_WINDOW protocol to handle window manager close actions cleanly.
- Added headless unit test coverage for MainWindow keyboard bindings.

Co-authored-by: Zee2401 <210601625+Zee2401@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@coderabbitai

coderabbitai Bot commented Aug 24, 2026

Copy link
Copy Markdown

Important

  • 🔍 Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: d0d0b5f0-62e2-4838-bb51-c1acb6ead4ed


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

google-labs-jules Bot and others added 3 commits August 24, 2026 22:51
- Added mnemonics to Save (Alt+S) and Cancel (Alt+C) buttons via underline=0.
- Bound Alt+S, Alt+C, and Escape key events to action handlers on MainWindow.
- Configured WM_DELETE_WINDOW protocol to handle window manager close actions cleanly.
- Added headless unit test coverage for MainWindow keyboard bindings.

Co-authored-by: Zee2401 <210601625+Zee2401@users.noreply.github.com>
- Added mnemonics to Save (Alt+S) and Cancel (Alt+C) buttons via underline=0.
- Bound Alt+S, Alt+C, and Escape key events to action handlers on MainWindow.
- Configured WM_DELETE_WINDOW protocol to handle window manager close actions cleanly.
- Added headless unit test coverage for MainWindow keyboard bindings.

Co-authored-by: Zee2401 <210601625+Zee2401@users.noreply.github.com>
- Added mnemonics to Save (Alt+S) and Cancel (Alt+C) buttons via underline=0.
- Bound Alt+S, Alt+C, and Escape key events to action handlers on MainWindow.
- Configured WM_DELETE_WINDOW protocol to handle window manager close actions cleanly.
- Added headless unit test coverage for MainWindow keyboard bindings.

Co-authored-by: Zee2401 <210601625+Zee2401@users.noreply.github.com>
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