gsxdsm
003c5d01c0
FN-6914: preserve quick-add drafts for planning
Keep quick-add and inline-create drafts intact while planning is open, and clear them only after planning creates tasks.
- Stop resetting QuickEntryBox and InlineCreateCard state when handing text to planning mode.
- Clear scoped quick-entry and inline-create drafts after single-task or multi-task planning completion.
- Update component and modal-manager tests for preserved drafts, retained options, and completion cleanup.
Files changed:
packages/dashboard/app/components/InlineCreateCard.tsx | 25 ++------
packages/dashboard/app/components/QuickEntryBox.tsx | 8 ++-
.../components/__tests__/InlineCreateCard.test.tsx | 9 +--
.../components/__tests__/QuickEntryBox.test.tsx | 73 +++++++++++++++-------
.../app/hooks/__tests__/useModalManager.test.ts | 53 +++++++++++++++-
packages/dashboard/app/hooks/useModalManager.ts | 16 ++++-
6 files changed, 131 insertions(+), 53 deletions(-)
Fusion-Task-Id: FN-6914
Fusion-Task-Lineage: f7241ae3-658d-48d4-b730-cd3169aec8c8
2026-06-22 18:03:53 -07:00
..
2026-06-21 23:44:26 -07:00
2026-06-19 07:34:26 -07:00
2026-06-22 17:58:27 -07:00
2026-06-22 18:03:53 -07:00
2026-06-21 13:25:41 -07:00
2026-06-21 23:44:26 -07:00
2026-06-22 17:58:27 -07:00
2026-06-22 10:44:23 -07:00
2026-06-19 07:34:26 -07:00
2026-06-20 21:32:43 -07:00
2026-06-08 15:19:27 -07:00
2026-06-19 07:34:26 -07:00