portal: the home — PT-S1 my doors as service cards, PT-S1o the operator's Control panel door, PT-S1e no doors yet, the kanidm-only identity strip (spec #1361 s7–16, 22–23) #1371

Closed
opened 2026-09-10 00:56:48 +00:00 by ben · 2 comments
Owner

Parent

Spec #1361 (the Portal); program map #1336; design contract DDR 0232 / ADR 0233, flow docs/ux/flows/portal.mermaid, wireframes docs/ux/wireframes/portal/. Slice home-doors in docs/slices/portal.yaml.

What to build

The home replaces the placeholder: signed-in-as (display name), the brand-kit greeting, my-doors as the control panel's service card (name + pill, product-line, service-url + open-door; resting = pill + doorless, no URL/Open; the Mail card's claim state is stubbed "open" until mail-rehome), the identity strip on the kanidm tier ONLY (manage-sign-in → id.; NO strip on IDIP), Sign out; the operator's control-panel-door (PT-S1o) → admin. on the same session; the empty state PT-S1e. Entry seam tests over a driving fetch; design-verify by data-* against PT-S1 / S1o / S1e.

Acceptance criteria

  • Given /me live and /me/doors answering three open doors, when PT-S1 renders, then signed-in-as carries the display name, the greeting is the brand kit's, my-doors holds one door card per answer wearing the control panel's service card: name + OPEN pill, product-line with product-link, the door row with service-url and open-door — and no 'deployed on' placement.
  • Given a door with standing resting, when its card renders, then RESTING pill + doorless line, no service-url, no open-door.
  • Given open-door pressed, when it runs, then the browser goes to the door's url in the same tab (portful on the private path).
  • Given /me/doors answers an empty list, when PT-S1e renders, then no-doors-yet (data-status=empty) with the honest copy; signed-in-as, greeting and sign-out remain.
  • Given /me answers operator:true, when PT-S1o renders, then control-panel-door with open-control-panel → https://admin. on the same session; everything else is the ordinary home.
  • Given tier kanidm, when PT-S1 renders, then identity-strip (data-tier=kanidm) carries one manage-sign-in action → https://id..
  • Given tier idip, when PT-S1 renders, then there is NO identity-strip.
  • Given any home, when it renders, then no komiti, credentials, fleet, approvals or backups appear.
  • Given design-verify, when it runs, then the built home matches PT-S1, PT-S1o, PT-S1e by data-*.

Blocked by

Task manifest

task: home-doors
implements_flow: portal
implements_edge: DA-S1→PT-S1 / PT-S1o / PT-S1e (the home)
wireframe: docs/ux/wireframes/portal/pt-s1-home.html
interface: ''
seam: dashboard entry seam tests + design-verify
acceptance:
- given: /me live and /me/doors answering three open doors
  when: PT-S1 renders
  then: 'signed-in-as carries the display name, the greeting is the brand kit''s, my-doors holds one door
    card per answer wearing the control panel''s service card: name + OPEN pill, product-line with product-link,
    the door row with service-url and open-door — and no ''deployed on'' placement'
- given: a door with standing resting
  when: its card renders
  then: RESTING pill + doorless line, no service-url, no open-door
- given: open-door pressed
  when: it runs
  then: the browser goes to the door's url in the same tab (portful on the private path)
- given: /me/doors answers an empty list
  when: PT-S1e renders
  then: no-doors-yet (data-status=empty) with the honest copy; signed-in-as, greeting and sign-out remain
- given: /me answers operator:true
  when: PT-S1o renders
  then: control-panel-door with open-control-panel → https://admin.<apex> on the same session; everything
    else is the ordinary home
- given: tier kanidm
  when: PT-S1 renders
  then: identity-strip (data-tier=kanidm) carries one manage-sign-in action → https://id.<apex>
- given: tier idip
  when: PT-S1 renders
  then: there is NO identity-strip
- given: any home
  when: it renders
  then: no komiti, credentials, fleet, approvals or backups appear
- given: design-verify
  when: it runs
  then: the built home matches PT-S1, PT-S1o, PT-S1e by data-*
depends_on:
- portal-entry-faces
- doors-route
out_of_scope:
- operator truth on the Portal
- operator notices / per-service public switch
- IDIP identity door
- mail on IDIP (stated limit)
- IDIP browser sign-in UX (#1302)
needs_human_decision: []
## Parent Spec **#1361** (the Portal); program map **#1336**; design contract DDR 0232 / ADR 0233, flow `docs/ux/flows/portal.mermaid`, wireframes `docs/ux/wireframes/portal/`. Slice `home-doors` in `docs/slices/portal.yaml`. ## What to build The home replaces the placeholder: signed-in-as (display name), the brand-kit greeting, my-doors as the control panel's service card (name + pill, product-line, service-url + open-door; resting = pill + doorless, no URL/Open; the Mail card's claim state is stubbed "open" until mail-rehome), the identity strip on the kanidm tier ONLY (manage-sign-in → id.<apex>; NO strip on IDIP), Sign out; the operator's control-panel-door (PT-S1o) → admin.<apex> on the same session; the empty state PT-S1e. Entry seam tests over a driving fetch; design-verify by data-* against PT-S1 / S1o / S1e. ## Acceptance criteria - [ ] Given /me live and /me/doors answering three open doors, when PT-S1 renders, then signed-in-as carries the display name, the greeting is the brand kit's, my-doors holds one door card per answer wearing the control panel's service card: name + OPEN pill, product-line with product-link, the door row with service-url and open-door — and no 'deployed on' placement. - [ ] Given a door with standing resting, when its card renders, then RESTING pill + doorless line, no service-url, no open-door. - [ ] Given open-door pressed, when it runs, then the browser goes to the door's url in the same tab (portful on the private path). - [ ] Given /me/doors answers an empty list, when PT-S1e renders, then no-doors-yet (data-status=empty) with the honest copy; signed-in-as, greeting and sign-out remain. - [ ] Given /me answers operator:true, when PT-S1o renders, then control-panel-door with open-control-panel → https://admin.<apex> on the same session; everything else is the ordinary home. - [ ] Given tier kanidm, when PT-S1 renders, then identity-strip (data-tier=kanidm) carries one manage-sign-in action → https://id.<apex>. - [ ] Given tier idip, when PT-S1 renders, then there is NO identity-strip. - [ ] Given any home, when it renders, then no komiti, credentials, fleet, approvals or backups appear. - [ ] Given design-verify, when it runs, then the built home matches PT-S1, PT-S1o, PT-S1e by data-*. ## Blocked by - #1365 - #1370 ## Task manifest ```yaml task: home-doors implements_flow: portal implements_edge: DA-S1→PT-S1 / PT-S1o / PT-S1e (the home) wireframe: docs/ux/wireframes/portal/pt-s1-home.html interface: '' seam: dashboard entry seam tests + design-verify acceptance: - given: /me live and /me/doors answering three open doors when: PT-S1 renders then: 'signed-in-as carries the display name, the greeting is the brand kit''s, my-doors holds one door card per answer wearing the control panel''s service card: name + OPEN pill, product-line with product-link, the door row with service-url and open-door — and no ''deployed on'' placement' - given: a door with standing resting when: its card renders then: RESTING pill + doorless line, no service-url, no open-door - given: open-door pressed when: it runs then: the browser goes to the door's url in the same tab (portful on the private path) - given: /me/doors answers an empty list when: PT-S1e renders then: no-doors-yet (data-status=empty) with the honest copy; signed-in-as, greeting and sign-out remain - given: /me answers operator:true when: PT-S1o renders then: control-panel-door with open-control-panel → https://admin.<apex> on the same session; everything else is the ordinary home - given: tier kanidm when: PT-S1 renders then: identity-strip (data-tier=kanidm) carries one manage-sign-in action → https://id.<apex> - given: tier idip when: PT-S1 renders then: there is NO identity-strip - given: any home when: it renders then: no komiti, credentials, fleet, approvals or backups appear - given: design-verify when: it runs then: the built home matches PT-S1, PT-S1o, PT-S1e by data-* depends_on: - portal-entry-faces - doors-route out_of_scope: - operator truth on the Portal - operator notices / per-service public switch - IDIP identity door - mail on IDIP (stated limit) - IDIP browser sign-in UX (#1302) needs_human_decision: [] ```

swarm-claim host=matou-dev-server-01 run=21009
(automated multi-host claim — lowest live claim id works this ticket)

swarm-claim host=matou-dev-server-01 run=21009 (automated multi-host claim — lowest live claim id works this ticket)

close-report for #1371 — status success

✅ close-report gates passed — every claim verified against main; issue closed.

envelope
{
  "issue": 1371,
  "status": "success",
  "commits": [
    "abecf06b"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/portal/PortalHome.vue",
    "dashboard/src/components/portal/PortalHomePlaceholder.vue",
    "dashboard/src/components/portal/PortalSurface.vue",
    "dashboard/src/entry/portal.ts",
    "dashboard/src/lib/api/portalClient.ts",
    "dashboard/src/lib/portal.ts",
    "dashboard/src/lib/portalRouting.ts",
    "dashboard/tests/unit/portalEntry.test.ts"
  ],
  "tests": [
    {
      "command": "npx vitest run tests/unit/portalEntry.test.ts",
      "exit_code": 0
    },
    {
      "command": "npx vitest run",
      "exit_code": 0
    },
    {
      "command": "npx vue-tsc --noEmit",
      "exit_code": 0
    },
    {
      "command": "npx eslint (changed portal files)",
      "exit_code": 0
    },
    {
      "command": "npx vite build",
      "exit_code": 0
    }
  ],
  "criteria": {
    "PT-S1: signed-in-as display name, brand-kit greeting, my-doors one service-card per door (name + OPEN pill, product-line with product-link, service-url + open-door), no 'deployed on'": "PortalHome.vue data-field signed-in-as/greeting/my-doors/service-card/service-name/pill/product-line/product-link/service-url/open-door; portalEntry.test.ts 'PT-S1 — the home lists my open doors' asserts all + no 'deployed on'",
    "resting door: RESTING pill + doorless, no service-url, no open-door": "PortalHome.vue v-if standing==='open'&&url else doorless; portalEntry.test.ts 'a resting door is RESTING + doorless' case",
    "open-door pressed → same-tab navigation to door url": "PortalHome.vue open-door anchor href=door.url (no target); portalEntry.test.ts 'open-door is an anchor to the door url in the SAME tab'",
    "PT-S1e: empty list → no-doors-yet (data-status=empty); signed-in-as/greeting/sign-out remain": "PortalHome.vue v-else no-doors-yet data-status=empty; portalEntry.test.ts 'PT-S1e — the honest empty home'",
    "PT-S1o: operator:true → control-panel-door open-control-panel https://admin.<apex>, else ordinary home": "PortalHome.vue v-if identity.operator control-panel-door; controlPanelUrl in portalRouting.ts; portalEntry.test.ts 'PT-S1o' renders admin.<apex> + doors still list, non-operator none",
    "tier kanidm → identity-strip (data-tier=kanidm) one manage-sign-in https://id.<apex>": "PortalHome.vue v-if tier==='kanidm' identity-strip; manageSignInUrl; portalEntry.test.ts 'kanidm: identity-strip'",
    "tier idip → NO identity-strip": "portalEntry.test.ts 'idip: there is NO identity strip'",
    "no komiti/credentials/fleet/approvals/backups on any home": "portalEntry.test.ts 'the home shows no operator surfaces' asserts none present operator-or-not",
    "design-verify: built home matches PT-S1/S1o/S1e by data-*": "every element carries data-field/data-action/data-status/data-tier per the ticket contract; wireframe artifacts absent (DESIGN NOTE, ADR 0174 two-way door as in #1365)"
  },
  "summary": "Replaced the Portal home placeholder with the real signed-in home: PT-S1 my-doors as service cards, PT-S1o operator control-panel door, PT-S1e empty home, kanidm-only identity strip, backed by the doors route.",
  "blockers": []
}
**close-report** for #1371 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1371, "status": "success", "commits": [ "abecf06b" ], "changed_files": [ "STATUS.md", "dashboard/src/components/portal/PortalHome.vue", "dashboard/src/components/portal/PortalHomePlaceholder.vue", "dashboard/src/components/portal/PortalSurface.vue", "dashboard/src/entry/portal.ts", "dashboard/src/lib/api/portalClient.ts", "dashboard/src/lib/portal.ts", "dashboard/src/lib/portalRouting.ts", "dashboard/tests/unit/portalEntry.test.ts" ], "tests": [ { "command": "npx vitest run tests/unit/portalEntry.test.ts", "exit_code": 0 }, { "command": "npx vitest run", "exit_code": 0 }, { "command": "npx vue-tsc --noEmit", "exit_code": 0 }, { "command": "npx eslint (changed portal files)", "exit_code": 0 }, { "command": "npx vite build", "exit_code": 0 } ], "criteria": { "PT-S1: signed-in-as display name, brand-kit greeting, my-doors one service-card per door (name + OPEN pill, product-line with product-link, service-url + open-door), no 'deployed on'": "PortalHome.vue data-field signed-in-as/greeting/my-doors/service-card/service-name/pill/product-line/product-link/service-url/open-door; portalEntry.test.ts 'PT-S1 — the home lists my open doors' asserts all + no 'deployed on'", "resting door: RESTING pill + doorless, no service-url, no open-door": "PortalHome.vue v-if standing==='open'&&url else doorless; portalEntry.test.ts 'a resting door is RESTING + doorless' case", "open-door pressed → same-tab navigation to door url": "PortalHome.vue open-door anchor href=door.url (no target); portalEntry.test.ts 'open-door is an anchor to the door url in the SAME tab'", "PT-S1e: empty list → no-doors-yet (data-status=empty); signed-in-as/greeting/sign-out remain": "PortalHome.vue v-else no-doors-yet data-status=empty; portalEntry.test.ts 'PT-S1e — the honest empty home'", "PT-S1o: operator:true → control-panel-door open-control-panel https://admin.<apex>, else ordinary home": "PortalHome.vue v-if identity.operator control-panel-door; controlPanelUrl in portalRouting.ts; portalEntry.test.ts 'PT-S1o' renders admin.<apex> + doors still list, non-operator none", "tier kanidm → identity-strip (data-tier=kanidm) one manage-sign-in https://id.<apex>": "PortalHome.vue v-if tier==='kanidm' identity-strip; manageSignInUrl; portalEntry.test.ts 'kanidm: identity-strip'", "tier idip → NO identity-strip": "portalEntry.test.ts 'idip: there is NO identity strip'", "no komiti/credentials/fleet/approvals/backups on any home": "portalEntry.test.ts 'the home shows no operator surfaces' asserts none present operator-or-not", "design-verify: built home matches PT-S1/S1o/S1e by data-*": "every element carries data-field/data-action/data-status/data-tier per the ticket contract; wireframe artifacts absent (DESIGN NOTE, ADR 0174 two-way door as in #1365)" }, "summary": "Replaced the Portal home placeholder with the real signed-in home: PT-S1 my-doors as service cards, PT-S1o operator control-panel door, PT-S1e empty home, kanidm-only identity strip, backed by the doors route.", "blockers": [] } ``` </details>
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#1371
No description provided.