gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchf8-sharedd69665f6|||PR ident#34 part 3: shared look classes (wide, avatar, chip/used, conn, choose, who, inboxlink) moved to statics or droppedmref8-shared/reports/I4-mobile.md

2.8 KB

  1. # I4 — ident mobile bugs (Arachne W90 sweep)
  2. Branch i4-mobile (worktree /media/STORAGE/claude-scratch/atlas/I4/s/../wt), commit 4ca2ed2. Not merged, pushed or deployed.
  3. ## Causes and fixes
  4. 1. **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).
  5. 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.
  6. 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.
  7. ## Proof
  8. tests/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.
  9. 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.
  10. ## Screenshots (viewed)
  11. 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).
  12. 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.
  13. No server/Chrome of mine left; lisbeth's Chrome not used.

Branches

Latest commits

  • 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
  • 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