gitoria

tracker

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2c95ac462c95ac46|||PR AP62: re-vendor Hybriel set day62 (source 70341ad2, bin a54f5f08)Tracker2c95ac46/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

  • 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
  • 29a26da9|||PR AP56e: guard hidden show helpers during session syncTracker