Skip to content

Split static/js/playback.js into six files (#17) - #18

Merged
mouldybread merged 1 commit into
mainfrom
issue-17-split-playback
Nov 28, 2026
Merged

mouldybread merged 1 commit into
mainfrom
issue-17-split-playback

Conversation

@mouldybread

Copy link
Copy Markdown
Owner

Closes #17. Move-only split of static/js/playback.js (426 lines, 30,577 bytes) into six files. No behavior change.

Files, in load order (between timeline-geometry.js and timeline-camera-filter.js):

  • playback-state.js (lines 1-50, 3,575 bytes)
  • playback-camera-date.js (51-112, 4,950)
  • playback-timeline-load.js (113-159, 3,407)
  • playback-canvas.js (160-245, 6,424)
  • playback-seek-session.js (246-368, 7,457)
  • playback-video-controls.js (369-426, 4,764)

The init call stays at the end of the last file. Shared bindings are still top-level let/const in a classic script.

Changed only loader/path wiring: templates/index.html, the Go test and eight Node tests. All assertions are kept. Docs and historical notes are untouched.

Verified:

  • The six parts rejoin to the original blob (8332f0d5) byte for byte.
  • node --check passes on each file.
  • Nine Node suites run individually in UTC and America/Chicago: all pass.
  • go test ./... passes on Linux (Go 1.27.4, Node v26.13.1) at c1f6c79.
  • All six files read back in full through the GitHub connector; local and GitHub blob SHAs match.

Not verified: browser checks from docs/CHECKPOINT_CI.md (need the run-checkpoint-ci label).

The branch also contains no emoji change. Emoji restoration is a separate follow-up on fix/playback-emoji-icons.

@mouldybread mouldybread added the run-checkpoint-ci Explicitly request full checkpoint verification label Nov 28, 2026
@mouldybread
mouldybread merged commit 24f5d8b into main Nov 28, 2026
8 checks passed
@mouldybread
mouldybread deleted the issue-17-split-playback branch November 28, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

run-checkpoint-ci Explicitly request full checkpoint verification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Split static/js/playback.js into smaller files

1 participant