Skip to content

Open terminal file links in the code viewer#332

Merged
BunsDev merged 1 commit into
mainfrom
okcode/terminal-click-file-viewer
Apr 7, 2026
Merged

Open terminal file links in the code viewer#332
BunsDev merged 1 commit into
mainfrom
okcode/terminal-click-file-viewer

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 7, 2026

Summary

  • Route terminal file-link clicks into the in-app code viewer instead of the external editor when possible.
  • Prefetch the terminal drawer from the header to reduce the perceived cost of opening it.
  • Improve terminal history replay so output is restored on the next animation frame during terminal reattachment.
  • Add coverage for openFileReference to verify code-viewer opening behavior.

Testing

  • Not run

- route terminal path clicks through the in-app file viewer
- prefetch the terminal drawer on hover and focus
- defer terminal history replay to the next animation frame
@vercel
Copy link
Copy Markdown

vercel Bot commented Apr 7, 2026

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

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

@github-actions github-actions Bot added size:L vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Apr 7, 2026
@BunsDev BunsDev merged commit 451669c into main Apr 7, 2026
10 of 11 checks passed
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