Skip to content

Preserve thread route in desktop pop-out windows#401

Merged
BunsDev merged 1 commit into
mainfrom
okcode/popout-browser-multi-tab
Apr 10, 2026
Merged

Preserve thread route in desktop pop-out windows#401
BunsDev merged 1 commit into
mainfrom
okcode/popout-browser-multi-tab

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 10, 2026

Summary

  • Preserve the active renderer hash route when opening preview pop-out windows, so the same thread-scoped UI stays visible after detaching.
  • Track pop-out parent windows separately from the window that initiated the pop-out, which keeps nested pop-out actions anchored to the original preview.
  • Add renderer URL coverage for packaged and dev URLs with hash routes.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Added/updated unit tests in apps/desktop/src/rendererUrl.test.ts for packaged and development hash-route preservation.

- Keep pop-out windows tied to the original parent preview
- Preserve the active hash route when generating renderer URLs
- Add coverage for packaged and dev renderer URL handling
@github-actions github-actions Bot added size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 10, 2026
@BunsDev BunsDev merged commit 57c8455 into main Apr 10, 2026
8 of 9 checks passed
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 10, 2026 2:43pm
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 10, 2026 2:43pm

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:S vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant