Skip to content

fix(app): register open project and new worktree shortcuts in new layout#37830

Open
ProdigyRahul wants to merge 5 commits into
anomalyco:devfrom
ProdigyRahul:open-project-shortcut
Open

fix(app): register open project and new worktree shortcuts in new layout#37830
ProdigyRahul wants to merge 5 commits into
anomalyco:devfrom
ProdigyRahul:open-project-shortcut

Conversation

@ProdigyRahul

@ProdigyRahul ProdigyRahul commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Issue for this PR

Closes #37829

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

registers two shortcuts that only existed in the legacy layout, so they work again in the new layout.

cmd+o (project.open) opens the folder picker. it was registered only in the legacy layout, so the new layout had nothing to trigger. this adds it to the new layout titlebar next to the other global commands.

cmd+shift+w (workspace.new) starts a new worktree. the new session composer already defers worktree creation to submit, so this registers the shortcut on the draft page to set the workspace selection to create and refocus the input. it is gated on the workspace bar being available (git project), matching the legacy command.

How did you verify your code works?

ran the desktop app on the new layout, pressed cmd+o to confirm the native folder picker opens and the chosen folder starts a new session, and pressed cmd+shift+w on a git project draft to confirm the workspace selector switches to new worktree. typecheck passes on app.

Screenshots / recordings

Before:

After:

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@ProdigyRahul ProdigyRahul changed the title fix(app): register open project shortcut in new layout fix(app): register open project and new worktree shortcuts in new layout Jul 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

cmd+o does not open the folder picker in the new layout

1 participant