jukebox
All repositories: gitoria
3.4 KB
# 018 — jukebox#16: the list marks the song that plays after Previous / NextHIS WORDS (2026-10-30, the task): "jukebox when you click the prev or next song button the active list item does not get updated -- HOW DO SUCH THINGS HAPPEN WHEN THEY ARE PROPERLY TESTED - DUMB FUCKING ASSHOLES!!!"Ticket: `curl -s -A Jukebox -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/jukebox/tickets/16`NOT HIS (conductor's context): the earlier attempt JB16 stopped at a framework gap (report: `git show jb16:reports/JB16.md`; red gatetests/jb16.mjs on branch jb16, commit a5e1576 — 21 of 29 checks failed on the old code). Cause: each screen keeps its own `playingId`, set only by a tap;Previous, Next and a song's end change main.hl's `nowId` and never reach the screen; a screen opened while a song plays starts with no mark.Since set day63 (hybriel#63, live on day72) a page's `$parent` is the shell that wraps it (HL-STANDARD F16: in handlers only, never in the View or an initializer).Also the case of a song ending by itself (auto-advance) and a screen opened later must mark the playing song.## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full; /media/STORAGE/projects/WorldAPI/jukebox/PROCEDURES.md.- /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (F15, F16, F18, F20), docs/HL-PRIMER.md, COMPONENTS.md §5 (parents/slots, around line 140–180) and the $parent section. Copy a working shape from the docs or hybriel tests/fixtures. DOCS line in the report.- Find the framework's way for the SHELL to tell the page in its slot which song plays now (and for a page to read it when it opens). If the docs give none, STOP: write a minimal repro under your scratch dir and report it (the conductor sends it to Arachne). No workaround (F20). A server push of the playing id via `emit client` is NOT acceptable without the conductor's OK.## Steps1. Worktree /media/STORAGE/claude-scratch/jukebox/J16/wt, branch jb16b from origin branch day72 (head 33072bb, = day72 + jukebox#4; not yet on main). bin/ = copy of /media/STORAGE/claude-scratch/anton/set-day72 bin/ + lib/ (not in git).2. Bring tests/jb16.mjs from branch jb16 (a5e1576), fit it to the current code, show it FAILS on 33072bb. Commit.3. Fix in the framework's way (smallest change; every list identifies the song by its id). Commit.4. Gates: jb16 + gate, ui, jb3, jb13, jb23, theme (ports in your range). Then proof in his Chrome on lisbeth (PROCEDURES.md) at 390x844 and 1280x800:tap a song in Songs, press Next, Previous: the marked row follows; open Album/Artist/Search while a song plays: the playing song is marked if it is in the list. Look at every shot.5. Push branch jb16b with ONE commit subject starting with '|||PR ' (only one, or Gitoria opens two PRs). Base: it will be rebased onto main after PR #9 merges; say so in the report. STOP.## Environment- Scratch /media/STORAGE/claude-scratch/jukebox/J16/. Ports: servers 8824–8829, Chrome HL_PORT_BASE=8630 (8830–8839). Check `ss -ltn`.Never ./storage (use a copy), never test traffic to :8700. No ticket writes. Never push main.- Budget: $2.5 hard cap, about 60 requests. Waiting = one background command. At the cap: commit, report, end.- Stop every process you started; list name + PID. Final tab list in the report.## Report (J16/REPORT.md + final message at most 12 lines)The mechanism used (doc section), jb16 old/new numbers, gate numbers, shots + final tab list, PR number, DOCS line, processes stopped.
Branches
Latest commits
- 0a2ae3daMerge remote-tracking branch 'origin/records-1123' into records-1124mre
- 9a48cfcaMerge branch 'vendor-theme' into mainJukebox
- 170d3735Merge branch 'code-order-2' into mainJukebox
- 3f1918a7|||PR Re-sync layouts theme 4099e64 with Segoe UI firstmre
- 2e7f6a43Vendor virtual-list 489afcf from components.hybrielmre
- 0ba85799Merge branch 'reset-classes' into mainJukebox
- 502eeed5jukebox#20: vendor virtual-list initial resetKey baseline fixmre
- 6d5ce287|||PR jukebox#9 Centralize songs table reads and writes in db.hlmre
- dcca21abjukebox#8 Move copies and queue logic into their topicsmre
- 3b76651cjukebox#20: update virtual-list README pin and resetKey optionsmre
- bc09e1e8|||PR jukebox#20: reset virtual lists through resetKey (partial validation)mre
- a3796dc5Records: live step waits for idlemre
- 3b158e16Records: merges of #9 and #11mre
- 27204167Merge main into records-1123mre
- 10f8a8c8Merge branch 'code-order' into mainJukebox
- 204fc828Merge branch 'day72' into mainJukebox
- 8e8d0e2b|||PR Records: PROCEDURES.md, missions 016-019, GO 2026-11-23mre
- 95f5faae|||PR jukebox#7 Drop needless let declarationsmre
- 33072bb5|||PR Record day72 gates and Chrome proofmre
- 95f2cd73|||PR Use typed parent methods for screen playback and local server facesmre