gsxdsm
cd2da104f9
FN-6458: wire CLI session banner actions
Wire the dashboard session banner to execute supported CLI session actions and disable unsupported ones.
- Route advance, retry, cancel, and reauthenticate banner actions through existing dashboard API/task/settings flows.
- Include CLI waiting and needs-attention sessions in background session filtering for banner visibility.
- Disable unavailable CLI banner actions with accessible labels and disabled styling.
- Cover action wiring, disabled states, and CLI session inclusion with dashboard tests.
Files changed:
.changeset/fn-6458-cli-banner-actions.md | 5 ++
packages/dashboard/app/App.tsx | 95 ++++++++++++++++++++-
.../app/__tests__/app-cli-action-wiring.test.tsx | 98 ++++++++++++++++++++++
.../app/components/SessionNotificationBanner.css | 19 ++++-
.../app/components/SessionNotificationBanner.tsx | 60 ++++++++-----
.../__tests__/SessionNotificationBanner.test.tsx | 81 +++++++++++++++++-
.../hooks/__tests__/useBackgroundSessions.test.ts | 5 ++
.../dashboard/app/hooks/useBackgroundSessions.ts | 15 +++-
8 files changed, 347 insertions(+), 31 deletions(-)
Fusion-Task-Id: FN-6458
Fusion-Task-Lineage: 5f6c57a3-07e2-4353-89e3-c7de20984813
2026-06-15 02:29:08 -07:00
..
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-15 02:29:08 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-15 02:29:08 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-14 22:43:49 -07:00
2026-06-08 15:19:27 -07:00
2026-06-14 22:43:49 -07:00