tracker
All repositories: gitoria
3.8 KB
# Report 031 — the WorldAPI theme + tracker#32 header/menu (w088, 2026-10-04)Commits on main: 39950e4 (code + gates), 9b5d2e8 (README/STATUS/LOG). NOT deployed, not pushed.**Theme**: `theme/` copied verbatim from layouts.worldapi.org 85b5654 (`diff -r` clean), `shared/tokens.hl` byte-equal.`components/styles.hl` = `inherit '../theme/theme.hl'` + accent green-dark + type colours (1 Movie yellow, 2 Series green, 3 Showpurple, 4 Genre blue, 5 Person orange, 6 Franchise) + only the tracker's own rules. Removed: own base/header/button rules, everyrow line, the timeline/widget lines, the genre-pill frame (now genre blue on a surface) and the inverted button's frame (signed-outFollow, Add: accent on a surface). Kept: the season foldable's line (`// functional:`). Main actions `class="primary"` (themebuttons are quiet). `node theme/check-theme.mjs .` **21 → 0**, now deploy.sh's 4th gate (`.check-theme-ignore`: the copiedpagination + modal, whose frames the theme removes).**#32 header** (`components/main.hl`, theme AppHeader/MainMenu/UserMenu/Sidebar/ContentFirst), mobile first:- desktop: brand · search field (centred between brand and menu) · Series | Shows | Movies | Genres | People · user icon far right,flush with the content column; dropdown: Unwatched, Schedule, My series, My shows, My movies, **Settings, Logout**.- signed out: the ident selector in the icon's place (desktop inline); phone: the **ident icon** (svg: small i + big D lying onthe floor, lower face = 3-D thickness) opens a dropdown with the selector + "or log in at ident" (login-button flow kept).- phone: ☰ (sidebar overlay with the main menu; a link closes it) · brand · loupe (field under the bar, focused) · icon far right.- the marked entry: the shell gets no path from hl:web → styles.hl marks the type the page heading names (`:has`), no aria-current.- the header field sends GET `/find?q=` → 302 `/search/<q>` (pages can't read query strings).- the menu needed pages: **/genres** (A–Z with counts), **/people** (letters → `/people/<letter>` A–Z photo tiles, 24/page, from thesearch index, sorted per letter on first visit: 0.27–0.5 s once), **/settings** (nothing to set yet; links to ident).**Found an hl:web bug** (worked around): the theme doc's `ContentFirst { Sidebar {…} main { slot } }` inside a `parent` shell puts thepage slot marker mid-line; `WebFramework.hl document()` takes the text before it as indent → the page HTML repeated the sidebar ~50×and hydration failed (claim errors). Now `Sidebar` + `main { ContentFirst { slot } }`. Worth a Hybriel ticket + a note inlayouts.worldapi.org's docs.**Gates**: browser **365/0** (new: header at 320/390/1280 signed out + in, ident dropdown + Esc, sidebar + client nav + marking,loupe focus + Enter → /search/gate, /find redirects, user dropdown items/position/flush, Settings, /genres, /people, Logout viadropdown; old header checks replaced), kinds 32/0, franchises 52/0 (logout via dropdown), check-theme 0.**Real copy** (live storage, tree without .env, jobs off): /, Picard, First Contact, Patrick Stewart, /my/series, /my/unwatched,/genres, /people/p, /settings, /search at 390 + 1280, signed out + in, + header states — header 52 px, no sideways scroll, 0 consoleproblems; LOOKED at all (`.scratch/w088/shots-final/`, before: `shots-base/`). **Load**: interleaved A/B vs a386dc9 (10 loads,median to hydrated): +4…+16 ms per page (13 pages: 790 → 866 ms); server +3–5 ms on small pages; big pages same or faster. Cause:5 more component modules (theme/shell/*) + 19 KB more page seed (their blueprints) — the theme's cost, not reducible in the app.So load is **slightly worse (~10 %)**, not equal.**Open / for the architect**: the load cost above; hl:web slot bug (ticket); aria-current on the marked menu entry; what /people and/settings should really be (minimal stand-ins now); the phone's horizontal tile rows now show the theme's scrollbar colour.
Branches
Latest commits
- b8bba562CL1: crash loop report (SIGPIPE confirmed, trap wrapper option)mre
- 298785f2Tracker: CL1 startedmre
- 36b22710Tracker: port slot, CL1 briefmre
- a401190fTracker: GO for the crash loopmre
- e195d372Tracker: token pathsmre
- 7f541d11Tracker conductor: CONDUCTOR.md, short STATUS.md, old status + decisions archive to archive/2026-10-31mre
- 8dd423f7README: login.js stays by caramboleyo's explicit rulemre
- d8df1493tracker: standby service on port 45018 and a gap-free hand-over in deploy.sh step 4mre
- 36dd1686ident#31: the selector's sign-in returns to the page the user started on (return attribute = the login callback with next), gate checkmre
- ff9b838etracker: the Ended status pill uses the same red as layouts (pill danger); gate updatedmre
- 40d9719eTP2: LOG line and report for the tracker pillsmre
- ab3f2ba5tracker: status, genres, TMDB/IMDb/TVDB/TVmaze links and list kinds use the theme's pill; dense season list with the season check centred on its title line; gates for bothmre
- 521061d6tracker header on phones: signed in, the brand fits whole at 360 and 390 px (tighter gaps and side paddings, slightly smaller brand, narrow screens and signed in only); mobile gate checks itmre
- 18114a53tracker: franchises gate waits for the signed-out selector instead of the removed Log in buttonmre
- 08561d73ident selector back in the header (creator 2026-10-24): selector top right signed in and out on phone and desktop, no second Log in button, new gate checks (WIP: gates not re-run after the last edits)mre
- 59ef1e4atests/browser: repair 'done' check counts the 404 titles the first run already finished (race: failed=1 when Bulk Film 79 ran before the restart)mre
- 5925fc4dreports/MK-mobile.md: rebase update, gate countsmre
- 6adbc7f0extlink badges: background-clip after the background shorthand (it reset the clip: the pills were 44 px tall); gates check the lookmre
- 8d3b0f20widget: the franchise link's 44 px tap area no longer overlaps the Prequel/Sequel rowmre
- 1d98dcfdbrowser gate: the badges' size check reads the padding box (the 44 px tap area is transparent border)mre