Skip to content

feat: Monkeytype-style gliding caret with continuous word flow - #23

Merged
narze merged 1 commit into
mainfrom
claude/inspiring-einstein-bcpwl8
Jun 13, 2026
Merged

feat: Monkeytype-style gliding caret with continuous word flow#23
narze merged 1 commit into
mainfrom
claude/inspiring-einstein-bcpwl8

Conversation

@narze

@narze narze commented Jun 13, 2026

Copy link
Copy Markdown
Member

Replace the single-word FocusLens with a TypingFlow component that renders the whole drill as a wrapping paragraph, and draw a single absolutely positioned caret that glides between characters (measured transform + CSS transition) instead of jumping inline.

  • Caret is solid while typing and blinks again after ~1s idle.
  • New persisted caretStyle setting: line / block / underline / off, with a control in the settings panel.
  • Remove the now-redundant "show adjacent words" setting (every word is always visible in the flow); reuse its slot for the caret style.
  • 3-line windowed scroll follows the active line for longer drills.
  • prefers-reduced-motion still collapses the glide and blink to instant.

Per-word input model and stats are unchanged; this is a presentation-only rewrite. Coverage: TypingFlow cell states, committed/upcoming colouring, Thai cluster integrity, caret shapes, and a post-mount measurement check.

https://claude.ai/code/session_01S4KZHE24V1onqrcZEnDP28

Replace the single-word FocusLens with a TypingFlow component that renders
the whole drill as a wrapping paragraph, and draw a single absolutely
positioned caret that glides between characters (measured transform +
CSS transition) instead of jumping inline.

- Caret is solid while typing and blinks again after ~1s idle.
- New persisted caretStyle setting: line / block / underline / off, with a
  control in the settings panel.
- Remove the now-redundant "show adjacent words" setting (every word is
  always visible in the flow); reuse its slot for the caret style.
- 3-line windowed scroll follows the active line for longer drills.
- prefers-reduced-motion still collapses the glide and blink to instant.

Per-word input model and stats are unchanged; this is a presentation-only
rewrite. Coverage: TypingFlow cell states, committed/upcoming colouring,
Thai cluster integrity, caret shapes, and a post-mount measurement check.

https://claude.ai/code/session_01S4KZHE24V1onqrcZEnDP28
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
learn-manoonchai Ready Ready Preview, Comment Jun 13, 2026 8:34am

Request Review

@narze
narze merged commit 0300040 into main Jun 13, 2026
3 checks passed
@narze
narze deleted the claude/inspiring-einstein-bcpwl8 branch June 13, 2026 08:43
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.

2 participants