gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commitfd10c3d5fd10c3d5log: CB livemrefd10c3d5/reports/014-tracker-small-bugs.md

4.0 KB

  1. # w058 — tracker#22–#25 (mission 014 (old 058))
  2. **Commit**: `f14db67` on main in loreana:/media/STORAGE/projects/tracker.worldapi.org. Not pushed and not deployed. I did not touch tracker-wt26.
  3. ## What changed
  4. - **#22 air dates**: every episode row ends with its air date (`YYYY-MM-DD`). This works for rows rendered on the server and for rows of a season opened with `showSeasonEpisodes`.
  5. - **#23 season check**: the season check is now worked out from the episodes. It is checked exactly when all its episodes are watched, and it updates as soon as the face answers. Clicking a partly watched season watches the rest.
  6. - **#24 movie watched check**: a movie's page has `#moviewatch` with the label "Watched" / "Not watched".
  7. - It saves a watch with the new target type `'movie'` through the face `showToggleMovie`.
  8. - Signed out, a click opens the sign-in modal and saves nothing.
  9. - `/my/movies` shows "N movies · M watched" and a solid check on each watched movie.
  10. - **#25 genre pages**: `/genres/<genre>` and `/genres/<genre>/page/<n>` (`components/genre.hl`, using `catalog.hl` `index.genres`).
  11. - Movies and series are listed together, newest first, 24 per page, with adult titles hidden.
  12. - The genre pills on show pages link here, and the old `/genre/<x>` answers 301.
  13. - Files: `components/show.hl`, `components/mymovies.hl`, `components/genre.hl` (new), `catalog.hl`, `shows.hl`, `project.hl`, `styles.hl`, `watches.hl`, `tools/verify.hl`, `tests/browser.mjs`, `tests/seed-show.hl`, `tests/realdata-058.mjs` (new), `README.md`, `STATUS.md`.
  14. ## Gate
  15. `TRACKER_GATE_SHOTS=/tmp/w058/shots TRACKER_GATE_PORT=8720 TRACKER_GATE_IDENT_PORT=8721 TRACKER_GATE_CHROME=8722-8726 TRACKER_GATE_TMDB_PORT=8727 node tests/browser.mjs`
  16. → `238 passed, 0 failed` (was 214; 24 new checks).
  17. - #23 is tested in both directions, live and after a reload.
  18. - #24 is tested signed out (modal) and signed in, and the watch is still there after a reload.
  19. - One old check had to change. "An unwatched check is the inverted icon" now styles a detached copy of a check classed `regular`, because with #23 every check on that page is solid at that point.
  20. ## Real data
  21. Copy of Byrodin `storage/` taken 2026-10-01 12:03 UTC, server on :8730, signed in as the creator, `node tests/realdata-058.mjs`. Full page loads in ms, 3 runs each:
  22. | Page | 390 px | 1280 px |
  23. |---|---|---|
  24. | `/shows/Foundation` | 549 / 277 / 221 | 224 / 228 / 225 |
  25. | movie `/shows/Star-Trek-First-Contact` | 234 / 250 / 250 | 237 / 238 / 239 |
  26. | `/genres/Action` | 118 / 991 / 42 | 92 / 39 / 43 |
  27. | `/genres/Action/page/2` | 41 / 103 / 749 | 93 / 48 / 110 |
  28. | `/my/movies` | 66 / 63 / 66 | 68 / 63 / 63 |
  29. - `/genres/Action` has 643 titles on 27 pages. The server answers it in 6–8 ms (curl); the occasional ~1 s loads are probably the poster images loading.
  30. - On Foundation, the open season's 10 rows all show a date, and the top season's check matches its episodes.
  31. - Movie check on the copy: click took 361 ms, after a reload it was solid, I clicked it back, and after another reload it was not watched.
  32. - 0 console problems.
  33. - The copy is deleted and nothing of mine is still running on 8720–8731.
  34. ## Screenshots (looked at)
  35. - Gate: Loreana `/tmp/w058/shots/`, especially `show-open-*`, `movie-watched-*`, `genre-action-*`, `my-movies-*` and `movie-signed-out-modal-1280`.
  36. - Real data: Loreana `/tmp/w058/real/` (`show`, `movie`, `genre`, `genre-2`, `my-movies` at 390 and 1280) and `/tmp/w058/real-Drama/`, `/tmp/w058/real-Action-Adventure/`.
  37. ## Open points
  38. 1. **`/genres/Action` has no series on real data.** TMDB uses different genres for TV ("Action & Adventure", "Sci-Fi & Fantasy", "War & Politics") than for movies. So Action has only movies (page 1: 24 movies), Action-Adventure only series (0 movies / 24 series) and Drama both (5 movies / 19 series). Merging them is a question for the creator.
  39. 2. A series tile shows its start year but is placed by its newest episode, the same as on /shows.
  40. 3. A season click still writes the season's own watch record, but nothing reads it for the check any more, so it can disagree with the episodes.
  41. 4. Deploy is still to do.
  42. 5. No Hybriel issues found.

Branches

Latest commits

  • fd10c3d5log: CB livemre
  • 7557c025log: CB deploy try 2mre
  • 06a7534aMerge branch 'cb'mre
  • 2f8030d6log: CB gates greenmre
  • 498bf644log: CB gates startmre
  • f59c2847gc1: bound the five request caches (shows.hl cacheLimit)mre
  • 6ea2c6d6log: morning re-measure 11-04mre
  • 446290f0log: GC1 livemre
  • 8e6aa91dlog: GC1 deploy retrymre
  • 87ad2dc1log: GC1 deployingmre
  • 53f10fb8Merge branch 'gc1-deploy'mre
  • 7fcbf1d2log: GC1 deploy GOmre
  • 1fb6664bcompose: TRACKER_QSTATS=1 (GC1 measurement)mre
  • 6576c1cdgc1: release the people-view scan lists once the view is builtmre
  • 94f8a373gc1: back out the kept episode-id set (no measurable gain on /my/unwatched: 4.69 -> 4.61 GB per 150 loads)mre
  • a1a88bd4gc1: search skips the stale-key string while no entry is stale; /my/unwatched asks a kept id set instead of building a key string per episode rowmre
  • cd830744gc1: dbSearch: no split / map / list copy per candidate (scores from the stored text, top list touched only when the hit can enter)mre
  • 451db7cdgc1: show page and check clicks read the kept watched set instead of building one from a by-value copy of every watchmre
  • ddb4127egc1: TRACKER_QSTATS=1 logs queue and cache sizes every 10 s (measurement only)mre
  • da60547fstatus: GC1 done, backup bugmre