build: two rail-foot doors + kind-by-door dialog (Report an issue / Request an improvement) — #2064 #2065

Closed
opened 2026-10-23 18:28:36 +00:00 by matou-build-agent · 1 comment

Parent

  • Spec: #2064
  • Design pass: #2051 · Root app report: #2047
  • DDR 0296; flow docs/ux/flows/shell-report-and-request.mermaid; wireframes docs/ux/wireframes/shell-report-and-request/.

What to build

Split the one Report an issue button into two rail-foot doors — Report an issue and Request an improvement — that open the same dialog with the kind fixed by the door, and remove the kind radio from the dialog. Dashboard-only: the kind already rides the ReportSend payload and the broker's unfenced - Kind: bullet, so no broker/golden/intake/gate change is needed (research §2 Q3, DDR 0296 §2).

The operator sees two buttons under Sign out (where one stood); pressing each opens the kit modal already set to its kind, with the matching lede, field labels, title and primary-button wording; send, receipt and fail-loud behaviour are unchanged.

Acceptance criteria

  • Both Report an issue and Request an improvement render side by side at the rail foot under Sign out, gated by canReportIssue (RR-B / rr-b-two-doors.html); neither shows when a report cannot be sent.
  • Report an issue emits report-issue; the frame opens the dialog with kind=bug, bug lede/labels, title "Report an issue", no kind radio (RR-DR / rr-dr-report-compose.html).
  • Request an improvement emits request-improvement; the same dialog component opens with kind=improvement, improvement lede/labels, title "Request an improvement", primary "Send request" (RR-DQ / rr-dq-request-compose.html).
  • A sent report/request lands on the per-kind receipt ("Report sent" / "Request sent"; RR-DRs / RR-DQs); a refusal/outage lands on the single fail-loud shape (RR-DRx); an empty field keeps Send disabled.
  • A filed improvement still carries - Kind: improvement and title App report from <slug>; the broker, golden body, intake check and relevance gate are untouched by this slice.
  • Dashboard component + NavChrome tests cover the two kinds and the two intents; TestClient_ReportIssueWirePayloadIsExactlyPinned still passes (kind unchanged).

Blocked by

  • #2051 (the design PR must land on main first — don't build against wireframes not yet merged).

Task manifest

task: two-door-split
implements_flow: shell-report-and-request
implements_edge: RR-B→RR-DR, RR-B→RR-DQ
wireframe:
  - docs/ux/wireframes/shell-report-and-request/rr-b-two-doors.html
  - docs/ux/wireframes/shell-report-and-request/rr-dr-report-compose.html
  - docs/ux/wireframes/shell-report-and-request/rr-dq-request-compose.html
interface: |
  NavChrome emits: 'report-issue' | 'request-improvement'
  ReportIssueDialog props: { kind: 'bug' | 'improvement', ... }  (kind radio removed)
binds:
  - symbol: request-improvement (NavChrome emit)
    defined_in: packages/ui-kit/src/components/NavChrome.vue
  - symbol: kind (ReportIssueDialog prop)
    defined_in: dashboard/src/components/shell/ReportIssueDialog.vue
seam: dashboard/tests/unit (ReportIssueDialog over the injected ReportIssueSource) + packages/ui-kit NavChrome tests
unproven_by_seam: none beyond the usual — this slice has no live backend leg (the wire and broker are unchanged)
acceptance:
  - given: a community with canReportIssue
    when: the rail foot renders
    then: both doors show side by side under Sign out
  - given: the rail foot
    when: Request an improvement is pressed
    then: request-improvement is emitted and the one dialog opens with kind=improvement, no radio
depends_on: []
out_of_scope: [contact-offer, broker-changes, golden-body, intake-check, gate]
needs_human_decision: []
<!-- origin: app-report #2047 --> ## Parent - Spec: #2064 - Design pass: #2051 · Root app report: #2047 - DDR 0296; flow `docs/ux/flows/shell-report-and-request.mermaid`; wireframes `docs/ux/wireframes/shell-report-and-request/`. ## What to build Split the one **Report an issue** button into **two rail-foot doors** — Report an issue and Request an improvement — that open the **same dialog** with the kind fixed by the door, and **remove the kind radio** from the dialog. Dashboard-only: the kind already rides the `ReportSend` payload and the broker's unfenced `- Kind:` bullet, so no broker/golden/intake/gate change is needed (research §2 Q3, DDR 0296 §2). The operator sees two buttons under Sign out (where one stood); pressing each opens the kit modal already set to its kind, with the matching lede, field labels, title and primary-button wording; send, receipt and fail-loud behaviour are unchanged. ## Acceptance criteria - [ ] Both **Report an issue** and **Request an improvement** render side by side at the rail foot under Sign out, gated by `canReportIssue` (RR-B / `rr-b-two-doors.html`); neither shows when a report cannot be sent. - [ ] **Report an issue** emits `report-issue`; the frame opens the dialog with `kind=bug`, bug lede/labels, title "Report an issue", **no kind radio** (RR-DR / `rr-dr-report-compose.html`). - [ ] **Request an improvement** emits `request-improvement`; the **same** dialog component opens with `kind=improvement`, improvement lede/labels, title "Request an improvement", primary "Send request" (RR-DQ / `rr-dq-request-compose.html`). - [ ] A sent report/request lands on the per-kind receipt ("Report sent" / "Request sent"; RR-DRs / RR-DQs); a refusal/outage lands on the single fail-loud shape (RR-DRx); an empty field keeps Send disabled. - [ ] A filed improvement still carries `- Kind: improvement` and title `App report from <slug>`; the broker, golden body, intake check and relevance gate are untouched by this slice. - [ ] Dashboard component + `NavChrome` tests cover the two kinds and the two intents; `TestClient_ReportIssueWirePayloadIsExactlyPinned` still passes (kind unchanged). ## Blocked by - #2051 (the design PR must land on `main` first — don't build against wireframes not yet merged). ## Task manifest ```yaml task: two-door-split implements_flow: shell-report-and-request implements_edge: RR-B→RR-DR, RR-B→RR-DQ wireframe: - docs/ux/wireframes/shell-report-and-request/rr-b-two-doors.html - docs/ux/wireframes/shell-report-and-request/rr-dr-report-compose.html - docs/ux/wireframes/shell-report-and-request/rr-dq-request-compose.html interface: | NavChrome emits: 'report-issue' | 'request-improvement' ReportIssueDialog props: { kind: 'bug' | 'improvement', ... } (kind radio removed) binds: - symbol: request-improvement (NavChrome emit) defined_in: packages/ui-kit/src/components/NavChrome.vue - symbol: kind (ReportIssueDialog prop) defined_in: dashboard/src/components/shell/ReportIssueDialog.vue seam: dashboard/tests/unit (ReportIssueDialog over the injected ReportIssueSource) + packages/ui-kit NavChrome tests unproven_by_seam: none beyond the usual — this slice has no live backend leg (the wire and broker are unchanged) acceptance: - given: a community with canReportIssue when: the rail foot renders then: both doors show side by side under Sign out - given: the rail foot when: Request an improvement is pressed then: request-improvement is emitted and the one dialog opens with kind=improvement, no radio depends_on: [] out_of_scope: [contact-offer, broker-changes, golden-body, intake-check, gate] needs_human_decision: [] ```
Author
Member

close-report for #2065 — status success

✅ close-report gates passed — every claim verified against the PR head. PR #2071 (#2071) is open and green; a human merges it and the merge closes this issue via closes #2065 (MERGE_AUTHORITY=human).

envelope
{
  "issue": 2065,
  "status": "success",
  "commits": [
    "8f5b7a61055a6a234242fe895513f301d08dc4b0"
  ],
  "changed_files": [
    "STATUS.md",
    "dashboard/src/components/DashboardComposition.vue",
    "dashboard/src/components/DashboardShell.vue",
    "dashboard/src/components/shell/ReportIssueDialog.vue",
    "dashboard/src/lib/dashboardNavigator.ts",
    "dashboard/src/lib/navigation.ts",
    "dashboard/tests/e2e/preview-harness/reportIssue.spec.ts",
    "dashboard/tests/fakes/navigation.ts",
    "dashboard/tests/unit/dashboardComposition.test.ts",
    "dashboard/tests/unit/dashboardNavigator.test.ts",
    "dashboard/tests/unit/dashboardShell.test.ts",
    "dashboard/tests/unit/reportIssueDialog.test.ts",
    "packages/ui-kit/src/components/NavChrome.vue",
    "packages/ui-kit/src/i18n/index.ts",
    "packages/ui-kit/tests/unit/navChromeSidebar.test.ts"
  ],
  "tests": [
    {
      "command": "node_modules/.bin/eslint . (repo-wide)",
      "exit_code": 0
    },
    {
      "command": "packages/ui-kit: vitest run (240 passed)",
      "exit_code": 0
    },
    {
      "command": "dashboard: vitest run (2246 passed / 5 skipped)",
      "exit_code": 0
    },
    {
      "command": "packages/ui-kit: vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    },
    {
      "command": "dashboard: vue-tsc -p tsconfig.json --noEmit",
      "exit_code": 0
    }
  ],
  "criteria": {
    "Both doors render side by side at the rail foot under Sign out, gated by canReportIssue (RR-B)": "packages/ui-kit/src/components/NavChrome.vue (report-and-request-doors div, v-if=canReportIssue); navChromeSidebar.test.ts 'both doors sit side by side under Sign out' asserts actions ['sign-out','report-issue','request-improvement'] and 'both doors are absent unless the consumer says a report can be sent'",
    "Report an issue emits report-issue; dialog opens with kind=bug, bug lede/labels, title 'Report an issue', no kind radio (RR-DR)": "NavChrome emits report-issue; DashboardShell.onReportIssue -> navigator.reportIssue('bug'); ReportIssueDialog.vue kind prop drives copy; reportIssueDialog.test.ts 'the bug door wears the bug copy ... and NO kind radio'",
    "Request an improvement emits request-improvement; the SAME dialog opens with kind=improvement, improvement lede/labels, title 'Request an improvement', primary 'Send request' (RR-DQ)": "NavChrome emits request-improvement; DashboardShell.onRequestImprovement -> reportIssue('improvement'); reportIssueDialog.test.ts 'the improvement door wears the improvement copy' + dashboardComposition.test.ts 'pressing Request an improvement opens the SAME dialog with kind=improvement'",
    "Sent report/request lands per-kind receipt; refusal/outage lands single fail-loud shape; empty field keeps Send disabled": "ReportIssueDialog.vue dialogTitle/copy.noun parameterised by kind (Report sent / Request sent); existing fail-loud + canSend logic unchanged; reportIssueDialog.test.ts 'Send is disabled until both ...' and 'a failure is the one shape ...' still green",
    "A filed improvement still carries - Kind: improvement and title App report from <slug>; broker/golden/intake/gate untouched": "no broker/Go/golden/intake/gate file in changed_files; ReportSend payload (kind) unchanged; onSend sends kind: props.kind",
    "Dashboard component + NavChrome tests cover the two kinds and intents; TestClient_ReportIssueWirePayloadIsExactlyPinned still passes (kind unchanged)": "navChromeSidebar.test.ts + reportIssueDialog/dashboardNavigator/dashboardShell/dashboardComposition suites green; wire pinned test touches no changed Go file (not runnable in this sandbox - no Go toolchain)"
  },
  "binds": [
    {
      "symbol": "request-improvement (NavChrome emit)",
      "defined_in": "packages/ui-kit/src/components/NavChrome.vue"
    },
    {
      "symbol": "kind (ReportIssueDialog prop)",
      "defined_in": "dashboard/src/components/shell/ReportIssueDialog.vue"
    }
  ],
  "summary": "Split the App report button into two rail-foot doors opening one dialog parameterised by kind, with the kind radio removed (DDR 0296 section 2).",
  "blockers": []
}
**close-report** for #2065 — status `success` :white_check_mark: **close-report gates passed** — every claim verified against the PR head. PR #2071 (https://git.matou.nz/Matou/idss/pulls/2071) is open and green; a human merges it and the merge closes this issue via `closes #2065` (MERGE_AUTHORITY=human). <details><summary>envelope</summary> ```json { "issue": 2065, "status": "success", "commits": [ "8f5b7a61055a6a234242fe895513f301d08dc4b0" ], "changed_files": [ "STATUS.md", "dashboard/src/components/DashboardComposition.vue", "dashboard/src/components/DashboardShell.vue", "dashboard/src/components/shell/ReportIssueDialog.vue", "dashboard/src/lib/dashboardNavigator.ts", "dashboard/src/lib/navigation.ts", "dashboard/tests/e2e/preview-harness/reportIssue.spec.ts", "dashboard/tests/fakes/navigation.ts", "dashboard/tests/unit/dashboardComposition.test.ts", "dashboard/tests/unit/dashboardNavigator.test.ts", "dashboard/tests/unit/dashboardShell.test.ts", "dashboard/tests/unit/reportIssueDialog.test.ts", "packages/ui-kit/src/components/NavChrome.vue", "packages/ui-kit/src/i18n/index.ts", "packages/ui-kit/tests/unit/navChromeSidebar.test.ts" ], "tests": [ { "command": "node_modules/.bin/eslint . (repo-wide)", "exit_code": 0 }, { "command": "packages/ui-kit: vitest run (240 passed)", "exit_code": 0 }, { "command": "dashboard: vitest run (2246 passed / 5 skipped)", "exit_code": 0 }, { "command": "packages/ui-kit: vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 }, { "command": "dashboard: vue-tsc -p tsconfig.json --noEmit", "exit_code": 0 } ], "criteria": { "Both doors render side by side at the rail foot under Sign out, gated by canReportIssue (RR-B)": "packages/ui-kit/src/components/NavChrome.vue (report-and-request-doors div, v-if=canReportIssue); navChromeSidebar.test.ts 'both doors sit side by side under Sign out' asserts actions ['sign-out','report-issue','request-improvement'] and 'both doors are absent unless the consumer says a report can be sent'", "Report an issue emits report-issue; dialog opens with kind=bug, bug lede/labels, title 'Report an issue', no kind radio (RR-DR)": "NavChrome emits report-issue; DashboardShell.onReportIssue -> navigator.reportIssue('bug'); ReportIssueDialog.vue kind prop drives copy; reportIssueDialog.test.ts 'the bug door wears the bug copy ... and NO kind radio'", "Request an improvement emits request-improvement; the SAME dialog opens with kind=improvement, improvement lede/labels, title 'Request an improvement', primary 'Send request' (RR-DQ)": "NavChrome emits request-improvement; DashboardShell.onRequestImprovement -> reportIssue('improvement'); reportIssueDialog.test.ts 'the improvement door wears the improvement copy' + dashboardComposition.test.ts 'pressing Request an improvement opens the SAME dialog with kind=improvement'", "Sent report/request lands per-kind receipt; refusal/outage lands single fail-loud shape; empty field keeps Send disabled": "ReportIssueDialog.vue dialogTitle/copy.noun parameterised by kind (Report sent / Request sent); existing fail-loud + canSend logic unchanged; reportIssueDialog.test.ts 'Send is disabled until both ...' and 'a failure is the one shape ...' still green", "A filed improvement still carries - Kind: improvement and title App report from <slug>; broker/golden/intake/gate untouched": "no broker/Go/golden/intake/gate file in changed_files; ReportSend payload (kind) unchanged; onSend sends kind: props.kind", "Dashboard component + NavChrome tests cover the two kinds and intents; TestClient_ReportIssueWirePayloadIsExactlyPinned still passes (kind unchanged)": "navChromeSidebar.test.ts + reportIssueDialog/dashboardNavigator/dashboardShell/dashboardComposition suites green; wire pinned test touches no changed Go file (not runnable in this sandbox - no Go toolchain)" }, "binds": [ { "symbol": "request-improvement (NavChrome emit)", "defined_in": "packages/ui-kit/src/components/NavChrome.vue" }, { "symbol": "kind (ReportIssueDialog prop)", "defined_in": "dashboard/src/components/shell/ReportIssueDialog.vue" } ], "summary": "Split the App report button into two rail-foot doors opening one dialog parameterised by kind, with the kind radio removed (DDR 0296 section 2).", "blockers": [] } ``` </details>
ben closed this issue 2026-11-04 21:21:51 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
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#2065
No description provided.