gsxdsm
89b4621a93
FN-8607: migrate shared modals to FloatingWindow
Standardize agent, onboarding, and utility modal behavior on the shared FloatingWindow contract.
- Migrate modal hosts to shared geometry, sheet, dismissal, and focus behavior.
- Make FloatingWindow the sole owner of modal ARIA semantics and protect portal-safe dismissal surfaces.
- Cover migrated modal contracts and document the responsive sheet requirements.
Files changed:
docs/dashboard-guide.md | 6 +-
packages/dashboard/app/components/AgentGenerationModal.tsx | 8 +-
packages/dashboard/app/components/AgentImportModal.tsx | 4 +-
packages/dashboard/app/components/AgentListModal.tsx | 4 +-
packages/dashboard/app/components/AgentOnboardingModal.tsx | 4 +-
packages/dashboard/app/components/DockerNodeOnboardingModal.tsx | 4 +-
packages/dashboard/app/components/ExperimentalAgentOnboardingModal.tsx | 4 +-
packages/dashboard/app/components/FloatingWindow.css | 36 ++++--
packages/dashboard/app/components/FloatingWindow.tsx | 12 ++
packages/dashboard/app/components/MilestoneSliceInterviewModal.tsx | 2 +-
packages/dashboard/app/components/NativeShellOnboardingModal.tsx | 2 +-
packages/dashboard/app/components/SetupWizardModal.tsx | 3 +-
packages/dashboard/app/components/SubtaskBreakdownModal.tsx | 2 +-
packages/dashboard/app/components/__tests__/AgentModals.floatingWindow.test.tsx | 134 ++++++++++++++++++---
packages/dashboard/app/components/__tests__/OnboardingModals.floatingWindow.test.tsx | 128 +++++++++++++++++---
packages/dashboard/app/components/__tests__/UtilityModals.floatingWindow.test.tsx | 124 +++++++++++++++++--
packages/dashboard/app/components/__tests__/migratedModalFixtures.tsx | 59 ++++++---
packages/dashboard/app/components/__tests__/modalFloatingWindowContract.test.tsx | 20 ++-
18 files changed, 458 insertions(+), 98 deletions(-)
Fusion-Task-Id: FN-8607
Fusion-Task-Lineage: 11ba6a9c-ce89-4358-83c4-a15ef15b6128
Co-authored-by: Fusion (runfusion.ai) <noreply@runfusion.ai>
2026-07-26 18:57:02 -07:00
..
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:57:02 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00
2026-07-26 18:11:47 -07:00