gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit0d6293eb0d6293ebmission 043: mission filemre0d6293eb/reports/040-theme.md

5.3 KB

  1. # Report 040 — tracker onto the layouts theme 76f99f6 (worker K4) — PARTIAL (quota stop at 91 %)
  2. ## Done (branch w40-theme, not pushed/deployed)
  3. - `theme/` (all of it), `components/modal.hl`, `components/pagination.hl`, `shared/tokens.hl` re-copied byte-identical from layouts.worldapi.org 76f99f6
  4. (`diff -rq theme ../layouts…/theme` empty; modal also equals components.hybriel's).
  5. - `components/tilelist.hl`: the pager-box click listener (tracker#38 workaround) is gone; the new pagination hands the target page to
  6. `onPage = goPage` (`navigate(to == 1 ? basePath : basePath + '/page/' + to)`).
  7. - 44 px tap decisions (`components/styles.hl`): ident-toggle 2.5→2.75rem; `button.checkicon` 2→2.75rem box (icon stays 22 px); `button.mv` 2.4→2.75rem;
  8. pager buttons: the 1.8rem/2.2rem min-width overrides removed (theme 44 px; row may wrap to a 2nd line at 390, gap .1rem kept);
  9. follow, showall, season-toggle, sortbtn, chip, franchises-head a.button, add: keep their padding but now get the theme's 2.75rem
  10. min-height/width (taller, same look) — the desktop (≥ 60rem) theme drops buttons to 2.25rem. Not yet looked at in screenshots.
  11. - Menu marker: tracker keeps its own (heading type → colour, styles.hl `:has()`); the theme's `current` needs a path/`current=true`, which a
  12. tracker shell cannot know per page → left as is (open point).
  13. - check-theme: `node theme/check-theme.mjs .` = 0 problems on the new tree (91 files, with `.check-theme-ignore` for the two copied components,
  14. whose `.6rem/.4rem` radii are the shared copies'); it was already a deploy.sh gate (nothing to hook).
  15. - `tests/e2e-theme.mjs` + `tests/mobile-measure.js` (from notes): real-click E2E in lisbeth's Chrome on a seeded tracker (seed-pager), 390 + 1280: audit of
  16. 10 pages (home movies series shows people genres find franchises settings show), menu, pager walk (2 Next Previous 11 1), sign-in modal (open, Close, Escape). `node --check` ok, NOT RUN yet.
  17. ## Gates
  18. - OLD fb80bb8 (worktree K4/old): browser 382 passed / 0 failed; kinds 32 / 0; franchises, pager, franchiseseed not finished (killed at quota stop).
  19. - NEW: not run yet.
  20. ## Not done / exact next step
  21. 1. Gates on NEW: `cd K4/wt; /media/STORAGE/claude-scratch/atlas/K4/gates.sh $PWD new` (ports 8741–8747; log gates-new.log, gate-new-*.log), and the old
  22. franchises/pager/franchiseseed: same script on K4/old (edit its `for g in` list). Check `uptime` < 25 first. Expect pager 229/0 on new.
  23. 2. E2E: `ssh -f -N -L 8749:127.0.0.1:9223 lisbeth` and `-R 8748:127.0.0.1:8748`, then under
  24. `timeout 600 flock /media/STORAGE/claude-scratch/atlas/lisbeth.lock node tests/e2e-theme.mjs new 8748 8749 /media/STORAGE/claude-scratch/atlas-evidence/K4/e2e`
  25. and the same with the old tree (copy e2e-theme.mjs + mobile-measure.js into K4/old) as label `old`. Look at the PNGs (esp. pager row at 390, chips/sort buttons, header toggle).
  26. 3. Real data copy (U2 tgz, 4 GB) was NOT extracted — only seeded stores used so far; optional once a slot is free.
  27. 4. Update README (modal/pagination "copied verbatim" text, tilelist onPage), docs/usage.md tracker row, LOG.md, STATUS.md; then final commit.
  28. Evidence dir: /media/STORAGE/claude-scratch/atlas-evidence/K4/ (shots-old/ from the old browser gate). Nothing of K4 runs/listens now (checked ss, ports 8741–8749/8760–8764 clear).
  29. ## Continuation (worker K5, 2026-10-21)
  30. **Gates** (same script, ports 8741–8747; final run after the last CSS change):
  31. | gate | OLD fb80bb8 | NEW w40-theme |
  32. |---|---|---|
  33. | browser | 382 / 0 | 382 / 0 |
  34. | kinds | 32 / 0 | 32 / 0 |
  35. | franchises | 53 / 0 | 53 / 0 |
  36. | pager | 229 / 0 | 229 / 0 |
  37. | franchiseseed | 26 / 0 | 26 / 0 |
  38. | check-theme | — | 91 files, 0 problems |
  39. The first NEW browser run had 2 failures: one a load flake (rerun), one REAL: the 44 px check button made episode rows 12 px taller than the
  40. tracker#17 skeleton rows → `skeletonCheck` got `margin .375rem 0` (disc stays 32 px, row = 44 px). Rerun 382/0.
  41. **CSS fixes found by the E2E** (components/styles.hl): `a.type-word` (heading link: inline-flex, min-height 2.75rem), `a.genre-link` and `.genre-pill` min-height 2.75rem.
  42. **E2E** (tests/e2e-theme.mjs, lisbeth's Chrome via CDP 9223, one tab, flock lock, 390 then 1280): NEW 69 passed / 0 failed; OLD 58 passed / 11 failed
  43. (all taps < 44: header toggles 40 px, brand, pager buttons 36 px, modal Close/Sign in 38 px) — so the checks do fail on old code. Test fixes: /find redirects
  44. → audit /search/Pager; settings page text < 20 chars; `goto` also waits for the app's origin (lisbeth's tab started on another site with pathname "/");
  45. the pager's "…" (an inert filler) is exempt in mobile-measure.js. Pager walk (2, Next, Previous, 11, 1) real clicks OK at 390 and 1280, no sideways scroll,
  46. same document. Pager at 390: 44 px buttons, no sideways scroll (wrapping not measured separately).
  47. **Shots**: /media/STORAGE/claude-scratch/atlas-evidence/K5/e2e/{new,old}-{390,1280}-*.png (+ shots-new/, shots-old/ from the browser gate). I have no image viewer
  48. in this worker: the PNGs were NOT looked at — only DOM measures. Someone should open new-390-movies.png (pager row), new-390-menu-open.png, new-1280-home.png.
  49. **Docs**: README modal/pagination text updated; layouts `docs/usage.md` tracker row updated (UNCOMMITTED in the layouts main checkout).
  50. **Open**: own current marker kept until hybriel#197; real-data copy not used; shots not eyeballed; pager row wrap at 390 unmeasured.

Branches

Latest commits

  • 0d6293ebmission 043: mission filemre
  • 55bbd619boot: one streamed pass per table (lib/bootscan.hl) instead of find(null,null) per module; follows/watches/franchises scans streammre
  • 1d465d3ere-vendor plugins to Hybriel master f9614007 (mpackdb #202 copy fix, libmpackdb sha 6fb3b9d6)mre
  • 6648ba44mission 042: real-browser E2E on ce6f2e0a re-vendor 69/0 at 390 + 1280mre
  • 3ed3a0efmission 042: gates old/new equal (browser #41 route-table regex accepts unescaped hl:web output), real-data TTFB, E2E blocked by lisbeth lockmre
  • d5b61e90LOG 042mre
  • 4acdbaccmission 042: memory comparison old vs ce6f2e0a (stopped: warm VmHWM higher), reportmre
  • d0f620d6mission 042: re-vendor Hybriel ce6f2e0a (plugins incl. mpackdb; bin runtime built from the same archive, git-ignored), compact=false keptmre
  • 5bd14e12mission 040: theme 76f99f6 gates + E2E green; 44 px fixes (skeleton row, type-word, genre-link/pill); README, reportmre
  • 77cfa45cmission 040: partial report (theme/modal/pagination re-copied, tilelist onPage, 44 px taps; gates new + E2E pending)mre
  • 4b14822fe2e-theme: menu marker by colourmre
  • 09780f4emission 040 WIP: theme, modal, pagination, tokens re-copied from layouts 76f99f6; tilelist uses onPage; tap sizes 44 px for tracker's own small buttons; tests/e2e-theme.mjsmre
  • fb80bb8chotfix: open the 5 show stores without compaction (compact = false) — compact-on-open left another handle on stale offsets, every read gave a bare Number (hybriel mpackdb refresh after a shrink); live down 2026-10-20 05:11mre
  • e00d3bf7paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • a8c7f234tracker#36 (mission 039): tools/tmdb-check.hl survives a dropped connection (on Error, asked again, failed lines) and resumes with --from N; tests/tmdbcheck.mjs 6/6 against a fake TMDBmre
  • 9c230516mission brief w39mre
  • 3609121dmission 038 docs + report (quota stop): README/kinds.md for #43 #42 #36, STATUS, LOG; HEAD browser gate 374/8 in the in-app daily run block (hour-boundary suspected, rerun pending), other gates green; #36 real run needs TMDB_READ_TOKENmre
  • a5d06e79tracker#36 (mission 038): tools/tmdb-check.hl + lib/tmdbcheck.hl — every live migrated title's migrated title + year against its TMDB entry (one GET /movie|tv/<id>?append_to_response=alternative_titles, 260 ms apart, passing failures asked once more): ok / ambiguous (one of title, year disagrees) / clear (both, or 404); read-only; token only from TMDB_READ_TOKEN; --stored = a title-only preview from the TMDB names already stored (no request). Tested against a fake TMDB (.scratch/w38/t36): 7 titles, 3 ok, 2 ambiguous, 2 clear, data unchangedmre
  • 982554f3tracker#42 (mission 038): series pages — an unknown slug no longer scans every title (lib/shows.hl showBySlug: the slug map only; new titles are noted by refreshTitleCaches, which both title puts already reach): 10.7–15.7 s → 0.013 s on the real copy (the one-request-at-a-time server was blocked meanwhile); cast/crew rows take name + slug from a person-link cache (personLinkOf) instead of whole person records (SNL: 303 cast with 4,761 credits, ~49k allocations per render) — allocations per series page −5…−40 %; HTML of 20 pages identical to beforemre
  • 4586b6e3docker-compose: init: true (hybriel#156)mre