gsxdsm
d984fce0ad
FN-6984: fix mission draft discard scoping
Fix mission interview draft discard so the Missions view can remove the intended draft without crossing project or tab ownership boundaries.
- Send the current session tab id when discarding drafts from MissionManager.
- Scope backend discard handling to mission-interview rows in the requested project.
- Cover desktop, mobile, stale, locked, project-scoped, and owning-tab discard cases.
- Add a patch changeset for the published CLI package.
Files changed:
.changeset/fn-6984-mission-draft-discard.md | 7 ++
.../dashboard/app/components/MissionManager.tsx | 8 +-
.../MissionManager.delete-confirm.test.tsx | 137 +++++++++++++++++++++
.../mission-interview-drafts-routes.test.ts | 46 +++++++
packages/dashboard/src/mission-interview.ts | 28 ++++-
packages/dashboard/src/mission-routes.ts | 5 +-
6 files changed, 223 insertions(+), 8 deletions(-)
Fusion-Task-Id: FN-6984
Fusion-Task-Lineage: dff01077-6e37-4ff9-9e5e-7eb24f0e010a
2026-06-25 08:34:44 -07:00
..
2026-06-25 08:27:41 -07:00
2026-06-24 23:56:23 -07:00
2026-06-25 08:34:44 -07:00
2026-06-25 08:34:44 -07:00
2026-06-24 23:56:23 -07:00
2026-06-24 23:56:23 -07:00
2026-06-25 08:34:44 -07:00
2026-06-24 23:56:23 -07:00
2026-06-24 23:56:23 -07:00
2026-06-24 23:56:23 -07:00
2026-06-08 15:19:27 -07:00
2026-06-24 23:56:23 -07:00