Skip to content

Add mobile chat widget and cached diff syntax highlighting#330

Merged
BunsDev merged 1 commit into
mainfrom
okcode/chat-diff-syntax-highlight
Apr 7, 2026
Merged

Add mobile chat widget and cached diff syntax highlighting#330
BunsDev merged 1 commit into
mainfrom
okcode/chat-diff-syntax-highlight

Conversation

@BunsDev
Copy link
Copy Markdown
Member

@BunsDev BunsDev commented Apr 7, 2026

Summary

  • Adds a floating mobile chat widget with persisted minimized/expanded state and quick re-entry into the last thread.
  • Caches syntax-highlighted chat and diff code blocks to reduce repeated highlighting work and improve rendering performance.
  • Infers file diff languages more reliably so PR review diffs and inline chat diffs render with better highlighting.
  • Tightens preview overlay detection and adds safer fallback handling for code highlight failures.
  • Persists layout preferences and updates chat header controls to support minimizing the chat shell.

Testing

  • Added/updated unit coverage for file diff language inference in pr-review-utils.
  • Added/updated route and icon-related tests touched by the widget/layout changes.
  • Not run: bun fmt
  • Not run: bun lint
  • Not run: bun typecheck

- Factor shared highlighter cache and error boundary into reusable modules
- Highlight inline and PR diff blocks using inferred file languages
- Add tests for language inference and diff rendering helpers
@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 3:51am
v0-compute-the-platform-to-build Ready Ready Preview, Open in v0 Apr 7, 2026 3:51am

@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 722a1d1 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