Skip to content

Promote code viewer to a full-page overlay#23

Merged
BunsDev merged 1 commit intomainfrom
okcode/internal-code-viewer
Mar 27, 2026
Merged

Promote code viewer to a full-page overlay#23
BunsDev merged 1 commit intomainfrom
okcode/internal-code-viewer

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Mar 27, 2026

Summary

  • Reworked the code viewer into a full-page overlay instead of a right sidebar, with a dedicated header, close control, and centered content area.
  • Added code-selection context capture in the viewer so Cmd/Ctrl+L inserts @file:Lx-Ly mentions into the composer.
  • Simplified the chat header action by replacing the editor picker with a code viewer toggle.
  • Updated viewer state to track open/close state and pending context, and removed the old inline sheet/sidebar flow.
  • Trimmed and reorganized the release runbook content.

Testing

  • Not run.
  • bun fmt
  • bun lint
  • bun typecheck

- Replace the inline viewer shell with a full-page overlay
- Let Cmd+L / Ctrl+L add selected code context back into the composer
- Simplify the Open In control to toggle the code viewer
@vercel
Copy link
Copy Markdown

vercel Bot commented Mar 27, 2026

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

Project Deployment Actions Updated (UTC)
okcode-marketing Ready Ready Preview Mar 27, 2026 10:22pm

@BunsDev BunsDev merged commit e7ddb24 into main Mar 27, 2026
7 of 8 checks passed
@github-actions github-actions Bot added the vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. label Mar 27, 2026
@BunsDev BunsDev deleted the okcode/internal-code-viewer branch March 28, 2026 05:25
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