jukebox
All repositories: gitoria
4.6 KB
# 022 — virtual-list resetKey (components#27) + jukebox#6, then #5 as far as the cap allows, up to the PRTASK (NOT HIS; Apollo GO 2026-11-24): "take over the new virtual-list reset from components#27 (Atlas): your old scroll-to-top call never reached the list." Also jukebox#6 and jukebox#5 (audit findings by Atlas 2026-10-26). Read them in full:`curl -s -A Jukebox -H 'Accept: text/markdown' https://tickets.worldapi.org/api/projects/jukebox/tickets/<n>` for n = 6, 5, 20.## Part 1 — resetKey (first, most important)- Source: components repo /media/STORAGE/projects/WorldAPI/components.hybriel.worldapi.org, commit a06fc77 "Reset virtual-list window when the host changes resetKey" (README in components/virtual-list/README.md; test tests/virtual-list-reset.mjs). Copy it byte-verbatim with tools/sync-components.sh (virtual-list only; do not change media-player, which stays at 51c3818). Update components/SOURCE.- CAUTION: a06fc77 sits on top of 3aab598 (Atlas re-vendored Hybriel day73 there). Jukebox stays on day72, and day73 is withdrawn. Prove on day72 that a changed resetKey really resets the list. If it needs a day73 framework change (a setter that runs when the host changes a bound param, hybriel#301), STOP Part 1, report it, and do not build a workaround.- Jukebox use (jukebox#20): when the sort (or the list's id) changes, the host sets resetKey (for example to the sort value), and the list rebuilds its window and scrolls to the top. That replaces the old `emit vlTop()` / scroll-to-top call, which never reached the list; remove it. Screens: songs, albums, artists, artist, album (each VirtualList). Symptom before: blank rows after a sort change far down. A check counts only if it fails on the old code.- One commit per part, and the commit subject names the ticket.## Part 2 — jukebox#6 (class strings → rule references), then Part 3 — jukebox#5 (DOM access, timers)- #6: follow COMPONENTS.md section 4: elements named like their rule, or `Style.ruleName` chosen by a member for state variants (playing, open, on). No look change: compare screenshots before/after at 390x844 and 1280x800.- #5: only pieces that hl:web can do the documented way (HL-STANDARD F8, F9, F13, F15, F16, F20; on mount() #236, window/document events #430/#431). Any piece that needs something hl:web lacks: STOP that piece, note it as a gap with a minimal description, and no workaround. The keyboard is a known Hybriel gap; leave it. Stop after a finished piece when the cap comes.- No visible change he did not ask for (no moved or removed controls, no decoration).## Read first- /media/STORAGE/projects/WorldAPI/worldapi-conductor/archive/2026-10-31/WORKER-RULES.md in full, and /media/STORAGE/projects/WorldAPI/jukebox/PROCEDURES.md.- /media/STORAGE/projects/hybriel/docs/HL-STANDARD.md (Part B in full, L2, L10), docs/HL-PRIMER.md, /media/STORAGE/projects/hybriel/COMPONENTS.md section 4 (Style / rules) and the sections on component parameters. Copy working shapes from the docs. Put a DOCS line in the report.## Steps1. Worktree /media/STORAGE/claude-scratch/jukebox/R22/wt, branch reset-classes from origin/main (10f8a8c = Hybriel day72 + #4 + #7). bin/ = a copy of /media/STORAGE/claude-scratch/anton/set-day72 bin/ + lib/ (not in git, never a symlink).2. Gates BEFORE on 10f8a8c, then the parts, then gates AFTER: gate, ui, jb3, jb11, jb13, jb14, jb15, jb19, jb20, jb23, theme. They must be equal or better; any new check is listed. jb19 is known flaky: rerun it once.3. Chrome proof on lisbeth (PROCEDURES.md), 390x844, 800x1280 and 1280x800: Songs far down → change sort → top, no blank rows; tap plays; Next; the playing/open/on looks are unchanged. Give the final tab list.4. Push branch reset-classes. Exactly ONE commit subject starts with '|||PR ' (the last one). Report the PR number and STOP. Do not write LOG.md, STATUS.md or any records file.## Environment- Scratch /media/STORAGE/claude-scratch/jukebox/R22/. Ports: servers 8830–8834, Chrome HL_PORT_BASE=8635 (debug 8835–8839; stay within that where a test lets you) (another worker uses servers 8820–8824 and Chrome 8825–8829); check `ss -ltn` before each run. Every port is an env var; read each test file's head.- Never use ./storage, never send test traffic to :8700, never touch /media/SLOW1TB1/Musik. No ticket writes. Never push main. Never edit the components repo; ask me if it needs a change.- Budget: $2 hard cap, about 50 requests. Waiting = one background command.- Stop every process you started; list each one (name + PID).## Report (R22/REPORT.md + a final message of at most 12 lines)Commits per part, gates before/after, the new reset check (fails on old code?), screenshot comparison, gaps found, PR number, DOCS line, processes stopped.
Branches
Latest commits
- 43b564dbMerge branch 'records-1124b' into mainJukebox
- fa86b08c|||PR Records 2026-11-24: LOG, STATUS, missions 020-023mre
- 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