tracker
All repositories: gitoria
3.0 KB
# Mission 001 (old 040) — tracker.worldapi.org#7: /my/showsTicket: https://tickets.worldapi.org/projects/tracker.worldapi.org/7 (read it: `curl -s -H 'Accept: text/markdown'https://tickets.worldapi.org/api/projects/tracker.worldapi.org/tickets/7`).Creator's words: "trackers /my/shows that just ists the shows in desc order i followed them, small poster, title, lastepisode like s08e35".## Build (in loreana:/media/STORAGE/projects/tracker.worldapi.org, over `ssh loreana` — fish shell, use `bash -s`)Read first: CONCEPT.md, README.md, STATUS.md (steps 1–6), components/unwatched.hl + schedule.hl + show.hl, follows.hl,shows.hl, watches.hl, styles.hl, tests/browser.mjs, tests/seed-show.hl. Build it the same way those pages are built —reuse the existing helpers, don't copy them.1. Route `/my/shows` → new component: every show the signed-in user follows, ordered by the follow's date, newest first.2. Each row: small poster (the same `/posters/…` route + placeholder the show page uses), the show title linking to`/shows/<slug>`, and the LAST WATCHED episode of that show as `S08E35` (two-digit, zero-padded; the highestseason/episode the user has watched; a show with nothing watched shows no episode — architect's decision, in theticket).3. Signed out: the same sign-in message as /unwatched. Styles in styles.hl with the existing tokens; no borders onbuttons (creator's rule: only inverted buttons have one).4. Gate: extend tests/browser.mjs (fixture in tests/seed-show.hl if needed): signed out message; signed in: order byfollow date desc, poster present, title link, the SxxEyy text of the last watched episode, a show without watchesshows none. Run: `TRACKER_GATE_PORT=8720 TRACKER_GATE_IDENT_PORT=8721 TRACKER_GATE_CHROME=8722-8726 node tests/browser.mjs`— ALL checks green (38 existing + yours).5. Performance check: the live data has 9,453 shows / 231,584 episodes / 11,692 watches. Make sure the page does not scanall episodes per request in a way that takes seconds — measure against a COPY of real data if the helpers arelinear (a copy exists nowhere on Loreana; skip if you can prove from the code that it only touches the user'sfollows/watches).6. Update README.md ("What it does (step 7)", Test, Files) and STATUS.md (new entry on top: what, decisions, the gateoutput).## Rules- Pure Hybriel. No hand-written JavaScript. No changes under plugins/ or bin/. login.js stays as is.- No git (the architect commits). Never read/print `.env`. Do NOT deploy; do NOT touch Byrodin or the live data.- Ports 8720–8739 only. Leave nothing running (check `ss -ltn` and no hl-browser-tier / hybriel processes).- Read /media/STORAGE/projects/antcolony-docs/docs/hybriel-for-app-workers.md (Hybriel pitfalls). Known: a componenthelper called from a server face or used by another member must be `static` (hybriel#115/#116).- If Hybriel blocks you: stop that part, describe the bug with a minimal repro in the report.## Report (your final message)Short: what you built (files), decisions, the exact gate command + its last output line, anything open, Hybriel issues.
Branches
Latest commits
- bfc4ea4dMerge branch 'ap62' into mainTracker
- 2c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker
- b9c7c3c8Merge branch 'records-dp74' into mainTracker
- 85cfb4ae|||PR records: AP61 day61, DP74 liveTracker
- b1496147Merge branch 'ap61' into mainTracker
- 2047955bMerge branch 'u12-gateports' into mainTracker
- c8da40f3|||PR AP61: re-vendor Hybriel set day61 (source a05af47c, bin a11042e5)Tracker
- 4e018678|||PR deploy.sh: gates use Tracker's ports 8716-8719 and LC_ALL=C; README: 2 backups keptTracker
- 0b86324aMerge branch 'records-dp73' into mainTracker
- 9ce5f59b|||PR records: DP73 live 613ae0e; deploy.sh keeps 2 backupsTracker
- 613ae0ecMerge branch 'bs3' into mainTracker
- 1383264b|||PR BS3: keep shared synchronous sorting fastTracker
- 63e5ba1a|||PR BS3: guard boot imports and share resumable sort buffersTracker
- 310613f1Merge branch 'records-dp72' into mainTracker
- 6f7b61ba|||PR records: deploy-swap fix live, Kunibert findingsTracker
- c41587d2Merge branch 'bs2' into mainTracker
- 0dd538a6|||PR BS2: finish the boot index in slices so a booting instance keeps answeringTracker
- 019d5cedMerge branch 'records-1110' into mainTracker
- f88ae8b9|||PR records: day56 toggle live, reviewTracker
- b6b3bb4dMerge branch 'ap56e' into mainTracker