gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit33ad4bd533ad4bd5Merge commit 'f57f64f'mre33ad4bd5/missions/001-tracker-my-shows.md

3.0 KB

  1. # Mission 001 (old 040) — tracker.worldapi.org#7: /my/shows
  2. Ticket: https://tickets.worldapi.org/projects/tracker.worldapi.org/7 (read it: `curl -s -H 'Accept: text/markdown'
  3. https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/7`).
  4. Creator's words: "trackers /my/shows that just ists the shows in desc order i followed them, small poster, title, last
  5. episode like s08e35".
  6. ## Build (in loreana:/media/STORAGE/projects/tracker.worldapi.org, over `ssh loreana` — fish shell, use `bash -s`)
  7. Read first: CONCEPT.md, README.md, STATUS.md (steps 1–6), components/unwatched.hl + schedule.hl + show.hl, follows.hl,
  8. shows.hl, watches.hl, styles.hl, tests/browser.mjs, tests/seed-show.hl. Build it the same way those pages are built —
  9. reuse the existing helpers, don't copy them.
  10. 1. Route `/my/shows` → new component: every show the signed-in user follows, ordered by the follow's date, newest first.
  11. 2. Each row: small poster (the same `/posters/…` route + placeholder the show page uses), the show title linking to
  12. `/shows/<slug>`, and the LAST WATCHED episode of that show as `S08E35` (two-digit, zero-padded; the highest
  13. season/episode the user has watched; a show with nothing watched shows no episode — architect's decision, in the
  14. ticket).
  15. 3. Signed out: the same sign-in message as /unwatched. Styles in styles.hl with the existing tokens; no borders on
  16. buttons (creator's rule: only inverted buttons have one).
  17. 4. Gate: extend tests/browser.mjs (fixture in tests/seed-show.hl if needed): signed out message; signed in: order by
  18. follow date desc, poster present, title link, the SxxEyy text of the last watched episode, a show without watches
  19. shows none. Run: `TRACKER_GATE_PORT=8720 TRACKER_GATE_IDENT_PORT=8721 TRACKER_GATE_CHROME=8722-8726 node tests/browser.mjs`
  20. — ALL checks green (38 existing + yours).
  21. 5. Performance check: the live data has 9,453 shows / 231,584 episodes / 11,692 watches. Make sure the page does not scan
  22. all episodes per request in a way that takes seconds — measure against a COPY of real data if the helpers are
  23. linear (a copy exists nowhere on Loreana; skip if you can prove from the code that it only touches the user's
  24. follows/watches).
  25. 6. Update README.md ("What it does (step 7)", Test, Files) and STATUS.md (new entry on top: what, decisions, the gate
  26. output).
  27. ## Rules
  28. - Pure Hybriel. No hand-written JavaScript. No changes under plugins/ or bin/. login.js stays as is.
  29. - No git (the architect commits). Never read/print `.env`. Do NOT deploy; do NOT touch Byrodin or the live data.
  30. - Ports 8720–8739 only. Leave nothing running (check `ss -ltn` and no hl-browser-tier / hybriel processes).
  31. - Read /media/STORAGE/projects/antcolony-docs/docs/hybriel-for-app-workers.md (Hybriel pitfalls). Known: a component
  32. helper called from a server face or used by another member must be `static` (hybriel#115/#116).
  33. - If Hybriel blocks you: stop that part, describe the bug with a minimal repro in the report.
  34. ## Report (your final message)
  35. Short: what you built (files), decisions, the exact gate command + its last output line, anything open, Hybriel issues.

Branches

Latest commits

  • 33ad4bd5Merge commit 'f57f64f'mre
  • 7d38cec4docker-compose: nofile 65536 (default soft 1024 refused boot: errno 24 in fs.listDir, Hybriel 528bc89f)mre
  • f57f64f0mission 046: report, LOGmre
  • 5965963adeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
  • efe1b485mission 046: re-vendor Hybriel master 60b2817b (integration 8, #203): plugins mpackdb + web (bin/ git-ignored: hybriel, libhlrt.a, hlc.o, hlrt/ from native/zig-out)mre
  • 53099ffbmission 046: person page reads a slim per-title credit row cache (no whole-record fetch per credit); gate tests/person-lookup.mjsmre
  • 9b3828aemission 046a: report, LOGmre
  • 4b37356emission 046: franchise seed supersedeCollections reads the curated timelines once (10 s one-tick block at the end of boot)mre
  • ac6268e3mission 046a: re-vendor Hybriel 528bc89f (integration 6): plugins mpackdb/time/web (bin/ git-ignored)mre
  • 322b3293mission 046: photoQueue guard for non-row fetch results (damaged persons index)mre
  • e5b99aecmission 046: photoQueue in slices (people.hl photoQueueStart/Step, jobs.hl photoTick), tests/photoqueue.hlmre
  • 31dcf2admission 045: report, LOGmre
  • 9c3971d0tests/persons-skip-count.hlmre
  • 4d72e365mission 045mre
  • b9cae4c9slices: skip and count non-row values from range(); merge persons pass falls back to iterate; guard testmre
  • 3db7dc31merge w44-jobs-slices into w43-trkmemmre
  • 593dab6fmission 043: report, LOGmre
  • 1a5a4818boot scans back to iterate (slices measured slower: titles 114 s, episodes 141 s, persons failed); lambda per rowmre
  • 03d29893boot scans read primary-key slices (lib/slices.hl from mission 044): iterate is eager too; people view log line back; allShows/allEpisodes stay for toolsmre
  • 23375c58mission 044: report, LOG, STATUSmre