gitoria

jukebox

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commita01f3aa8a01f3aa8ui gate: back to the top before the sort checks (the screen reopens where it was left)mrea01f3aa8/missions/010-live-jb20.md

3.8 KB

  1. # 010 — jukebox#20 scroll memory: rebase branch jb20 onto main, prove it, put it live
  2. TASK (HIS words, 2026-11-03, verbatim): "when i reload the tab it would be nice if it remebered its scroll position in the list and centers the currently playing song."
  3. NOT HIS: only the scroll memory goes live now (branch jb20 decf1c2, worktree /media/STORAGE/claude-scratch/jukebox/R1/wt; read
  4. R1/REPORT.md). Centering is blocked (no page knows the playing song; jukebox#16 / hybriel#63). Do NOT take anything from jb20b
  5. (R2's `if (listOn)` remount: not to ship). The known blank rows after a sort change far down stay until Atlas's virtual-list
  6. resetKey (components#27); jb20's ui.mjs commit aa2ad28 works around that in the gate: keep it, but add one comment line in ui.mjs
  7. naming the open bug (components#27) so nobody reads it as fixed.
  8. ## Read first
  9. - /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full.
  10. - /media/STORAGE/projects/WorldAPI/jukebox/CONDUCTOR.md "Verification" and "Path to live"; missions/009-live-jb19.md (the live steps, same shape).
  11. ## Steps
  12. 1. New worktree /media/STORAGE/claude-scratch/jukebox/R3/wt, branch jb20r from main (9f36537 + record commits); cherry-pick
  13. jb20's commits (0510bd1 … decf1c2; fetch from R1/wt). Conflicts: icons STAY at main's pin 46fefaa (do not take e5b98ec's
  14. icons); virtual-list comes from components e5b98ec; tools/sync-components.sh, components/SOURCE and README carry both pins
  15. (media-player c96709c, icons 46fefaa, virtual-list e5b98ec). `tools/sync-components.sh --check` must be clean.
  16. bin/ = root's day35 bin (never commit a bin symlink). Commit (no attribution lines).
  17. 2. All gates, ports servers 8820–8829, Chrome HL_PORT_BASE=8630 (debug 8830–8839), check `ss -ltn` first:
  18. node tests/gate.mjs, ui.mjs, jb3.mjs, jb11.mjs, jb13.mjs, jb14.mjs, jb15.mjs, jb19.mjs, jb20.mjs, node theme/check-theme.mjs .
  19. (expected 120, 53, 50, 7, 10, 5, 33, 26, 9, 0; a single jb3 "songs heading" timeout is flaky, rerun once).
  20. 3. Proof in his Chrome on lisbeth :9223 (lock, one plain tab, json/list before/after, closed in finally), server on a test port with a
  21. COPY of ./storage: at 390×844 and 800×1280 scroll Songs far down, reload, same rows; play a song: the new bar (shuffle … repeat)
  22. is still there. Shots in R3/shots/; look at each. Delete the storage copy after.
  23. 4. Live, exactly as missions/009 steps 1–4 (ff-only merge of jb20r into the root main, push with the credential helper, ls-remote
  24. check, ONE background watch: 5 minutes with no ESTAB connection to :8700, at most 90 minutes; stop the old PID (expected
  25. 4157592, cwd = root) by PID, wait until gone, start with
  26. `cd /media/STORAGE/projects/WorldAPI/jukebox && env -u HL_COMPILER HL_HOST=0.0.0.0 JUKEBOX_WATCH=0 setsid nohup ./bin/hybriel project.hl > /media/STORAGE/claude-scratch/jukebox/R3/live.log 2>&1 &`,
  27. curl 200 within 3 minutes else roll back to the old main and restart; one live look at 390×844 and 1280×800: the song list
  28. shows; do not press play, shuffle, repeat or favourites, do not scroll the live list (that would store his offset).
  29. IMPORTANT: after the watch is CLEAR, continue in the same turn; do not end your turn while the watch runs.
  30. ## Environment
  31. - Scratch: /media/STORAGE/claude-scratch/jukebox/R3/. Never send anything to :8700 except the steps in 4.
  32. - DATA RULE: never open ./storage from a second process; tests use a copy.
  33. - Model Sonnet. Cap about 50 requests. Waiting = ONE blocking command (it may take up to 90 minutes; use a long timeout).
  34. - Stop every process you started except the new live server; list name + PID. Last: `for p in $(pgrep chrome); do readlink /proc/$p/cwd; done | grep R3` prints nothing.
  35. ## Report (R3/REPORT.md + final message at most 10 lines)
  36. Branch SHA, pins, gate numbers, shots and what you saw, old/new main, push check, connection samples, old/new PID, curl code,
  37. processes stopped, final json/list.

Branches

Latest commits

  • a01f3aa8ui gate: back to the top before the sort checks (the screen reopens where it was left)mre
  • f7936c20Lists keep their scroll position across a reload (jukebox#20): per-list offsets in storage/ui.json, gate jb20mre
  • d67906devirtual-list and icons from components.hybriel e5b98ec (centerId, scrollTop, onScroll)mre
  • df7920ceRecords: R3 startedmre
  • 0549f038Mission 010: jb20 livemre
  • 273494e2STATUS rewrittenmre
  • 227c9b96Records: jb19 livemre
  • 9f365376README: the bar's controls (jb19)mre
  • d18851fdjb19: pressed switches look different (whole selector), queue column cannot widen past the panel, gates follow the new bar (jb3, jb11, jb15)mre
  • 82b54c0ejb19: bar Shuffle · Previous · Play · Next · Repeat, no 10 s buttons; Shuffle switch (shuffle from the playing song, back to the list), Repeat off/all/one, both remembered in ui.json; Shuffle my favourites an ordinary button; gate tests/jb19.mjsmre
  • ba354710jb19: icons pinned to components.hybriel 46fefaa (shuffle, repeat, repeatOne, prevTrack, nextTrack)mre
  • d8e8d059jb19 step 2: media-player from components.hybriel c96709c (skip, repeat options; the end of a song only calls onPlay), sync-components.sh and SOURCE point to it, jb11 counts media loads and metadata writes (from jb21 d3a026e)mre
  • 7b048c1bRecords: jb19 done, L2 live stepmre
  • 665185aeMission 009: jb19 livemre
  • 47b2d3beRecords: P1 resumedmre
  • 8e326e94Records: resetKey blockedmre
  • f72dd7edRecords: icons comingmre
  • b264e5deRecords: P1 icons stopmre
  • 514d7cbeRecords: mission 008 startedmre
  • 61c40127Mission 008: #19 + #21mre