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
- ddc7d135Merge branch 'f7-hooks' into mainIdent
- eee0b513|||PR ident#34 part: test-hook classes replaced by name/element/attribute selectors (tests adjusted), the shared lead/message/notice looks are statics in styles.hlmre
- ccd6d0c4ident#34: browser gate: rowButton finds the row's button by namemre
- 24dd414eident#34: the shared lead, message and notice looks are statics in components/styles.hl, imported by the components (lib/looks.hl gone)mre
- 03ed26c7ident#34: access.hl: the remaining lead classes droppedmre
- 1d066c42ident#34: access.hl drops its unstyled lead class (the shared lead rule would otherwise mute it)mre
- 1e1dd7b4ident#34: the access page keeps its lead class string (the page has no ident-card, so its lead line was never muted; a shared rule would change the look)mre
- 89ac6553ident#34: the lead, message and notice lines are named with Style.pLead / pMessage / pNotice (shared bodies in lib/looks.hl) instead of class stringsmre
- e84be3deident#34: browser gate lists the Edit/Delete buttons by namemre
- fb7111faident#34: access page: unstyled test-hook classes (idrow, never, who, whoname, appname, neverrevoke) dropped; the tests use element/name selectorsmre
- 9f2ad803ident#34: notification switches: push/email by name=..., locked by aria-disabled, the switch look is the role=switch button (no switch/push/email/locked classes)mre
- e0f0ddaaident#34: inbox: the Mark read/unread button is styled as the button of its note-foot, the icon is found as the row's img (no toggle/icon classes)mre
- 16b49756ident#34: unused row classes (choice, usedrow, kind, shortid) droppedmre
- f9d6fb38ident#34: apps and identity rows: the Edit/New secret/Delete buttons carry name=..., the API key is found by its element; unused row classes (app, identity, shortid) droppedmre
- b323265aMerge branch 'f5-styles' into mainIdent
- 9ced53c3|||PR ident#33 ident#35 every component's styles live in its own Style block; styles.hl keeps the page-wide rest; the account bar is phone first (min-width: 60rem block); the avatar preview is hidden with the hidden attribute (ident#34 in part)mre
- f28333e4ident#33 ident#35: styles.hl keeps only the accent, the page column and the shared patterns; the account bar is written phone first (base rule + one min-width: 60rem block) instead of a max-width overridemre
- 5b4541fcident#33: the selector sign-in frame's rules move into embed.hl's Stylemre
- 00235f21ident#33: the per-app notification switches move into appsettings.hl's Stylemre
- 2249945cident#33: the inbox and connection list rules move into inbox.hl's Stylemre