gitoria
All repositories: gitoria
7.9 KB
# gitoria mission 005 — gitoria#23 phone first on the shared theme — DONE (not deployed, not pushed)Workers E2 (start, quota stop at a2a840a) and G2 (finish), Atlas, 2026-10-20. Branch `wm` (from main b680c48, Hybriel 0f396652).Commits: a2a840a (WIP: theme, styles, shell, measure script), 7f992d6 (the rest + gates), plus this report's commit. Nothingdeployed or pushed. Repo frame (gitoria#22) NOT restructured: repohead.hl untouched, styled only.## What changed- `theme/` copied verbatim from layouts.worldapi.org (HEAD 3d4f8e1, `cp -r …/layouts.worldapi.org/theme ./theme`, as tracker does);`shared/tokens.hl` byte-equal to layouts'.- `components/styles.hl`: `inherit '../theme/theme.hl'`, accent blue-dark, radiusSmall/radiusLarge only, borderless, phone-firstrules (44 px targets, 16 px fields, ≥ 14 px text), one `@media (min-width: 60rem)` block. G2 added: the brand link 44 px(`'html application-header > a.brand' { lineHeight = '2.75rem' }`, ellipsis kept), the branch links of the code side column`minWidth 2.75rem` (the "main" 35×44 was `code-side li > a`, not a crumb), readme `code` `max(.875rem, .9em)` (was 13.0 px),pull list: `a.ticketref` and the source/target branch links `minWidth 2.75rem` (found by the gate: "#1" 20×45, "fixbr" 35×44).- `components/main.hl` (shell): AppHeader + MainMenu + UserMenu + tracker's signed-out ident menu + Sidebar (phone menu) +ContentFirst (hybriel#130 order).- Gates: `tests/browser.mjs` block "phone first" (see README "Test"), `clickInMenu` (open the user menu / ident dropdown before#logout / #loginbutton) in browser/push/ssh.mjs, console errors now name their page; deploy.sh GATES + `node theme/check-theme.mjs .`.## 390 px on a COPY of gitoria.worldapi.org-20261020-1226.tgz (az5b2 session, LC_ALL=C, fake tickets = snapshot)DPR 3, mobile + touch, iPhone UA, signed in (17/18 signed out). Old = b680c48, new = 7f992d6. `tests/mobile-measure.js`.| page | scrollWidth old → new | taps <44 old → new | inputs <16 px old → new | text <14 px old → new | header px old → new | code boxes past edge old → new ||---|---|---|---|---|---|---|| 01-home-repolist | 390 → 390 | 22/22 → 0/23 | 3/3 → 0/3 | 29 → 0 | 55 → 52 | 0 → 0 || 02-readme | 441 → 390 | 4/10 → 0/11 | 0/0 → 0/0 | 1 → 0 | 55 → 52 | 7 → 0 || 03-code-folder-root | 441 → 390 | 47/56 → 0/57 | 0/0 → 0/0 | 21 → 0 | 55 → 52 | 0 → 0 || 04-code-folder-sub | 441 → 390 | 45/54 → 0/55 | 0/0 → 0/0 | 21 → 0 | 55 → 52 | 0 → 0 || 05-code-file | 441 → 390 | 27/36 → 0/37 | 0/0 → 0/0 | 99 → 0 | 55 → 52 | 1 → 0 || 06-code-file-longline | 441 → 390 | 29/35 → 0/36 | 0/0 → 0/0 | 138 → 0 | 55 → 52 | 1 → 0 || 07-code-routger-root | 441 → 390 | 51/57 → 0/58 | 0/0 → 0/0 | 22 → 0 | 55 → 52 | 0 → 0 || 08-branch-view | 441 → 390 | 50/56 → 0/57 | 0/0 → 0/0 | 22 → 0 | 55 → 52 | 0 → 0 || 09-commit-small-diff | 441 → 390 | 51/57 → 0/58 | 0/0 → 0/0 | 22 → 0 | 55 → 52 | 0 → 0 || 10-commit-big-diff | 441 → 390 | 42/52 → 0/53 | 0/0 → 0/0 | 17 → 0 | 55 → 52 | 0 → 0 || 11-pulls-list | 441 → 390 | 3/9 → 0/10 | 0/0 → 0/0 | 0 → 0 | 55 → 52 | 0 → 0 || 12-releases | 441 → 390 | 3/9 → 0/10 | 0/0 → 0/0 | 0 → 0 | 55 → 52 | 0 → 0 || 13-tickets | 441 → 390 | 41/60 → 0/61 | 2/2 → 0/2 | 46 → 0 | 55 → 52 | 0 → 0 || 14-settings | 441 → 390 | 5/12 → 0/13 | 0/0 → 0/0 | 0 → 0 | 55 → 52 | 0 → 0 || 15-no-such-repo | 390 → 390 | 2/3 → 0/4 | 0/0 → 0/0 | 0 → 0 | 55 → 52 | 0 → 0 || 16-login-failed | 390 → 390 | 3/3 → 0/4 | 0/0 → 0/0 | 0 → 0 | 55 → 52 | 0 → 0 || 17-home-signed-out | 390 → 390 | 16/16 → 0/17 | 0/0 → 0/0 | 28 → 0 | 55 → 52 | 0 → 0 || 18-readme-signed-out | 441 → 390 | 4/10 → 0/11 | 0/0 → 0/0 | 1 → 0 | 55 → 52 | 7 → 0 |At 1280 no page scrolls sideways (old and new; new scrollWidth 1265 = the 15 px scrollbar). Long line (19 456 px): scrolls inside `#lines`.Header 55 here on old because the copy has no live ident (D2 measured 130 with the selector filled); new 52 = the theme's.Open states at 390 (real taps, `scripts/menus.mjs`): ☰ sidebar 0–320 px wide, "×" 44×44, "Repositories" 288×44; user menu box182–374 px, Access tokens / SSH keys / Log out 179×44 each; ident dropdown (signed out, main and repo address) 150–374 px,"Log in with ident" 200×44; all toggles 44×44; nothing under 44 px or 14 px, page stays 390.1280 by numbers (`scripts/wide.mjs`): header 52 px; brand left 57 = column left 57; signed out the ident panel ends at 1209 = columnright; the user icon button ends at 1217 (the theme's −.5rem margin; its 24 px glyph ends ≈ 1207). Code pages: file/tree 57–889,side column (branches, latest commits) 921–1209 = 18rem beside it; tab row one row of 44 px.## Gates (LC_ALL=C, ports 8700–8729, TMPDIR in the scratch dir)| gate | old b680c48 (+ new tests) | new ||---|---|---|| check-theme | 44 problems | 0 || browser.mjs | 200 passed, **20 failed** (all in "phone first": 15 pages + tab row + long line + 3 dropdowns) | **221/0** (runs 2–4); run 1: 219/2 || push.mjs | 46/0 | 46/0 || ssh.mjs | 44/0 | 44/0 |Run 1 of new failed /pulls (fixed in styles) and once "browsers: no console errors": `TypeError: _71 is not a function or itsreturn value is not iterable (main-menu.hl:17:13)` — the theme's MainMenu `for (it of list)`. Not seen in 3 later runs, notreproduced on the data copy (tab navigation, logout, login flip via a fake ident exchange, name prompt: `E2/scripts/console.mjs`+ `serve2.mjs`). Suspicion (not proven): the browser re-evaluates `items = menu` and gitoria's `static menu` holds `publicUrl`(an env static of lib/util.hl → a refusing stub in the browser module); tracker's menu is literal paths. The gate now names the pageof a console error. Not reported as a Hybriel gap (no repro).## Screenshots (step 5)gitoria serves NO raw file of a repo: project.hl routes have no raw/blob/download route (only /code, /branch, /commit pages, whichshow a binary file as "This file is not text — not shown"), and the remote is gitoria itself (ssh.gitoria.worldapi.org:2222).So no PNGs were committed (they would get no URL). Local paths (loreana):`/media/STORAGE/claude-scratch/atlas/E2/shots/old-390/*.png` (before) and `…/shots/new-390/*.png` (after), 18 pages each, names as inthe table; 1280: `…/shots/{old,new}-1280/`; open dropdowns: `…/shots/new-390-open/{sidebar-repo,usermenu-repo,usermenu-main,identpanel-main,identpanel-repo}.png`. Raw numbers `…/E2/results/{old,new,new-menus}.json`, table `…/results/table.md`.I cannot view images (no image viewer in this agent): everything above is DOM measurement, not eyesight.## Not fixed here (reported)- LC_ALL: lib/code.hl:13 `git grep -P` under a UTF-8 locale marks non-ASCII files "not text"; all runs used LC_ALL=C.- Theme gap (layouts.worldapi.org, not Hybriel): buttons 2.25rem, header icon buttons 2.5rem, brand 26 px high (< 44 px);gitoria overrides them with `html …` rules — belongs into the theme.- The intermittent MainMenu console error above (1 of 4 gate runs).- No Hybriel gap with a repro found.## Scripts (scratch, not in the repo)`E2/scripts/serve.mjs` (copy of the backup, session file, fake tickets on port+9), `serve2.mjs` (+ fake ident exchange on port+8),`shots.mjs` (18 pages × 390/1280 + numbers), `menus.mjs` (open dropdowns at 390), `wide.mjs` (1280 alignment), `console.mjs`,`probe.mjs`. Data copies deleted after the runs.## Phone test for the creator (after deploy)1. Open a repo's Code page on the phone: no sideways page scroll; the tabs wrap into 2 rows; a long file scrolls sideways inside its box only.2. Tap ☰ top left: the menu slides in with "Repositories"; tap it → the repo list. Tap the user icon top right: Access tokens, SSH keys, Log out.3. Signed out: tap the ident icon top right → "Log in with ident" → log in → you come back to the same page signed in; type in a field (e.g. new ticket): iOS does not zoom.
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