Keyboard never animates; Tab reaches the note in a few stops (#344, #349) #359

Closed
kayg wants to merge 1 commit from issue/344-keyboard-no-motion into dev
Owner

Fixes #344 and #349.

#344, keyboard never animates

  • One input-source signal in packages/ui/src/lib/inputSource.svelte.ts (data-last-input on the root). ui.lastInput reads from it.
  • After a key, every CSS transition is off (base.css): sidebar column, bar morph, bar sliding, Settings controls. Script motion (bar content swap, drawer slide and fade, backdrop shade) reads the same signal. Morph change is only the two duration: 0 returns; bar.css untouched (#287).
  • e2e keys-no-motion.spec.ts: no running animation right after Ctrl+, Ctrl+K, Ctrl+, Ctrl+. and list arrows (Chromium and WebKit; the same spec failed on those keys before the change).

#349, keyboard navigation

  • "Skip to the note" is the first Tab stop (shown only while focused, accent colours).
  • Places list and notes list are one Tab stop each (packages/ui/src/lib/roving.ts), arrows walk inside.
  • Note landmark labelled; splitter focus bar is 3px accent; Keyboard settings says Esc then Tab moves on.
  • e2e keys-tab.spec.ts: Tab reaches the note in at most 5 stops, one stop per list, accent ring on each stop, Esc then Tab leaves the text and Tab still nests list items (Chromium and WebKit).
  • Existing shortcuts.spec tooltip test relied on the idle tools still fading out after a second Esc; it now checks them while they are really shown.

Not done: search-results ring in the mockup (point 3 of #349), phone widths (320/390 screenshots; the skip link is a desktop thing, lists are unchanged on phone). tabs.spec "Notes keeps its editor" fails on clean dev too (?arrived=1), not from this PR.

🤖 Generated with Claude Code

Fixes #344 and #349. **#344, keyboard never animates** - One input-source signal in `packages/ui/src/lib/inputSource.svelte.ts` (`data-last-input` on the root). `ui.lastInput` reads from it. - After a key, every CSS transition is off (`base.css`): sidebar column, bar morph, bar sliding, Settings controls. Script motion (bar content swap, drawer slide and fade, backdrop shade) reads the same signal. Morph change is only the two `duration: 0` returns; `bar.css` untouched (#287). - e2e `keys-no-motion.spec.ts`: no running animation right after Ctrl+\, Ctrl+K, Ctrl+, Ctrl+. and list arrows (Chromium and WebKit; the same spec failed on those keys before the change). **#349, keyboard navigation** - "Skip to the note" is the first Tab stop (shown only while focused, accent colours). - Places list and notes list are one Tab stop each (`packages/ui/src/lib/roving.ts`), arrows walk inside. - Note landmark labelled; splitter focus bar is 3px accent; Keyboard settings says Esc then Tab moves on. - e2e `keys-tab.spec.ts`: Tab reaches the note in at most 5 stops, one stop per list, accent ring on each stop, Esc then Tab leaves the text and Tab still nests list items (Chromium and WebKit). - Existing `shortcuts.spec` tooltip test relied on the idle tools still fading out after a second Esc; it now checks them while they are really shown. Not done: search-results ring in the mockup (point 3 of #349), phone widths (320/390 screenshots; the skip link is a desktop thing, lists are unchanged on phone). `tabs.spec` "Notes keeps its editor" fails on clean dev too (`?arrived=1`), not from this PR. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Keyboard never animates; Tab reaches the note in a few stops (#344, #349)
Some checks failed
CI / server (pull_request) Successful in 28s
CI / rust (pull_request) Successful in 1m50s
CI / web (pull_request) Failing after 2m6s
e2651b7e42
One input-source signal in packages/ui (data-last-input) now switches off every CSS
transition after a key, and the script-driven motion (bar swap, drawer) reads it too.
Skip link, one Tab stop per list (roving focus), labelled note landmark, thicker splitter ring.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_018Yyy8fQGxPLkLa8v8NXz7T
Author
Owner

Superseded by #361 (typing-cost and test fixes). Closing.

Superseded by https://git.kayg.org/kayg/calternal/pulls/361 (typing-cost and test fixes). Closing.
kayg closed this pull request 2026-10-14 20:44:35 +00:00
Some checks failed
CI / server (pull_request) Successful in 28s
CI / rust (pull_request) Successful in 1m50s
CI / web (pull_request) Failing after 2m6s

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
kayg/calternal!359
No description provided.