gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit2bf5343e2bf5343egitoria 007: theme re-copied from layouts dbe3de7 (44 px taps), redundant tap overrides dropped, crumbs class, real-browser walk test, reportmre2bf5343e/reports/007-theme-taps.md

6.4 KB

  1. # gitoria mission 007 — new layouts theme (44 px taps) copied, gitoria's redundant overrides dropped — DONE (not deployed, not pushed)
  2. Worker R2 (Sonnet), Atlas, 2026-10-20. Branch `w25-theme-taps` from 1884364 (= live). Brief: missions/007-theme-taps.md.
  3. ## What changed
  4. - `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,
  5. `shared/tokens.hl` still byte-equal). Previous copy: layouts 3d4f8e1.
  6. - `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
  7. (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
  8. `lineHeight`, `input/select minHeight`, `input/select/textarea fontSize`, the `main-menu a / user-menu > nav a / user-menu > nav button` rule.
  9. - 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`,
  10. `#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 the
  11. markup 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).
  12. - `tests/e2e-real.mjs` (new, a test not a gate): the walk in lisbeth's real Chrome (below).
  13. ## Consequence you may want to know
  14. Desktop (≥ 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;
  15. 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).
  16. ## Gates (LC_ALL=C, ports 8732–8741, one at a time)
  17. | gate | old 1884364 | new (dbe3de7 theme) |
  18. |---|---|---|
  19. | check-theme | 0 | 0 (47 files) |
  20. | browser.mjs | 221/0 | run 1 **221/0**, run 2 220/1 (MainMenu TypeError), run 3 **221/0** |
  21. | push.mjs | 46/0 | 46/0 |
  22. | ssh.mjs | 44/0 | 44/0 |
  23. 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),
  24. 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, code
  25. inside) 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).
  26. ## 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)
  27. `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),
  28. 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
  29. (signed out: ident menu), audit by tests/mobile-measure.js. 25 audits per run, 3 runs each old / new:
  30. - 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.
  31. - 1280: scrollWidth 1280 both; new: 8 audits with a target under 44 (the dense desktop, above); old 0.
  32. - 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.)
  33. 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.
  34. 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's
  35. walk used the same Chrome at the same time during one run — parallel users of this Chrome disturb each other.
  36. ## The intermittent MainMenu TypeError — seen, NOT fixed
  37. `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`
  38. (a server patch re-deriving the shell, not the first render). Occurrences:
  39. - 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
  40. (`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 the
  41. logged-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,
  42. 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).
  43. - 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 in
  44. that walk) and the 3 new runs: 0.
  45. 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
  46. `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).
  47. ## Left running / cleanup
  48. Nothing 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

  • 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
  • 7f992d62gitoria#23: phone first on the shared theme — brand, branch and pull links 44 px, readme code 14 px; gate block "phone first" (15 pages at 390 + the three dropdowns, fails 20 on old), dropdown-aware login/logout clicks, check-theme in GATESmre
  • a2a840a5gitoria#23 WIP (quota stop): theme from layouts, styles inherit it, shell on the theme's header/menus/sidebar, phone measurement script; gates not runmre
  • 12b665b0mission brief 005mre
  • b680c483Revert "gitoria#22: RepoTabs wrapping component for the repo tabs (active tab, no content for a missing repo)"mre
  • 4fda244fgitoria#22: RepoTabs wrapping component for the repo tabs (active tab, no content for a missing repo)mre
  • 0fd5e280mission brief 004mre
  • e1d425e7paths: projects moved into /media/STORAGE/projects/WorldAPI/mre
  • e59ff114deploy.sh: wait up to DEPLOY_URL_WAIT (120 s) for 200 after the restart, as the other apps (cold compile, hybriel#148)mre
  • bcafcceb003: compose cache volume + tmpfs /tmp, gate start waits 120 s, report/LOG/STATUSmre
  • bed3f2d5Re-vendor Hybriel to the shared static build 0f396652 (plugins; bin/ is git-ignored)mre
  • 3207e128mission brief 003mre
  • 18ab71fbtests/ticketskit: wait up to 120 s for tickets (native Hybriel cold compile ~25 s, hybriel#148)mre
  • 4fffa966docker-compose: init: true (hybriel#156, PID 1 ignored SIGTERM, every restart waited 10 s)mre
  • 4f47843egate: ticket links use the tickets short URL (/<slug>/<n>, tickets#25)mre
  • 86605446mission 002 (code order) 4/4: README file map + import order + 'Same output' test + gate run with a tickets HEAD copy, STATUS (entry, lessons), LOG, report; tests/realdata-baseline.mjs + realdata-compare.py (a cleanup answers the same on live data: pages, modules, API, git over HTTPS and SSH, faces), tests/letcount.pymre
  • cc7bf7bamission 002 (code order) 3/4: let only where a variable is reassigned or re-bound in a loop body (289 lets → plain declarations; 213 left: 125 reassigned, 88 loop-bound; no member/import/param clash). gates 200/0, 46/0, 44/0; real-data reads + writes identical (browser modules: var → const only)mre
  • 090a20c6mission 002 (code order) 2/4: one lib/ file per topic — git.hl split into git (calls, branches, init, temp folder) / homepage / code / pulls / releases (+ git-helpers: paths, ids, |||PR/|||RL markers); repos-helpers, tickets-helpers, transport-helpers; util.hl = localtime + env, storage dir, addresses, lists, text checks, one newest-first sort (was 3 copies); the function routes out of project.hl into lib/api.hl (thin; plumbing in api-helpers.hl), sshgate.hl folded into api.hl + sshkeys.hl keyLine + repos.hl mayPush; 'Make main' and the merge answer out of the faces (code.hl makeMain, pulls.hl pullsView), one login helper (users.hl userOfLoginCode); project.hl is the map. Session-writing routes get &req + &server.sessions. gates 200/0, 46/0, 44/0; real-data identical except /login/failed now shows the parked reason for a browser that already had a session (the old copy-of-req lost it)mre