From a4dde88ff69cebfe77ee7e398813a45a5e51efbf Mon Sep 17 00:00:00 2001 From: gsxdsm Date: Sun, 12 Jul 2026 13:17:47 -0700 Subject: [PATCH] FN-7874: add Discord get-help link and central-DB wording to storage banner Adds a hardened Discord support link and clarifies that project databases move to the central Fusion database in the storage update notice banner. - Add a "Get help" button/link to the Fusion Discord (https://discord.gg/ksrfuy7WYR) in StorageMigrationNoticeBanner, with new .storage-migration-notice-banner__actions/__help CSS (desktop + mobile layout) - Revise the banner body copy to state that project databases will be served from the central Fusion database instead of each project's local .fusion/fusion.db SQLite file - Add storageMigrationNotice.getHelp/getHelpLabel i18n keys and update en/app.json body copy; sync placeholder keys across es/fr/ko/zh-CN/zh-TW locales and regenerate resources.d.ts - Extend StorageMigrationNoticeBanner tests to cover the new help link (href/target/rel) and updated body copy, including dismissed/error-path cases - Add a minor changeset for @runfusion/fusion documenting the banner change Files changed: .changeset/fn-7874-storage-banner-get-help.md | 7 ++++++ .../components/StorageMigrationNoticeBanner.css | 26 ++++++++++++++++++++++ .../components/StorageMigrationNoticeBanner.tsx | 16 ++++++++++++- .../StorageMigrationNoticeBanner.test.tsx | 16 +++++++++++-- packages/i18n/locales/en/app.json | 4 +++- packages/i18n/locales/es/app.json | 7 ++++++ packages/i18n/locales/fr/app.json | 7 ++++++ packages/i18n/locales/ko/app.json | 7 ++++++ packages/i18n/locales/zh-CN/app.json | 7 ++++++ packages/i18n/locales/zh-TW/app.json | 7 ++++++ packages/i18n/src/resources.d.ts | 7 ++++++ 11 files changed, 107 insertions(+), 4 deletions(-) Fusion-Task-Id: FN-7874 Fusion-Task-Lineage: baa88812-18ca-4910-a641-8d6e23f602a6 Co-authored-by: Fusion (runfusion.ai) --- .changeset/fn-7874-storage-banner-get-help.md | 7 +++++ .../StorageMigrationNoticeBanner.css | 26 +++++++++++++++++++ .../StorageMigrationNoticeBanner.tsx | 16 +++++++++++- .../StorageMigrationNoticeBanner.test.tsx | 16 ++++++++++-- packages/i18n/locales/en/app.json | 4 ++- packages/i18n/locales/es/app.json | 7 +++++ packages/i18n/locales/fr/app.json | 7 +++++ packages/i18n/locales/ko/app.json | 7 +++++ packages/i18n/locales/zh-CN/app.json | 7 +++++ packages/i18n/locales/zh-TW/app.json | 7 +++++ packages/i18n/src/resources.d.ts | 7 +++++ 11 files changed, 107 insertions(+), 4 deletions(-) create mode 100644 .changeset/fn-7874-storage-banner-get-help.md 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")} + +