Skip to content

fix(app): handle desktop deep links in new layout#35223

Open
anduimagui wants to merge 9 commits into
anomalyco:devfrom
anduimagui:desktop-deeplink
Open

fix(app): handle desktop deep links in new layout#35223
anduimagui wants to merge 9 commits into
anomalyco:devfrom
anduimagui:desktop-deeplink

Conversation

@anduimagui

@anduimagui anduimagui commented Jul 3, 2026

Copy link
Copy Markdown

Issue for this PR

Closes #35225

Type of change

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

What does this PR do?

Desktop opencode://open-project?... and opencode://new-session?... links reached Electron, but the redesigned app layout did not consume them because the deep-link listener only lived in the legacy layout.

This PR:

  • adds deep-link handling to the redesigned layout
  • supports opening and selecting a project from open-project links
  • supports optional session navigation for open-project links
  • creates a new draft session for new-session links
  • extracts the redesigned layout deep-link wiring into useDesktopDeepLinks so layout-new.tsx stays focused on layout shell concerns

How did you verify your code works?

  • bun typecheck from packages/app
  • Pre-push hook: bun turbo typecheck

Screenshots / recordings

Not included.

Checklist

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

@github-actions github-actions Bot added needs:issue needs:compliance This means the issue will auto-close after 2 hours. labels Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions github-actions Bot removed needs:compliance This means the issue will auto-close after 2 hours. needs:issue labels Jul 3, 2026
@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@anduimagui anduimagui changed the title fix(app): open project deep links in new layout fix(app): handle desktop deep links in new layout Jul 9, 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.

bug(app): open-project deep links do not select project in new layout

1 participant