gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2d4be66f2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre2d4be66f/reports/019-tracker-unwatched-checks.md

3.7 KB

  1. # w063 — tracker#29: /my/unwatched checks look "active" (mission 019 (old 063))
  2. **Commit**: `fa1f9df` on main in loreana:/media/STORAGE/projects/tracker.worldapi.org. It is not pushed and not deployed. I did not touch tracker-wt26.
  3. ## Cause
  4. This is **not a code regression** of #23 / f14db67.
  5. - **Classes are right**: on the real-data copy, signed in as az5b2, all 1,287 checks on /my/unwatched have the class `checkicon regular`. Their computed fill is transparent, both on a fresh load and after a client-side navigation. The live CSS is the same as HEAD.
  6. - **The look was the problem**: the "inverted" unwatched check from #11 (outline circle with an outline check) was drawn in the **accent** colour. A whole page of those reads as ticked.
  7. - **Fix** (`styles.hl`): the unwatched circle and check are now **muted grey** (`colorTextMuted`, rgb(145,150,155)). They turn accent only under the pointer.
  8. - A watched check is unchanged: a solid accent disc with a dark check.
  9. - The #11 shape stays: it is not a bare empty circle, which the creator rejected in #11.
  10. ## Pages checked
  11. - **Same fix applies** (they share the same CSS): /my/unwatched, the show page's seasons and episodes, and the movie page.
  12. - **/my/schedule**: it has no checks.
  13. - **/my/movies**: only watched movies get a mark (#24). An unwatched movie has no mark, so there is no empty check on that page.
  14. ## Gate
  15. `mkdir -p /tmp/w063/shots; TRACKER_GATE_SHOTS=/tmp/w063/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. → `266 passed, 0 failed` (was 259).
  17. - **How a check is tested**: the new `checkLook(sel)` measures a real check on the page; the hidden-copy check is removed. It moves the pointer off the check, then reads the circle's computed fill and stroke, the check's stroke, and whether the check is the topmost element. It also takes the screenshot pixel inside the disc. Each check must then pass as `lookEmpty` or `lookSolid`.
  18. - **Where**:
  19. - /my/unwatched: both rows.
  20. - Show page: an unwatched episode and season, a watched episode, and the #23 mixed state.
  21. - Movie page: both states.
  22. - /my/movies: the watched mark.
  23. - **Negative test**: run against the old `styles.hl`, the gate fails exactly 4 of the new checks, all on the accent stroke.
  24. - **Pre-existing quirk**: the gate crashes if the `TRACKER_GATE_SHOTS` directory does not exist, so `mkdir` it first.
  25. ## Real data
  26. - **Copy**: I took Byrodin's `storage/` at about 19:30. The ssh from Loreana to Byrodin was refused, so I piped the tar from Byrodin into Loreana instead.
  27. - **Run**: server on :8730, `REAL_OUT=/tmp/w063/real node tests/realdata-063.mjs`.
  28. - **/my/unwatched**: 1,287 checks, all regular, muted and unfilled. Full load took 1,913 ms at 390 px and 1,050 ms at 1280 px.
  29. - **Other pages**: Foundation has 11 muted and 2 solid checks. The Star Trek: First Contact movie check is muted. /my/movies has no marks, because the creator has no watched movie.
  30. - **Click**: one click took the list from 1,287 to 1,286 rows in 1.5 s, and the row stayed gone after a reload. There were 0 console problems.
  31. - **Cleanup**: the copy, the sessions and the server are gone, and ports 8720–8731 are free.
  32. ## Screenshots (looked at)
  33. - **Real data**: Loreana `/tmp/w063/real/my-unwatched-390.png` and `my-unwatched-1280.png`, plus `show-*` and `my-movies-*`. The grey outline checks are clearly different from the solid accent discs on Foundation.
  34. - **Gate**: `/tmp/w063/shots/`.
  35. ## Open points
  36. 1. Deploy.
  37. 2. The ticket asks for "empty" checks. I kept #11's outline-with-check shape and made it grey instead of accent. If the creator wants a bare empty circle, that reverses their #11 note. It would be a one-line CSS change plus the `lookEmpty` gate check.
  38. 3. There were no Hybriel issues.

Branches

Latest commits

  • 2d4be66fre-vendor Hybriel 5df4eb7e (GC: HL_GC_TABLE_LOAD knob, mission 406)mre
  • 99e7c8b9tests: realdata-m035-radii, repro-t38, realdata-060-backfill ports from env (REAL_PORT, REAL_CHROME, REPRO_CHROME), defaults unchangedmre
  • 4625aa22re-vendor Hybriel 6f8a0689 (int 6–11: streaming cursors, #203 index heal + close() fix, fd403 listDir/cursor fds, hl:time browser side, hl:web batches 5+6)mre
  • a6dfd6ecdeploy: person-lookup gate (tracker#46)mre
  • 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