Skip to content

Add pinned preview tabs to desktop preview#302

Merged
BunsDev merged 1 commit intomainfrom
okcode/pin-browser-preview-tabs
Apr 6, 2026
Merged

Add pinned preview tabs to desktop preview#302
BunsDev merged 1 commit intomainfrom
okcode/pin-browser-preview-tabs

Conversation

@BunsDev
Copy link
Copy Markdown
Contributor

@BunsDev BunsDev commented Apr 6, 2026

Summary

  • Add pinned tab state to the desktop preview model and IPC bridge.
  • Support pin/unpin actions from the web preview panel and prevent pinned tabs from being closed directly.
  • Sort pinned tabs ahead of unpinned tabs while keeping their relative order stable.
  • Cover pinning, ordering, and close-protection behavior with desktop controller tests.

Testing

  • bun fmt
  • bun lint
  • bun typecheck
  • Not run: bun run test

- Add IPC and bridge support for pinning preview tabs
- Keep pinned tabs ordered first and prevent direct close
- Update preview UI to show pin and unpin controls
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 6, 2026

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

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

@github-actions github-actions bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:M labels Apr 6, 2026
@BunsDev BunsDev merged commit 9f60573 into main Apr 6, 2026
10 of 11 checks passed
@BunsDev BunsDev deleted the okcode/pin-browser-preview-tabs 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:M 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