pairing T7: the app card on the operator home and the dashboard overview — being built, the build failed, not yet designed #1516

Closed
opened 2026-09-16 03:14:01 +00:00 by ben · 2 comments
Owner

Parent

Spec #1495 (community app pairing — the descriptor and config server on the gateway, the S3a wallet choice and S3a-APP, the Coa submission at the pipeline tail, the app card). Program map #1293 (the community wallet). Design contract: ADR 0226 (amended by ADRs 0235, 0236, 0238 and the 2026-09-15 spaces amendment) and DDR 0228 (amended by DDR 0239).

Stories 14, 15 and 19 of the spec. Wireframe: p1-s3a-community-app.html (the HO/DO card).

What to build

One card, in the same place on both surfaces, that always says where the community's app is. It sits with
the standing checks, it blocks nothing, and it is the same record on both screens.

Acceptance criteria

  • On an IDIP community, both the operator home and the dashboard overview render exactly one app card
    with one state of pending | ready | failed | none, read from the same record
  • On a kanidm community, neither surface renders a card
  • The card never contributes to any health, hand-off or blocking verdict on either surface
  • pending reads Your community app — being built with submitted to Coa ‹relative time› and an
    action that opens Coa's page for the community
  • failed reads Your community app — the build failed and shows the reason
  • none reads Your community app — not yet designed with your members sign in through the browser
    until you build one
    and the action that opens the dashboard twin
  • Both surfaces render from the record after a restart or reload

Blocked by

Tracker: #1514, #1515

  • T5 (the record), T6 (something that writes it)

Task manifest

task: app-card
implements_flow: community-app-journey
wireframe: docs/ux/wireframes/p1-founding/p1-s3a-community-app.html
seam: operator-app + dashboard component tests over the control-API shape
depends_on: [pairing:app-record, pairing:pipeline-tail-probe-and-submit]
out_of_scope: [the poll, the ready state's downloads, the twin's form]
needs_human_decision: []
## Parent Spec **#1495** (community app pairing — the descriptor and config server on the gateway, the S3a wallet choice and S3a-APP, the Coa submission at the pipeline tail, the app card). Program map **#1293** (the community wallet). Design contract: **ADR 0226** (amended by ADRs 0235, 0236, 0238 and the 2026-09-15 spaces amendment) and **DDR 0228** (amended by DDR 0239). Stories 14, 15 and 19 of the spec. Wireframe: `p1-s3a-community-app.html` (the HO/DO card). ## What to build One card, in the same place on both surfaces, that always says where the community's app is. It sits with the standing checks, it blocks nothing, and it is the same record on both screens. ## Acceptance criteria - [ ] On an IDIP community, both the operator home and the dashboard overview render exactly one app card with one state of `pending | ready | failed | none`, read from the same record - [ ] On a kanidm community, neither surface renders a card - [ ] The card never contributes to any health, hand-off or blocking verdict on either surface - [ ] `pending` reads *Your community app — being built* with *submitted to Coa ‹relative time›* and an action that opens Coa's page for the community - [ ] `failed` reads *Your community app — the build failed* and shows the reason - [ ] `none` reads *Your community app — not yet designed* with *your members sign in through the browser until you build one* and the action that opens the dashboard twin - [ ] Both surfaces render from the record after a restart or reload ## Blocked by Tracker: #1514, #1515 - T5 (the record), T6 (something that writes it) ## Task manifest ```yaml task: app-card implements_flow: community-app-journey wireframe: docs/ux/wireframes/p1-founding/p1-s3a-community-app.html seam: operator-app + dashboard component tests over the control-API shape depends_on: [pairing:app-record, pairing:pipeline-tail-probe-and-submit] out_of_scope: [the poll, the ready state's downloads, the twin's form] needs_human_decision: [] ```

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

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

close-report for #1516 — status success

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

envelope
{
  "issue": 1516,
  "status": "success",
  "commits": [
    "34ccc18420ea39e72b1532d0f9794e7d86b7313e"
  ],
  "changed_files": [
    "STATUS.md",
    "app/src/bootstrap.ts",
    "app/src/components/AppShell.vue",
    "app/src/components/shell/OperatorHomeScreen.vue",
    "app/src/components/shell/RestingRoot.vue",
    "app/src/lib/communityApp.ts",
    "app/tests/unit/operatorHomeCommunityApp.test.ts",
    "dashboard/src/components/shell/OverviewScreen.vue",
    "dashboard/src/components/shell/OverviewSurface.vue",
    "dashboard/src/lib/api/communityAppClient.ts",
    "dashboard/src/lib/communityAppCard.ts",
    "dashboard/src/lib/mountRegistry.ts",
    "dashboard/tests/fakes/communityApp.ts",
    "dashboard/tests/unit/overviewCommunityApp.test.ts",
    "packages/ui-kit/package.json",
    "packages/ui-kit/src/communityAppCard.ts",
    "packages/ui-kit/src/components/OcCommunityAppCard.vue",
    "packages/ui-kit/src/index.ts",
    "packages/ui-kit/tests/unit/communityAppCard.test.ts",
    "packages/ui-kit/tests/unit/ocCommunityAppCard.test.ts"
  ],
  "tests": [
    {
      "command": "pnpm --filter @idss/ui-kit exec vitest run tests/unit/communityAppCard.test.ts tests/unit/ocCommunityAppCard.test.ts",
      "exit_code": 0
    },
    {
      "command": "pnpm --filter @idss/dashboard exec vitest run tests/unit/overviewCommunityApp.test.ts tests/unit/compositionHygiene.test.ts",
      "exit_code": 0
    },
    {
      "command": "pnpm --filter @idss/dashboard exec vitest run (full suite, 130 files)",
      "exit_code": 0
    },
    {
      "command": "pnpm --filter @idss/app exec vitest run tests/unit/operatorHomeCommunityApp.test.ts tests/unit/productTypeScale.test.ts tests/unit/operatorHome.test.ts tests/unit/restingRoot.test.ts tests/unit/appShell.test.ts",
      "exit_code": 0
    },
    {
      "command": "pnpm --filter @idss/{app,dashboard,ui-kit} exec vue-tsc --noEmit -p tsconfig.json",
      "exit_code": 0
    },
    {
      "command": "eslint . (pre-push gate)",
      "exit_code": 0
    }
  ],
  "criteria": {
    "On an IDIP community, both surfaces render exactly one app card with one state of pending|ready|failed|none, read from the same record": "OcCommunityAppCard renders one data-field=community-app row with one data-status from resolveCommunityAppCard over the control-API CommunityAppCardView; both surfaces read GET /api/v1/community-app (dashboard: api/communityAppClient.ts; app: lib/communityApp.ts). Asserted: overviewCommunityApp.test.ts + operatorHomeCommunityApp.test.ts ('renders exactly one card with one state').",
    "On a kanidm community, neither surface renders a card": "The record route is mounted only on productionIdip, so a kanidm community answers 404; both sources fold 404/absent to null and OcCommunityAppCard renders nothing (v-if). Asserted: 'renders NO card on a kanidm community' in both surface tests + ocCommunityAppCard.test.ts null-view.",
    "The card never contributes to any health, hand-off or blocking verdict on either surface": "Dashboard: card is outside the system-alert box and needs-attention queue, read outside the aggregating guard — a failed card leaves system-alert data-status=healthy (overviewCommunityApp.test.ts). App: card rides the standing-checks block, healthy pill untouched (operatorHomeCommunityApp.test.ts).",
    "pending reads 'Your community app — being built' with 'submitted to Coa ‹relative time›' and an action that opens Coa's page for the community": "resolveCommunityAppCard pending branch: title, detail 'submitted to Coa '+submittedAgo, action open-coa-page (data-action=app-details, href=pageUrl). Asserted in communityAppCard.test.ts + both surface tests (href = Coa page).",
    "failed reads 'Your community app — the build failed' and shows the reason": "resolveCommunityAppCard failed branch: title + detail = view.reason verbatim. Asserted in communityAppCard.test.ts + both surface tests (reason text rendered).",
    "none reads 'Your community app — not yet designed' with 'your members sign in through the browser until you build one' and the action that opens the dashboard twin": "resolveCommunityAppCard none branch: title, detail line, action design-app. App routes design-app to the dashboard (navigate to admin.<apex>); dashboard emits route {action:design-app, owner:community-app} (the twin's slice). Asserted in both surface tests.",
    "Both surfaces render from the record after a restart or reload": "Both surfaces re-read the durable record on mount (onMounted load); a fresh mount re-renders the card. Asserted 'renders from the record after a reload' in both surface tests."
  },
  "summary": "One shared community-app card (ui-kit resolver + OcCommunityAppCard.vue) on the operator home and the dashboard overview, reading the same control-plane record, rendering pending/ready/failed/none, absent on kanidm (route 404), blocking nothing.",
  "reason": "",
  "blockers": [],
  "no_code_change": ""
}
**close-report** for #1516 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against main; issue closed. <details><summary>envelope</summary> ```json { "issue": 1516, "status": "success", "commits": [ "34ccc18420ea39e72b1532d0f9794e7d86b7313e" ], "changed_files": [ "STATUS.md", "app/src/bootstrap.ts", "app/src/components/AppShell.vue", "app/src/components/shell/OperatorHomeScreen.vue", "app/src/components/shell/RestingRoot.vue", "app/src/lib/communityApp.ts", "app/tests/unit/operatorHomeCommunityApp.test.ts", "dashboard/src/components/shell/OverviewScreen.vue", "dashboard/src/components/shell/OverviewSurface.vue", "dashboard/src/lib/api/communityAppClient.ts", "dashboard/src/lib/communityAppCard.ts", "dashboard/src/lib/mountRegistry.ts", "dashboard/tests/fakes/communityApp.ts", "dashboard/tests/unit/overviewCommunityApp.test.ts", "packages/ui-kit/package.json", "packages/ui-kit/src/communityAppCard.ts", "packages/ui-kit/src/components/OcCommunityAppCard.vue", "packages/ui-kit/src/index.ts", "packages/ui-kit/tests/unit/communityAppCard.test.ts", "packages/ui-kit/tests/unit/ocCommunityAppCard.test.ts" ], "tests": [ { "command": "pnpm --filter @idss/ui-kit exec vitest run tests/unit/communityAppCard.test.ts tests/unit/ocCommunityAppCard.test.ts", "exit_code": 0 }, { "command": "pnpm --filter @idss/dashboard exec vitest run tests/unit/overviewCommunityApp.test.ts tests/unit/compositionHygiene.test.ts", "exit_code": 0 }, { "command": "pnpm --filter @idss/dashboard exec vitest run (full suite, 130 files)", "exit_code": 0 }, { "command": "pnpm --filter @idss/app exec vitest run tests/unit/operatorHomeCommunityApp.test.ts tests/unit/productTypeScale.test.ts tests/unit/operatorHome.test.ts tests/unit/restingRoot.test.ts tests/unit/appShell.test.ts", "exit_code": 0 }, { "command": "pnpm --filter @idss/{app,dashboard,ui-kit} exec vue-tsc --noEmit -p tsconfig.json", "exit_code": 0 }, { "command": "eslint . (pre-push gate)", "exit_code": 0 } ], "criteria": { "On an IDIP community, both surfaces render exactly one app card with one state of pending|ready|failed|none, read from the same record": "OcCommunityAppCard renders one data-field=community-app row with one data-status from resolveCommunityAppCard over the control-API CommunityAppCardView; both surfaces read GET /api/v1/community-app (dashboard: api/communityAppClient.ts; app: lib/communityApp.ts). Asserted: overviewCommunityApp.test.ts + operatorHomeCommunityApp.test.ts ('renders exactly one card with one state').", "On a kanidm community, neither surface renders a card": "The record route is mounted only on productionIdip, so a kanidm community answers 404; both sources fold 404/absent to null and OcCommunityAppCard renders nothing (v-if). Asserted: 'renders NO card on a kanidm community' in both surface tests + ocCommunityAppCard.test.ts null-view.", "The card never contributes to any health, hand-off or blocking verdict on either surface": "Dashboard: card is outside the system-alert box and needs-attention queue, read outside the aggregating guard — a failed card leaves system-alert data-status=healthy (overviewCommunityApp.test.ts). App: card rides the standing-checks block, healthy pill untouched (operatorHomeCommunityApp.test.ts).", "pending reads 'Your community app — being built' with 'submitted to Coa ‹relative time›' and an action that opens Coa's page for the community": "resolveCommunityAppCard pending branch: title, detail 'submitted to Coa '+submittedAgo, action open-coa-page (data-action=app-details, href=pageUrl). Asserted in communityAppCard.test.ts + both surface tests (href = Coa page).", "failed reads 'Your community app — the build failed' and shows the reason": "resolveCommunityAppCard failed branch: title + detail = view.reason verbatim. Asserted in communityAppCard.test.ts + both surface tests (reason text rendered).", "none reads 'Your community app — not yet designed' with 'your members sign in through the browser until you build one' and the action that opens the dashboard twin": "resolveCommunityAppCard none branch: title, detail line, action design-app. App routes design-app to the dashboard (navigate to admin.<apex>); dashboard emits route {action:design-app, owner:community-app} (the twin's slice). Asserted in both surface tests.", "Both surfaces render from the record after a restart or reload": "Both surfaces re-read the durable record on mount (onMounted load); a fresh mount re-renders the card. Asserted 'renders from the record after a reload' in both surface tests." }, "summary": "One shared community-app card (ui-kit resolver + OcCommunityAppCard.vue) on the operator home and the dashboard overview, reading the same control-plane record, rendering pending/ready/failed/none, absent on kanidm (route 404), blocking nothing.", "reason": "", "blockers": [], "no_code_change": "" } ``` </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#1516
No description provided.