Skip to content

Migrate dialogs, toasts, chrome & theme to Svelte #220

Closed

Description

@CameronBrooks11

What

Migrate the remaining chrome to Svelte: dialogs, toast notifications, the CLI-health warning, the error boundary, and theme management — plus finalize the shared UI primitive set.

Why

Completes the non-workspace surface so the cutover has nothing left on React. Can run in parallel with #217/D/E once the primitives from #215 exist.

Where

fiberpath_gui/src/components/dialogs/ (BaseDialog 52, AboutDialog, DiagnosticsDialog 162, ExportConfirmationDialog, CliUnavailableDialog 230), components/Toast/ToastContainer.tsx, stores/toastStore.ts (50), components/CliHealthWarning.tsx, components/ErrorBoundary.tsx (64), hooks/useTheme.ts (103), hooks/useCliHealth.ts (168); dialogs.css (545), notifications.css (165).

Scope

  • Dialog.svelte (portal/overlay, click-outside) + About / Diagnostics / Export-confirmation / CLI-unavailable dialogs; lazy-load dialogs via dynamic import as today.
  • ToastContainer + a toast session module (replaces toastStore).
  • CLI-health warning banner + health polling; theme management (dark / light / system).
  • Error-boundary equivalent via Svelte <svelte:boundary> with reload.
  • Finalize shared primitives (Dialog, SplitPane, and any not added in Svelte 5 foundation + config-forms vertical slice (decision gate) #215).

Acceptance criteria

  • All dialogs, toasts, health-warning banner, and theme switching at parity; dialogs lazy-loaded.
  • Error boundary catches render errors and offers reload.

Notes

Depends on #215 (primitives); parallelizable with #217 / #218 / #219. Part of #214.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gui

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions