FN-5895: fix MissionManager interview resume behavior
Keep MissionManager mission interview state and detail rendering in sync while stabilizing the failing test coverage. - reload assertion-linked feature data when mission details or milestone panels load - keep selected mission detail state synchronized after mission update events instead of forcing a full mission reload - hide the sidebar edit form while the selected mission is already being edited in the detail pane - add a non-destructive Send to background action for resume-launched mission interview modals - tighten MissionManager tests to target the detail pane and slice-scoped controls that now render alongside sidebar content Files changed: docs/missions.md | 2 +- .../app/components/MissionInterviewModal.tsx | 30 ++++++++ .../dashboard/app/components/MissionManager.tsx | 77 +++++++++++-------- .../components/__tests__/MissionManager.test.tsx | 88 +++++++++++++++------- 4 files changed, 137 insertions(+), 60 deletions(-) Fusion-Task-Id: FN-5895 Fusion-Task-Lineage: d018a945-33a7-4471-9636-35bc36dc88a9
This commit is contained in:
@@ -159,7 +159,7 @@ The dashboard supports mission planning workflows where you can:
|
||||
- Track progress at each layer
|
||||
- Persisted missions with `interviewState: "in_progress"` remain visible as interview-styled mission cards in the main mission list so planning work does not disappear after reloads
|
||||
- Resume in-progress mission interview sessions directly from separate transient session rows in the main missions list (`mission_interview` sessions in `generating`, `awaiting_input`, `error`, or `complete`) before a mission record is created; `complete` means the plan summary is ready for review/approval but has not been converted into a mission yet
|
||||
- Mission interview closes are non-destructive: the modal now uses a single close action for header close, backdrop click, and Escape. Closing preserves the in-progress `mission_interview` session, and Missions re-fetches project-scoped transient rows (including on the mobile stacked Missions view) so resume/retry remains discoverable without losing persisted `interviewState: "in_progress"` mission cards. Deletion remains an explicit sidebar action.
|
||||
- Mission interview closes are non-destructive: the modal now uses a single close action for header close, backdrop click, and Escape. Closing preserves the in-progress `mission_interview` session, and Missions re-fetches project-scoped transient rows (including on the mobile stacked Missions view) so resume/retry remains discoverable without losing persisted `interviewState: "in_progress"` mission cards. Resume-launched interview modals also expose a **Send to background** action that performs the same non-destructive park without cancelling the session. Deletion remains an explicit sidebar action.
|
||||
- Mission interview, milestone interview, and slice interview agents have read-only board visibility via `fn_task_list` and `fn_task_get`, so they can reference active backlog context and avoid duplicating in-flight tasks while asking planning questions
|
||||
|
||||
### Mission Interview Drafts
|
||||
|
||||
Reference in New Issue
Block a user