Skip to content

Arrow keys go to the next dot or the one before - #50

Merged
ashrawan merged 31 commits into
mainfrom
claude/project-thread-a9lcvq
Nov 28, 2026
Merged

ashrawan merged 31 commits into
mainfrom
claude/project-thread-a9lcvq

Conversation

@ashrawan

Copy link
Copy Markdown
Owner

What this changes

When play is paused, the left and right arrow keys glide to the previous or next entry on the time line at the foot. They stop with that entry's dot right under the marker. If you press again before it arrives, it counts from where the last press was heading.

Why

This was asked for in Nov 2026: "The arrow keys should actually move to the next dot... back, then move to the previous dot. Exactly." Before, a paused arrow moved a fixed short distance, so the marker stopped between dots. This commit was pushed just after #48 merged, so it missed that merge.

Kind

  • New entry
  • Correction to an entry
  • New view
  • Image or icon
  • The page (site/)
  • Scripts, rules, tests or docs

Sources

  • None (no dates changed).

Screenshots

No change to how the page looks, only to where the arrows take you. Checked with Playwright on /wiki/japan at 1440 px: 0 → 1 → 2 → 3, back to 2, then 3 → 4. Each press landed on its dot to within about 1 px.

Checklist

  • node scripts/build.mjs --check prints 0 errors
  • node --test passes (138)
  • An AI assistant helped make this change

Generated by Claude Code

…, the page plays it

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
…th the editors' key

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
…tore, resumable, on several computers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
… with several runs side by side

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
… voice there (Make it your own to change it)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
…with a short pause; music under the voice quieter

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
…stands on the dot of the entry in front

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
…goes on

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
…s a month

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
…ears on the year pill

The time line at the foot wrote years in the bar's four characters (660B, 14G for 13.8 billion years
ago); it now writes them as the rest of the page does (660 BCE, 13.8B years ago), with room kept so a
year never runs into the next name, on the page and in the film. The year pill named the room the road
leaves before the first entry (801 BCE for Japan, whose first entry is 660 BCE); it now names the
entries' own first and last years.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
The strip placed entries by their left edge with a guessed shift, so the marker stood about 7 px
before the dot, and before play it stood short of the first. Entries are now placed by the middle of
their dot as measured, the marker stands on the first dot before play, rests on a card's dot while the
camera rests there (and play waits for the line), and glides to the next dot only while the camera
moves. The marker also follows the strip when the bar on the left steps away for play. The film's
marker starts on the first dot too.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
Paused, an arrow key moved the reader a fixed short way, so the marker landed between dots. It now
glides to the next entry, or back to the one before, and stops with its dot under the marker; presses
made on the way count from where the last was going.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MCuMSjEB5X8rPj3mTFiKDZ
@netlify

netlify Bot commented Nov 28, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for ubiquitous-smakager-593fec ready!

Name Link
🔨 Latest commit eed4119
🔍 Latest deploy log https://app.netlify.com/projects/ubiquitous-smakager-593fec/deploys/6b0a87b3a2c6ae40f9175c02
😎 Deploy Preview https://deploy-preview-50--ubiquitous-smakager-593fec.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ashrawan
ashrawan merged commit 735c8a0 into main Nov 28, 2026
5 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.

2 participants