gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit6cf40dbd6cf40dbdrecords: mpackdb integrity check, shows uncheckedmre6cf40dbd/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

  • 6cf40dbdrecords: mpackdb integrity check, shows uncheckedmre
  • 1880f42arecords: day38 deploy may swap normallymre
  • 9d806e35records: mpackdb freeze until day38mre
  • a660239drecords: day37 lacks #277, wait for day38mre
  • b0abfdeaLOG: Anton hybriel#277 fix ready for day37mre
  • 7b5b2918Tracker: hybriel#277 fix comes in day37mre
  • 7ddbeec8Tracker: RV28c blocked on day35 regressionmre
  • bf401884Tracker: RV28c startedmre
  • 0ff4ecd4Tracker: RV28c briefmre
  • 06565b1fRecords: day35 relay note, tickets subscription idmre
  • c6dc3e86RV28b: switch to set day35mre
  • 24e401b8Tracker: TR7 watch cleanmre
  • b0412957Tracker: RV28b handed overmre
  • 456940c8Tracker: RULINGS pathmre
  • b87a8fdcTracker: worldapi-conductor paths backmre
  • 641f3b54Tracker: Apollo answermre
  • 8b3cbddaTracker: status, TR7 fix livemre
  • ec30162aTracker: TR7 fix livemre
  • 54cbec80compose: ignore SIGPIPE (TR7 crash loop, exit 141)mre
  • 3e164b63Tracker: status after CL1mre