diff --git a/.changeset/fn-7874-storage-banner-get-help.md b/.changeset/fn-7874-storage-banner-get-help.md new file mode 100644 index 0000000000..9916d61453 --- /dev/null +++ b/.changeset/fn-7874-storage-banner-get-help.md @@ -0,0 +1,7 @@ +--- +"@runfusion/fusion": minor +--- + +summary: Storage update banner now has a Get help (Discord) button and notes project DBs move to the central Fusion database. +category: feature +dev: Adds `storageMigrationNotice.getHelp`/`getHelpLabel` i18n keys and a hardened Discord link in `StorageMigrationNoticeBanner`; revised body copy in `en/app.json` and component default. diff --git a/packages/dashboard/app/components/StorageMigrationNoticeBanner.css b/packages/dashboard/app/components/StorageMigrationNoticeBanner.css index ced2063d6d..bc8affaeb3 100644 --- a/packages/dashboard/app/components/StorageMigrationNoticeBanner.css +++ b/packages/dashboard/app/components/StorageMigrationNoticeBanner.css @@ -37,6 +37,23 @@ color: var(--text-muted); } +.storage-migration-notice-banner__actions { + display: flex; + flex-wrap: wrap; + align-items: center; + gap: var(--space-xs); +} + +.storage-migration-notice-banner__help { + align-self: flex-start; + text-decoration: none; +} + +.storage-migration-notice-banner__help:focus-visible { + outline: none; + box-shadow: var(--focus-ring-strong); +} + .storage-migration-notice-banner__dismiss { display: inline-flex; align-items: center; @@ -67,6 +84,15 @@ align-items: stretch; } + .storage-migration-notice-banner__actions { + align-items: stretch; + } + + .storage-migration-notice-banner__help { + justify-content: center; + width: 100%; + } + .storage-migration-notice-banner__dismiss { align-self: flex-start; } diff --git a/packages/dashboard/app/components/StorageMigrationNoticeBanner.tsx b/packages/dashboard/app/components/StorageMigrationNoticeBanner.tsx index 3fc63155bf..a9e325b779 100644 --- a/packages/dashboard/app/components/StorageMigrationNoticeBanner.tsx +++ b/packages/dashboard/app/components/StorageMigrationNoticeBanner.tsx @@ -8,6 +8,9 @@ export const STORAGE_MIGRATION_NOTICE_DISMISS_KEY = "fusion:storage-migration-no /* FNXC:StorageMigrationNotice 2026-07-12-00:00: The dashboard must announce the next-version SQLite → embedded Postgres storage change before operators upgrade. Dismissal is global rather than project-scoped because the notice describes an app-wide on-disk storage engine change, not a per-project condition; localStorage persistence makes the one-time acknowledgement permanent on this browser profile. + +FNXC:StorageMigrationNotice 2026-07-12-00:10: +Operators need immediate support and clear storage-impact wording from the notice itself, so the banner links to the hardened Fusion Discord destination and states that project databases will be served from the central Fusion database instead of each project's local SQLite file. */ function isDismissed(): boolean { if (typeof window === "undefined") return false; @@ -48,9 +51,20 @@ export function StorageMigrationNoticeBanner() {

{t( "storageMigrationNotice.body", - "The next Fusion version will replace the current SQLite data store with an embedded Postgres backend for data storage. No migration runs from this notice; it is an advance heads-up for operators who rely on the current .fusion/fusion.db SQLite file.", + "The next Fusion version will replace the current SQLite data store with an embedded Postgres backend for data storage, and project databases will be served from the central Fusion database instead of each project's local .fusion/fusion.db SQLite file. No migration runs from this notice; it is an advance heads-up for operators who rely on the current storage layout.", )}

+
+ + {t("storageMigrationNotice.getHelp", "Get help")} + +