feat(FN-936): add modal description persistence for re-entry

- Add modalPersistence hook for saving/restoring modal state (description, goal) via localStorage
- Update PlanningModeModal to persist and restore description across re-opens
- Update SubtaskBreakdownModal to persist and clear description on resume flow
- Update MissionInterviewModal to clear goal after starting interview
- Add unit tests for modalPersistence hook
- Add integration tests for modal re-entry behavior across all three modals
- Add changeset for published package patch bump
This commit is contained in:
gsxdsm
2026-04-04 15:56:46 -07:00
parent 4b6f4b75b0
commit 3bfaa6070e
8 changed files with 702 additions and 7 deletions

View File

@@ -0,0 +1,7 @@
---
"@gsxdsm/fusion": minor
---
Enable re-entering closed modals (Planning, Subtask, Mission) with persisted descriptions.
Users can now close any of these modals and re-enter by clicking the respective button again. The last entered description is persisted in localStorage and auto-populated on re-entry.