Skip to content

Scope desktop preview tabs by thread#266

Merged
BunsDev merged 1 commit intomainfrom
okcode/project-thread-preview-scope
Apr 5, 2026
Merged

Scope desktop preview tabs by thread#266
BunsDev merged 1 commit intomainfrom
okcode/project-thread-preview-scope

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 5, 2026

Summary

  • Scope desktop preview tab state per thread so each thread can retain its own active tab and view set.
  • Add a dedicated desktop:preview-activate-thread IPC flow and thread-aware tab creation/activation in the preload and main process.
  • Introduce LRU-based view eviction to cap total WebContentsView usage across threads and reduce resource pressure.
  • Tidy related branding and marketing UI details as part of the branch cleanup.

Testing

  • Not run (PR description only).
  • Expected validation: bun fmt
  • Expected validation: bun lint
  • Expected validation: bun typecheck

- Add IPC to activate a thread's preview set
- Keep preview tabs and WebContentsView state isolated per thread
- Pass thread IDs from the preview panel when opening tabs
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 5, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Apr 5, 2026 7:46am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 5, 2026 7:46am

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 5, 2026
@BunsDev BunsDev merged commit d63933e into main Apr 5, 2026
10 of 11 checks passed
@BunsDev BunsDev deleted the okcode/project-thread-preview-scope branch April 6, 2026 21:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 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