gsxdsm
d5b33367c1
FN-5698: clear OAuth relogin banner after successful login
Clear OAuth re-login banner entries immediately after provider re-authentication.
- add a shared oauth relogin success browser event constant in auth utilities
- dispatch relogin success events from Settings and Model Onboarding OAuth success flows
- update OAuthReloginBanner to listen for relogin success, optimistically clear matching provider rows, and trigger immediate status refresh
- add banner tests covering immediate clearing, refetch behavior, unrelated-provider events, and poll-only behavior
- document the immediate-clear behavior in dashboard docs and add a patch changeset for @runfusion/fusion
Files changed:
.changeset/fn-5698-relogin-banner-auto-clear.md | 5 ++
docs/dashboard-guide.md | 4 +
packages/dashboard/app/auth.ts | 1 +
.../app/components/ModelOnboardingModal.tsx | 3 +-
.../app/components/OAuthReloginBanner.tsx | 70 +++++++++--------
.../dashboard/app/components/SettingsModal.tsx | 3 +-
.../__tests__/OAuthReloginBanner.test.tsx | 90 ++++++++++++++++++++++
7 files changed, 144 insertions(+), 32 deletions(-)
Fusion-Task-Id: FN-5698
Fusion-Task-Lineage: 1e2f8055-4f77-4e16-ac15-44891de13f55
2026-05-29 11:25:11 -07:00
..
2026-05-18 01:56:59 -07:00
2026-05-18 01:56:59 -07:00
2026-05-07 23:21:05 -07:00
2026-05-22 20:20:42 -07:00
2026-05-05 20:47:37 -07:00
2026-05-29 08:45:12 -07:00
2026-05-12 07:47:10 -07:00
2026-05-12 07:47:10 -07:00
2026-05-12 07:47:10 -07:00
2026-05-14 04:32:43 -07:00
2026-05-12 22:52:01 -07:00
2026-05-14 04:32:43 -07:00
2026-05-12 07:47:10 -07:00
2026-05-29 08:45:12 -07:00
2026-05-23 20:44:01 -07:00
2026-05-05 12:37:25 -07:00
2026-05-06 10:18:27 -07:00
2026-05-13 09:06:20 -07:00
2026-05-10 15:33:25 -07:00
2026-05-22 20:20:42 -07:00
2026-05-19 10:39:56 -07:00
2026-05-15 09:04:26 -07:00
2026-05-15 07:10:36 -07:00
2026-05-11 10:54:26 -07:00
2026-05-22 20:20:42 -07:00
2026-05-13 06:29:35 -07:00
2026-05-06 08:04:47 -07:00
2026-05-14 22:16:44 -07:00
2026-05-20 03:57:17 -07:00
2026-05-22 20:20:42 -07:00
2026-05-13 22:03:38 -07:00
2026-05-09 10:31:05 -07:00
2026-05-19 03:21:17 -07:00
2026-04-30 23:24:29 -07:00
2026-05-22 20:20:42 -07:00
2026-05-22 20:20:42 -07:00
2026-05-23 20:24:18 -07:00
2026-05-13 14:38:41 -07:00
2026-05-13 06:29:35 -07:00
2026-05-20 04:12:40 -07:00
2026-05-20 07:20:01 -07:00
2026-05-20 04:12:40 -07:00
2026-05-20 04:12:40 -07:00
2026-05-20 04:12:40 -07:00
2026-05-28 23:27:05 -07:00
2026-05-22 20:20:42 -07:00
2026-05-21 15:40:48 -07:00
2026-05-22 20:20:42 -07:00
2026-05-22 20:20:42 -07:00
2026-05-13 19:22:38 -07:00
2026-05-23 20:44:01 -07:00
2026-05-02 00:37:57 -07:00
2026-05-22 20:20:42 -07:00
2026-05-09 10:31:05 -07:00
2026-05-06 21:36:31 -07:00
2026-05-22 20:20:42 -07:00
2026-05-13 18:05:12 +03:00
2026-05-27 21:31:12 -07:00
2026-05-18 03:34:54 -07:00
2026-05-20 04:13:43 -07:00
2026-05-22 20:20:42 -07:00
2026-05-03 07:47:45 -07:00
2026-05-03 14:10:11 -07:00
2026-05-03 07:47:45 -07:00
2026-05-02 11:25:08 -07:00
2026-05-16 22:26:42 -07:00
2026-05-08 04:21:20 -07:00
2026-05-29 09:32:22 -07:00
2026-05-08 07:56:04 -07:00
2026-05-19 19:32:23 -07:00
2026-05-22 20:20:42 -07:00
2026-05-15 00:30:18 -07:00
2026-05-22 20:20:42 -07:00
2026-05-17 08:22:26 -07:00
2026-05-18 01:16:17 -07:00
2026-05-10 05:29:41 -07:00
2026-05-23 20:18:08 -07:00
2026-05-29 08:11:55 -07:00
2026-05-29 08:06:46 -07:00
2026-05-19 01:59:21 -07:00
2026-05-18 19:44:33 -07:00
2026-05-18 16:08:10 -07:00
2026-05-16 09:21:06 -07:00
2026-05-22 20:20:42 -07:00
2026-05-05 01:46:58 -07:00
2026-05-16 09:42:37 -07:00
2026-05-19 23:04:12 -07:00
2026-05-19 17:57:10 -07:00
2026-05-15 23:39:43 -07:00
2026-05-09 14:20:03 -07:00
2026-05-09 10:31:05 -07:00
2026-05-23 13:06:48 -07:00
2026-05-15 12:07:52 -07:00
2026-05-10 16:53:36 -07:00
2026-05-19 10:39:56 -07:00
2026-05-09 10:31:05 -07:00
2026-05-04 01:43:04 -07:00
2026-05-04 21:32:41 -07:00
2026-05-19 17:54:43 -07:00
2026-05-20 09:42:40 -07:00
2026-05-29 08:06:46 -07:00
2026-05-19 23:04:12 -07:00
2026-05-29 10:11:49 -07:00
2026-05-22 20:20:42 -07:00
2026-05-22 20:20:42 -07:00
2026-05-29 09:32:22 -07:00
2026-05-12 17:04:33 -07:00
2026-05-22 20:20:42 -07:00
2026-05-29 10:02:58 -07:00
2026-05-07 18:35:45 -07:00
2026-05-04 22:17:10 -07:00
2026-05-07 18:35:45 -07:00
2026-05-12 17:04:33 -07:00
2026-05-29 08:45:12 -07:00
2026-05-20 09:42:40 -07:00
2026-05-29 09:44:17 -07:00
2026-05-08 18:44:16 -07:00
2026-05-04 21:21:22 -07:00
2026-05-22 20:20:42 -07:00
2026-05-10 18:04:43 -07:00
2026-05-23 20:44:01 -07:00
2026-05-29 11:25:11 -07:00
2026-05-04 21:21:22 -07:00
2026-05-19 10:39:56 -07:00
2026-05-12 17:04:33 -07:00
2026-05-16 18:40:04 -07:00
2026-05-25 16:32:57 -07:00
2026-05-25 16:32:57 -07:00
2026-05-12 22:52:01 -07:00
2026-05-22 20:20:42 -07:00
2026-05-13 06:29:34 -07:00
2026-05-07 23:21:05 -07:00
2026-05-13 06:29:34 -07:00
2026-05-07 23:38:12 -07:00
2026-05-04 21:21:22 -07:00
2026-05-04 21:21:22 -07:00
2026-05-22 20:20:42 -07:00
2026-05-18 07:52:44 -07:00
2026-05-18 13:01:31 -07:00
2026-05-08 18:44:16 -07:00
2026-05-08 18:44:16 -07:00
2026-05-07 04:17:52 -07:00
2026-05-28 23:31:03 -07:00
2026-05-18 15:50:48 -07:00
2026-05-28 19:50:53 -07:00
2026-05-28 21:32:54 -07:00
2026-05-20 04:12:40 -07:00
2026-05-20 09:42:40 -07:00
2026-05-27 11:57:21 +02:00
2026-05-19 07:35:24 -07:00
2026-05-16 00:13:37 -07:00
2026-05-22 20:20:42 -07:00
2026-05-04 07:00:39 -07:00
2026-05-23 01:30:15 -07:00
2026-05-20 06:20:16 -07:00
2026-05-22 20:20:42 -07:00
2026-05-22 20:20:42 -07:00
2026-05-11 16:06:37 -07:00
2026-05-13 20:08:37 -07:00
2026-05-28 21:23:48 -07:00
2026-05-22 00:15:14 -07:00
2026-05-15 23:39:43 -07:00
2026-05-19 17:45:36 -07:00
2026-05-04 17:22:21 -07:00
2026-05-08 01:57:55 -07:00
2026-05-22 20:20:42 -07:00
2026-05-13 09:23:13 -07:00
2026-05-23 13:06:48 -07:00
2026-05-09 19:49:02 -07:00
2026-05-10 01:22:13 -07:00
2026-05-04 15:16:53 -07:00
2026-05-14 14:04:32 -07:00
2026-05-20 09:42:40 -07:00
2026-05-20 09:42:40 -07:00
2026-05-20 09:42:40 -07:00
2026-05-20 09:42:40 -07:00
2026-05-28 12:10:03 -07:00
2026-05-13 15:05:05 -07:00
2026-05-20 09:42:40 -07:00
2026-05-22 20:20:42 -07:00
2026-05-23 20:44:01 -07:00
2026-05-28 08:45:09 -07:00
2026-05-19 20:45:46 -07:00
2026-05-26 17:19:34 -07:00
2026-05-26 17:19:34 -07:00
2026-05-12 17:04:33 -07:00
2026-05-15 06:32:37 -07:00
2026-05-13 06:29:34 -07:00
2026-05-22 20:20:42 -07:00
2026-05-19 08:20:23 -07:00
2026-05-17 01:08:50 -07:00
2026-05-13 06:29:34 -07:00
2026-05-26 17:19:34 -07:00
2026-05-19 01:17:46 -07:00
2026-05-22 01:33:28 -07:00
2026-05-28 21:40:01 -07:00
2026-05-23 20:44:01 -07:00
2026-05-26 17:19:34 -07:00
2026-05-10 16:12:08 -07:00
2026-05-20 04:13:43 -07:00
2026-05-29 10:55:25 -07:00
2026-05-19 23:04:12 -07:00
2026-04-30 21:26:54 -07:00
2026-05-22 00:15:14 -07:00
2026-04-30 18:24:30 -07:00
2026-05-07 12:30:18 -07:00
2026-05-23 20:24:18 -07:00
2026-05-07 10:27:48 -07:00
2026-05-16 20:13:30 -07:00
2026-05-16 09:20:33 -07:00
2026-05-11 09:52:23 +02:00
2026-05-03 03:49:18 -07:00
2026-05-22 20:20:42 -07:00
2026-05-13 13:11:17 -07:00
2026-05-13 06:29:35 -07:00
2026-05-22 20:20:42 -07:00
2026-05-14 15:05:38 -07:00
2026-05-14 22:16:44 -07:00
2026-05-15 23:39:43 -07:00