gitoria

ident

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Branchf1b-cleanupedcfce3f|||PR ident#41 ident#43 ident#44 login error page as a component (same status codes and text, pixel-identical), declarations and route wiring cleaned upmref1b-cleanup/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

  • edcfce3f|||PR ident#41 ident#43 ident#44 login error page as a component (same status codes and text, pixel-identical), declarations and route wiring cleaned upmre
  • 3ac85995ident#43 ident#44: plain declarations for never-reassigned lets, one envString helper, named route functions and audience rule out of project.hlmre
  • c7eef14aMerge branch 'nv1-navigate' into mainIdent
  • 644f9775|||PR ident#36 navigate() instead of window.location in the shell, start shell and homemre
  • 4ca2f921deploy.sh: tar --hard-dereference so backups hold no hard linksmre
  • 23971fb7ident#49: media queries in the language's @media formmre
  • 73f4f97dident: re-vendor to hybriel day38b (mpackdb store-open fix)mre
  • aa056c03ident: a startup error prints its message before exit 1 (hybriel#247)mre
  • ee37a861ident#G48: gitoria's registration gets the wildcard origin of its repo addresses at load (gate tests/gitoria-origin.mjs)mre
  • dc6d486fident#27: the docs gate expects the new Access entry in the main menumre
  • d277633cident#27: README: identity access and the introspect endpointmre
  • e999b0d3ident#27: the Access tab — one key per identity for all its apps: give access in three steps, the overview matrix, a cell's sheet (since, last use, level, rotate, revoke), the app's check POST /api/introspect, agent identities hidden from the login picker, an inbox icon in the header's icon style (gate: tests/access.mjs)mre
  • 436206fcident#47: deploy.sh runs the sign-in gate on the deploy's own port slot, like the sessionwrites and docs gates (the default 8700 can be taken by another process)mre
  • a4887ea3ident#47: the selector's sign-in frame no longer has a Continue button; the identity row itself is the link (gate tests/signin.mjs fails on the old code)mre
  • d8ec703dident#45: /docs shows docs/IDENT.md (hl:markdown, vendored from ac1ed9da), one Docs entry in the main menu, README for developers only, gates tests/docs.mjs and tests/sessionwrites.mjs in deploy.shmre
  • ec6aad35Merge branch 'a28g-amp-callsites' into d45-docsmre
  • 6bfbd3f2ident#45: docs/IDENT.md, what ident is and how it works; CONCEPT.md marks one id per app as droppedmre
  • c0edca26ident#28 A28G: write & at every call that hands a session to an &-parameter; gate tests/sessionwrites.mjs pins that sign-in, pending address, embed sign-in and selector land in the session filesmre
  • 80965c08ident#28: README says the deploy goes through the standbymre
  • 2f41670cident#28: ident-standby service on port 45012 (no background round in the standby) and deploy.sh hands over through standby-swap.shmre