Skip to content

Add demo GIF to README with browser-open status feedback#57

Merged
snrsw merged 2 commits into
mainfrom
add-demo-gif
Mar 7, 2026
Merged

Add demo GIF to README with browser-open status feedback#57
snrsw merged 2 commits into
mainfrom
add-demo-gif

Conversation

@snrsw

@snrsw snrsw commented Mar 7, 2026

Copy link
Copy Markdown
Owner

✨ Add demo GIF to README with browser-open status feedback

The README had no visual demo, making it hard for potential users to quickly understand what the TUI looks like. Recording a clean GIF also revealed a UX gap: pressing enter opened the browser silently with no in-terminal feedback. Both problems are solved together here.

Changes

  • internal/ui/ui.go — add statusMsg string field to Model; on enter, set it to "→ Opening <url> in browser…" and schedule a clearStatusMsg via tea.Tick after 2 seconds, replacing the help line temporarily
  • internal/ui/styles.go — add StatusStyle (GitHub blue) for the status message
  • demo/demo.tape — VHS tape covering gh own --demo (PR tabs, enter, filter) and gh own issue --demo (issue tabs, enter)
  • demo/demo.gif — recorded GIF generated from the tape
  • README.md — embed demo/demo.gif below the description
  • flake.nix — add vhs to devShell for reproducible recording

Test plan

  • go build ./... passes
  • go test ./... passes
  • Status message appears in GitHub blue when enter is pressed and clears after 2 seconds
  • Help line returns normally after the status clears
  • GIF renders correctly in README preview

🤖 Generated with Claude Code

snrsw and others added 2 commits March 7, 2026 20:17
Display "→ Opening <url> in browser…" in the help line for 2 seconds
when enter is pressed, giving visible feedback in the terminal.
Adds demo/demo.tape for VHS recording and demo/demo.gif to README.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@snrsw snrsw merged commit 7018bff into main Mar 7, 2026
2 checks passed
@snrsw snrsw deleted the add-demo-gif branch March 7, 2026 11:23
@github-actions github-actions Bot mentioned this pull request Mar 7, 2026
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