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
- 7cfc8ab5a season of more than 150 episodes starts closed on its title page; the phone gate checks itmre
- 59095c59tests/mobile.mjs: the phone gate (390 px touch, tap targets, /franchises paging)mre
- 105309detap targets: every row link, the TMDB/IMDb badges, the widget links, the franchise names and the login-failed link are 44 px high on a phonemre
- f0b86c8efranchises: 40 loose timelines per page (/franchises/page/N) and a merge sort for the names (1,546 timelines: 20 s and 54,000 px before)mre
- b9e841a7Merge branch 'sy-sync'mre
- d1ae2701sync components.hybriel 4922f9c: modal and pagination 44 px targets (vendored copies, verbatim) (SY)mre
- 043624b2theme: sync from layouts 4994037 (list rows stack, td word-keep, heading code, edited tap target)mre
- 05d89fd0deploy: security gate (tests/security.mjs)mre
- 2ae8a47bMerge branch 'sk-sec'mre
- 8fee5d52sessions last 99 years (creator 2026-10-23: logins never expire; only sign out ends them)mre
- 944ad51eSK: report reports/SK-sec.md, LOGsk
- 415487c1SK: import budget per user + id type check, gate checkssk
- 7b8a4f74security audit SK: nosniff + image sandbox headers, face id checks, adult follow, login budget + new session at login, guest-link budget, tests/security.mjssk
- f0f26c5areports: T18 section (gates, boot-gate, 3x3 table, search + short-id compare)mre
- 2a8682a1deploy.sh GATES: tests/warmstart.mjsmre
- 3761338breports/T17-boot.md: handoff (phase table, fix, numbers so far, open proof)mre
- 52e09eb2boot: sync window 1000 ms (the gates ask for a complete start), README boot-time sectionmre
- c87149e8tests/warmstart.mjs: the progressive start proven over HTTP (note in the window, 503 short id, after: everything); bootBeginmre
- 593a6350boot: resumable start-up scan, the server listens first (T17)mre
- be4890a0reports: H2 hydration audit (no test change needed)mre