Skip to content

feat(scout): interactive scrollbar polish + markdown preview toggle#183

Merged
arach merged 1 commit into
mainfrom
feat/in-app-session-initiation
Jun 3, 2026
Merged

feat(scout): interactive scrollbar polish + markdown preview toggle#183
arach merged 1 commit into
mainfrom
feat/in-app-session-initiation

Conversation

@arach
Copy link
Copy Markdown
Owner

@arach arach commented Jun 3, 2026

Summary

Two focused Scout file-viewer / chrome improvements (follow-on to #180).

  • Scrollbar is now clearly interactive. The HUD scroller knob brightens (0.40→0.66) and fattens (7→10pt) on hover via a tracking area, with a slightly wider hit lane (12→13pt) — it reads as a grabbable control instead of decoration. The tracking area also confirms the scroller receives mouse events.
  • Markdown preview toggle. .md/.mdx files in the embedded file viewer now open as a rendered Preview (reusing the app's markdown renderer; relative links resolve to the file's own folder) with a Preview ⇄ Source segmented control to flip to raw highlighted source.
  • Exposed ScoutMarkdownView so the viewer can reuse the app's renderer.

Test

  • Hover a scroll area's bar → knob fattens/brightens; drag to scroll.
  • Open a .md file link in a chat → renders as Preview; toggle to Source.

🤖 Generated with Claude Code

- HUD scroller knob brightens and fattens on hover (via tracking area)
  with a slightly wider hit lane, so it reads as a grabbable control
  rather than decoration
- file viewer: markdown opens as rendered Preview with a Preview <-> Source
  segmented toggle; relative links resolve to the file's own folder
- expose ScoutMarkdownView so the viewer can reuse the app's renderer
@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 3, 2026

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

Project Deployment Actions Updated (UTC)
openscout Ready Ready Preview, Comment Jun 3, 2026 3:24am

@arach arach merged commit dcb1d84 into main Jun 3, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant