gsxdsm
0a50e2142d
FN-9143: inherit selected workflow in New Task dialog
Make every New Task entry point seed the dialog from the active Board or List workflow.
- Resolve implicit workflow selection through the modal manager while preserving explicit choices and All workflows behavior.
- Forward selected workflow IDs from List view and navigation-backed dialog entry points.
- Add cross-surface regression coverage, operator documentation, and a patch changeset.
Files changed:
.changeset/fn-9143-new-task-selected-workflow.md | 7 +++
docs/dashboard-guide.md | 2 +-
packages/dashboard/app/App.tsx | 4 +-
packages/dashboard/app/components/AppModals.tsx | 4 +-
packages/dashboard/app/components/Column.tsx | 4 +-
.../dashboard/app/components/LeftSidebarNav.tsx | 4 +-
packages/dashboard/app/components/ListView.tsx | 7 ++-
.../components/__tests__/LeftSidebarNav.test.tsx | 1 +
.../app/components/__tests__/ListView.test.tsx | 13 +++--
.../new-task-dialog-selected-workflow.test.tsx | 46 ++++++++++++++++++
.../dashboard/app/components/dashboard/types.ts | 2 +-
.../app/hooks/__tests__/useModalManager.test.ts | 55 ++++++++++++++++++++++
packages/dashboard/app/hooks/useModalManager.ts | 19 ++++++--
13 files changed, 148 insertions(+), 20 deletions(-)
Fusion-Task-Id: FN-9143
Fusion-Task-Lineage: 43951c5d-24d2-4243-826a-c6f416607882
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>