ident
All repositories: gitoria
2.2 KB
# Report 016 — ident#26 "Used in"**What:** the identities list has a "Used in…" link per identity (44 px) → new page `/identity/<id>` (components/identity.hl, lib/usedin.hl + usedin-helpers.hl): avatar/name/short id, then one row per app: app name, "since Oct 22 · last use 5 min ago", a "Notif." chip → `/inbox/<connection id>` (the per-app page of CONCEPT.md). Empty state: "Not used in any app yet. When this identity signs in to an app, the app shows up here." Row/place as in the #27 proposal 027-06; no keys, no Access tab. Route is `/identity/:iid` (not `/access/<id>`; #27 can rename).**Where the data comes from:** *since* = the connection's `created` (first login of that identity in that app, existing). *Last use* = NEW `lastLogin` on the connection, written in `exchange()` (lib/apps.hl) once per login exchange — no write per request. Connections older than this change show "last use not recorded" until their next login. "Last use" therefore means last login, not last API call.**Hybriel notes:** no hl:math in plugins → `whole()` = `x - x % 1`; a View attribute cannot be an expression (hence `usedHref` in identityRows). No JS written.**Gates (old → new, deploy gates, ports 8740–8759, one at a time):** browser 157 → 157, apps 107 → 119 (new section 4b: two rows after real logins, chip leads to per-app page, Work = app A only, Idle = empty state, unknown id = not found; fails on old code: no page), selector 99, migration 33, iplimit 39, notify 130, delivery 49 (all /0), check-theme 41 files 0 problems.**E2E, lisbeth real Chrome (tests/e2e-usedin.mjs, localhost, flock, signed in each run), 390 + 1280:** old (main) 4/0, new 16/0 (link ≥ 44 px, rows with since + last use, no horizontal overflow, all taps ≥ 44 px, chip opens per-app page, empty state). Shots in atlas-evidence/I26/: old-identities-{390,1280}, old-inbox-{390,1280}, new-identities-{390,1280}, new-used-in-{390,1280}, new-used-in-empty-{390,1280}, new-perapp-{390,1280}. Looked at: old vs new identities list (new adds "Used in…"), used-in page, empty state, per-app page.**Open:** the E2E data had one app row per identity (gate end state); two rows are covered by the apps gate. The per-app page has no link back to the identity page (Inbox only).
Branches
Latest commits
- 0f6d1592Merge branch 'f18b-shell-session' into mainIdent
- 19868218|||PR ident#39 shell reads its session member instead of a cross-file emitmre
- 5d1b3fedMerge branch 'v61-day61' into mainIdent
- 83faeb15|||PR ident: vendor Hybriel day61mre
- b2572b34Merge branch 'v59-day59' into mainIdent
- 67cf016d|||PR ident: vendor Hybriel day59mre
- 600c043dMerge branch 'v58-day58' into mainIdent
- 365f8c80|||PR ident: vendor Hybriel day58mre
- 585126e5Merge branch 'f16-setf' into mainIdent
- 953bf03a|||PR ident setF mirror dropped (hybriel#370)mre
- a1419d9cMerge branch 'f15-navigate' into mainIdent
- 3b3e451f|||PR ident#36 navigate to the app instead of location.assignmre
- e36f4516Merge branch 'f14-online' into mainIdent
- 2c5eac91|||PR ident#38 online state without probe timermre
- bf1980f2Merge branch 'v56-day56' into mainIdent
- 62ae0adf|||PR ident: vendor Hybriel day56mre
- 0d18abc4Merge branch 'f13-avatar' into mainIdent
- 2a99730a|||PR ident#37 avatar in hlmre
- fa4ed25bMerge branch 'f11-upsert' into mainIdent
- 8f3d9bc9|||PR ident#42 keyed upsert and removemre