ident
All repositories: gitoria
2.8 KB
# I4 — ident mobile bugs (Arachne W90 sweep)Branch i4-mobile (worktree /media/STORAGE/claude-scratch/atlas/I4/s/../wt), commit 4ca2ed2. Not merged, pushed or deployed.## Causes and fixes1. **404 at 980 px**: no route matched, so hl:web answered its bare `new Response('not found: /nope', 404)` — plain text/html with no head, no viewport meta, no shell. Fix (no JS): last route `/*` → `notFoundPage` (lib/api.hl, same pattern as codePage: `srv.page` renders components/notfound.hl through the normal page render, status set to 404). The page uses the shell (parent main.hl: header, theme, user menu when signed in), viewport meta, "Page not found", the path, a primary 44 px "Back to ident" (#gohome).2. **User menu over "Sign out everywhere"**: the page's accountBar (email · Sign out · Sign out everywhere) sits exactly where the header's popover opens (top right), and duplicated the menu's email/Sign out. Fix: at <60rem the account actions live in the menu (new "Sign out everywhere" item #menusignoutall in components/main.hl, confirm + same server logic + push to other devices); the page's accountBar hides email/#signout/#signoutall and left-aligns its page link (components/styles.hl media query). Desktop unchanged (menu opens in the empty gutter, nothing covered). The open menu still dims nothing but may overlay non-interactive heading text of the page, as any dropdown does.3. **tests/signoutall.mjs**: it also fails on main for me (and on the vendored hl:web) — NOT an hl:web bug and not an app bug: the gate waited only 20 s for the server before its first goto, but a cold Hybriel start takes 45 s+ on this machine, so `#email` timed out. Fix: wait up to 120 s like the other gates; now 6/0 (it was 0/1 on main with the same code). Arachne's master-green run was just a warmer cache.## Prooftests/mobile.mjs (new, in deploy.sh GATES): on OLD code at 390 it gave 5 passed / 6 FAILED (404 viewport meta, 980 px layout, shell, "not found" text, #gohome; menu covers ["signout","signoutall"]); new code 12/0.Deploy gates (my ports 8747-8764): browser 157/0, apps 119/0, selector 99/0, migration 33/0, iplimit 39/0, notify 130/0, delivery 49/0, mobile 12/0 (new), check-theme 42 files 0 problems; signoutall 6/0. Same counts as Arachne's.## Screenshots (viewed)before: /media/STORAGE/claude-scratch/atlas/I4/s/before/{404-390,404-1280,menu-open-390,menu-open-1280,menu-closed-390}.png ; after: /media/STORAGE/claude-scratch/atlas/I4/s/after/ (same names).Saw: before 404 = bare unstyled text at 980 px; after 404 = header "ident", H1, path in code, accent "Back to ident" button, no overflow at 390/1280. Before menu 390 = popover over Sign out + Sign out everywhere; after = menu shows email, Sign out, Sign out everywhere (44 px rows), page bar no longer under it; 1280 menu in the gutter, page bar intact.No server/Chrome of mine left; lisbeth's Chrome not used.
Branches
Latest commits
- 45e55303ident#42: an app write patches one row: upsert on create, edit and new secret, one-argument remove on delete; the faces answer the changed app (or the deleted id), not the whole listmre
- 991641d4Merge branch 'f10-access' into mainIdent
- e56d8273|||PR ident#34 part 4: access and inbox fixed classesmre
- df7696dbident#34: tests: access ticks selector quoting fixmre
- 7215903eident#34: access: the unstyled classes all, app, tick, apptick, plus are dropped; the gate finds the app ticks by input[name=app]mre
- 69b0a0ceident#34: access: the pick buttons use Style.pickCard instead of class pickmre
- dc702419Merge branch 'f9-choose' into mainIdent
- 8caec771|||PR ident#34 restore .choose hookmre
- 0dbff960Merge branch 'f8-shared' into mainIdent
- d69665f6|||PR ident#34 part 3: shared look classes (wide, avatar, chip/used, conn, choose, who, inboxlink) moved to statics or droppedmre
- 3a64dc48ident#34: chipLook: radius as the same var() string (a bare token name in a static does not compile); selector gate selectormre
- eb039073ident#34: tests: signin and migration find the choice without the classmre
- 4b94a594ident#34: tests: fix selector of the identity choicemre
- bebc88e4ident#34: main.hl drops the unstyled classes inboxlink and whomre
- b4e7ad04ident#34: the identity choice link/button has no class (rule on #chooselist a)mre
- 3c33d6eaident#34: the connection link in inbox has no class (rule on #conns a)mre
- dc97ec0dident#34: the Notif. chip and the Used in link share chipLook (Style.pChip) instead of the classes chip/used/notifmre
- 378bd432ident#34: the identity picture look is a static in styles.hl (Style.pAvatar); sizes stay with each listmre
- 1cf79e7eident#34: the wide page column is a static in styles.hl (Style.pWide), not the class "wide"mre
- ddc7d135Merge branch 'f7-hooks' into mainIdent