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
Latest commits
- fe209ffeMerge branch 'w56-owner-members' into mainGitoria
- fa0754c8|||PR repository owner transfer and members API (#55)mre
- 8862e537Merge branch 'w55-rename-org' into mainGitoria
- 014d2b7fOne immutable readers snapshot per move for the left-organization event (#53)mre
- 1859d506Decide who hears a repo left its organization by its readers before the move (#53)mre
- 499f25f2Review fixes for the Settings organization move (#53)mre
- ed3b922b|||PR move a repository into an organization in Settings (#53)mre
- 74ec2af8Merge branch 'w54-repo-rename-pr' into mainGitoria
- 9f7ce8d8Preserve rename compatibility and live page titlesmre
- c3d95b6e|||PR separate names and addresses, rename repositories in Settings (#53)mre
- ce08920dMerge branch 'w52c-header-phone' into mainGitoria
- 0bab9e46|||PR header: ident status wraps on phones instead of clippingmre
- e7af3eceMerge branch 'w52b-approval-followup' into mainGitoria
- c01e66c6|||PR approvals follow-up: live Merge after status writes, helpers (#52)mre
- 841da497Merge branch 'w53-pulls-speed-pr' into mainGitoria
- 80307ae2|||PR pulls page cache: live PR numbers, complete scans onlymre
- 69141f65|||PR pulls page: cache the git part per repo by branch tipsmre
- 155861f6Merge branch 'w52-person-approval' into mainGitoria
- b5435de8|||PR person approvals: second Kunibert round (#52)mre
- 3a8b2fb8|||PR person approvals: Kunibert review fixes (#52)mre