gitoria
All repositories: gitoria
6.4 KB
# gitoria mission 007 — new layouts theme (44 px taps) copied, gitoria's redundant overrides dropped — DONE (not deployed, not pushed)Worker R2 (Sonnet), Atlas, 2026-10-20. Branch `w25-theme-taps` from 1884364 (= live). Brief: missions/007-theme-taps.md.## What changed- `theme/` re-copied verbatim from layouts.worldapi.org **dbe3de7** (Atlas switched the source from 1875a05 to dbe3de7 mid-mission; `diff -r` against layouts' theme/ empty,`shared/tokens.hl` still byte-equal). Previous copy: layouts 3d4f8e1.- `components/styles.hl` (old lines 21–37) → two lines: a comment and `html ident-menu > button.ident-toggle { width/height 2.75rem }` (gitoria's own component, kept). Removed(the theme sets them): `html button/.button minHeight`, the width/height of `application-header > button`, `user-menu > button`, `app-sidebar > button.sidebar-close`, the brand`lineHeight`, `input/select minHeight`, `input/select/textarea fontSize`, the `main-menu a / user-menu > nav a / user-menu > nav button` rule.- Opt-in classes: `path-crumbs` (code browser) now also has `class="crumbs"` (components/codebrowser.hl). gitoria's other link rows (`latest-commit > a`, `#ticketlist li > a`,`#pulllist .branches a`, `#releaselist .subject`, `repo-nav a`, `code-side li > a`, `dd > a`) keep their own rules: they add `minWidth` / flex layout the theme classes do not, and themarkup is generated from components that would need a class each — left as is (still 44 px; the gate proves it). The ident-toggle margin stays −.5rem (the 32 px icon, not a 24 px glyph).- `tests/e2e-real.mjs` (new, a test not a gate): the walk in lisbeth's real Chrome (below).## Consequence you may want to knowDesktop (≥ 60rem) is now denser BY THE THEME'S DESIGN: buttons 2.25rem (36 px), the header "Repositories" link 38 px, "Tickets: connect" 36 px at 1280 (8 of 25 audits list such a target;gitoria had forced 44 px everywhere). At 390 nothing is under 44. To keep 44 on desktop gitoria would need its old `html button { minHeight: 2.75rem }` back — not done (theme's decision).## Gates (LC_ALL=C, ports 8732–8741, one at a time)| gate | old 1884364 | new (dbe3de7 theme) ||---|---|---|| check-theme | 0 | 0 (47 files) || browser.mjs | 221/0 | run 1 **221/0**, run 2 220/1 (MainMenu TypeError), run 3 **221/0** || push.mjs | 46/0 | 46/0 || ssh.mjs | 44/0 | 44/0 |Before dbe3de7 (theme 1875a05, same styles) two more runs: one crashed "conflict message Clashing change" 30 s timeout while my real-browser walk ran at the same time (load; not repeated),one 220/1 with the same MainMenu TypeError (below). The "phone first" gate block (15 pages + 3 dropdowns at 390: scrollWidth ≤ 390, taps ≥ 44, fields ≥ 16 px, text ≥ 14 px, header ≤ 52, codeinside) passes on the new code — that is the 390 audit before/after (old live: 0, new: 0; it already existed, the old theme had gitoria's own overrides doing the work, the new theme does it itself).## Real browser (lisbeth Chrome, ONE existing tab, never created/closed; `ssh -R 8742,8743` for gitoria + ident, `-L 8744 → 9223` for CDP; both tunnels killed)`tests/e2e-real.mjs`: own ident + gitoria on throw-away stores, the page at `http://gitoria.localhost:8742` (loopback in Chrome). Real clicks: sign in (login button → choose identity → name),create repo `alpha` through the form, files pushed into its bare repo, then at 390 (mobile + touch) and 1280: home, readme, code folder, file, commit, pulls, settings, ☰ sidebar, user menu(signed out: ident menu), audit by tests/mobile-measure.js. 25 audits per run, 3 runs each old / new:- 390: old 0 / new 0 taps < 44, 0 wider than 390 (scrollWidth 390), 0 inputs < 16 px, 0 code boxes past the edge; header 52 px both.- 1280: scrollWidth 1280 both; new: 8 audits with a target under 44 (the dense desktop, above); old 0.- console errors (tunnel network noise filtered): 0 in all 6 final runs. (An earlier old-code run in the real browser DID show the MainMenu TypeError — see below.)Shots (PNG, 390 and 1280, `old-*` before / `new-*` after, + `*-results.json`): /media/STORAGE/claude-scratch/atlas/R2/shots/. I cannot view PNGs: numbers count, no eyesight claim.Note for others: the tab must be in front for real input (a background tab gets no mouse events: my first runs failed on that); the script activates its tab and gives the front back to the layouts tab. Another worker'swalk used the same Chrome at the same time during one run — parallel users of this Chrome disturb each other.## The intermittent MainMenu TypeError — seen, NOT fixed`TypeError: _71 is not a function or its return value is not iterable (main-menu.hl:17:13)` at `MainMenu.build ← MainMenu.__derive__ ← hlCallMember ← Client.moved ← Client.repaintAll ← Client.repaint ← … Client.patch`(a server patch re-deriving the shell, not the first render). Occurrences:- gate, new code: 2 of 5 browser runs (1 in 3 with theme dbe3de7, 1 with 1875a05; also in mission 005's run 1). ALWAYS the same page: **C2**, the second signed-in tab of the cross-tab flip test(`hybriel#43`, browser.mjs ~1005–1025): `alpha.gitoria.test/code` open in a tab, the session is changed by ANOTHER tab (login through ident's selector, then Log out), the server pushes thelogged-in ↔ out patch to C2 and C2's MainMenu re-derives. It is the only page that gets a patch while it is alive; every other page's gate sees none. Logged in or out: the flip is in progress,the error is printed once per run (the gate checks console errors at the end, so which of the two flips (in or out) cannot be told from the gate; the test passes its own checks either way).- real browser, OLD code (1884364, live theme): 1 of the first real runs showed the same TypeError (page not recorded then, because my marker was cleared by navigation); the 3 later old runs (no cross-tab flip inthat walk) and the 3 new runs: 0.Not load-only: it also happened in 1 of 3 gate runs on an otherwise idle machine. Suspicion (unchanged from 005, unproven): MainMenu's `items = menu` re-evaluated in the browser on a patch where gitoria's`static menu` (uses an env static) is not iterable there. Repro to hand to Hybriel: the C2 flip block alone (login in tab C, logout in tab C, watch C2's console).## Left running / cleanupNothing of mine runs or listens (ss/pgrep checked); my ssh tunnels (PIDs 244486, 1183272) are killed; the other ssh/ports in `pgrep` (9323/9325, 8731) belong to other workers. Throw-away stores deleted; the temp old worktree removed.
Branches
- f1-broken-json
- f2-api-bugs
- gp-gate-ports
- heap-revert
- hl25-records
- ident-chooser-selector
- mainmain branch
- p51-public-pr-reads
- records-1112
- s25-no-session-on-login-error
- v59
- w52-person-approval
- w52b-approval-followup
- w52c-header-phone
- w53-pulls-speed-pr
- w54-repo-rename-pr
- w55-rename-org
- w56-owner-members
- w62-pr-close
- w63-force-push
Latest commits
- cd99d2feWIP gitoria#22: always render the repo level's slot (missing-repo boot hang), pages render nothing without a repo; hydration diagnosis in reports/G2-hydrate.mdmre
- e5404b9breport: commit idsmre
- 63cfa21ereports/G2-repotabs.mdmre
- 9b0516fdgitoria#22: mark the tab underline functional (check-theme), chain E2E: serve/measure split, bring the lisbeth tab to frontmre
- 19bc1df8gitoria#22: all repo pages under ONE layout level (components/repo.hl, hl:web D-CHAIN): a tab click replaces only the page in the slot; head and tab nav stay the same DOM nodesmre
- 40658417tests/browser.mjs: wait for the page to be live (hydrated) before clicking Merge — a click on the server-rendered button before the client mounted was lost (flaky 'Clashing change' under load)mre
- 48a6154bre-vendor Hybriel 5406d146 (hl:web batches 9+10: #72 emits while the socket is closed delivered after reconnect, browser boot linear, faster list appends; contains int 6–14 + m406)mre
- e972e8d7tests: short-id-switch (GITORIA_SWITCH_IDENT_PORT/_PORT) and ssh tunnel (GITORIA_GATE_TUNNEL_PORT) ports from env, defaults unchangedmre
- f06f5349re-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
- c7d3cc87docker-compose: nofile 65536 (Hybriel int 6+ boot opened >1024 files in the tracker)mre
- f0e7ff8cdeploy: backup copies index files first and *.mpack data last (hot-copy skew, hybriel #203)mre
- fe5f707cgitoria 010: report, mission, comment on why current = true staysmre
- 9705ca86gitoria 010: gate: menu marker in the server HTMLmre
- 8cff663agitoria 010: main-menu.hl from layouts 0bcc629 (route marker)mre
- 359c79f7gitoria 010: re-vendor Hybriel master f9614007 (plugins whole, bin/ git-ignored)mre
- 6bd7fb3cgitoria 009: theme re-copied from layouts 76f99f6 (menu marks the current page), current = true on the menu item, e2e marker checks, reportmre
- 44de915cidentkit: refuse a taken ident port, cold-start deadline, abort on dead ident, clear no-code error (as notes)mre
- 2bf5343egitoria 007: theme re-copied from layouts dbe3de7 (44 px taps), redundant tap overrides dropped, crumbs class, real-browser walk test, reportmre
- 18843648deploy.sh: a gate without a 'passed,' line (check-theme) no longer ends the script silently (grep under pipefail) — print check-theme's summary, as layouts doesmre
- e6dff0cbgitoria#23: report 005, STATUS, LOGmre