Invoke is a leading creative engine that uses image and video generation models to empower professionals, artists, and enthusiasts to generate and create visual media using the latest AI-driven technologies. The solution offers an industry-leading application interface, and serves as the foundation for multiple commercial products.
TypeScript ai-artartificial-intelligencegenerative-artimage-generationimg2imginpaintinglatent-diffusionlinuxmacosoutpaintingstable-diffusiontxt2imgwindows
feat(shell): replace the alpha-build notice with a beta-build notice (#10209)
Lincoln Stein20ac007e5cd3
diff --git a/invokeai/frontend/webv2/public/locales/en.json b/invokeai/frontend/webv2/public/locales/en.jsonindex f1484cae97..cda26652ec 100644--- a/invokeai/frontend/webv2/public/locales/en.json+++ b/invokeai/frontend/webv2/public/locales/en.json@@ -1,10 +1,10 @@{- "alphaNotice": {- "body": "This is an alpha build of the new Invoke interface. Expect rough edges, missing features, and behavior that changes between releases.",+ "betaNotice": {+ "body": "This is a beta build of InvokeAI v7. Please be aware that beta software may contain bugs or exhibit unexpected behavior.","dismiss": "Got it","reportLink": "file an issue on GitHub","reportPrefix": "When something breaks or looks wrong, please",- "title": "Alpha build"+ "title": "Beta build"},"commandPalette": {"title": "Command palette",diff --git a/invokeai/frontend/webv2/scripts/mock-backend.mjs b/invokeai/frontend/webv2/scripts/mock-backend.mjsindex 5df3515a4d..e9439d4a0b 100644--- a/invokeai/frontend/webv2/scripts/mock-backend.mjs+++ b/invokeai/frontend/webv2/scripts/mock-backend.mjs@@ -468,11 +468,11 @@ const createState = (profile, clock) => {return {boardMembers: new Map(),boards: new Map(fixture.boards.map((board) => [board.board_id, clone(board)])),- // Dismiss the alpha notice and What's New notes so journeys start on the requested page.+ // Dismiss the beta notice and What's New notes so journeys start on the requested page.clientState: new Map([['webv2:workbench-settings',- JSON.stringify({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: MOCK_APP_VERSION }),+ JSON.stringify({ betaNoticeAcknowledged: true, whatsNewSeenVersion: MOCK_APP_VERSION }),],]),externalProviders: createExternalProviderConfigs(fixture.models),diff --git a/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjs b/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjsindex 058495c766..77636e9f3e 100644--- a/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjs+++ b/invokeai/frontend/webv2/scripts/run-accessibility-journeys.mjs@@ -81,9 +81,7 @@ const openRepresentativePage = async (browser, path, viewport = { height: 1_000,{method: 'POST',headers: { 'content-type': 'application/json' },- body: JSON.stringify(- JSON.stringify({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: 'fixture', themeId })- ),+ body: JSON.stringify(JSON.stringify({ betaNoticeAcknowledged: true, whatsNewSeenVersion: 'fixture', themeId })),});assert.ok(response.ok, `Could not set ${themeId} accessibility fixture theme.`);diff --git a/invokeai/frontend/webv2/src/app/App.tsx b/invokeai/frontend/webv2/src/app/App.tsxindex 80e4af17db..7fa3402733 100644--- a/invokeai/frontend/webv2/src/app/App.tsx+++ b/invokeai/frontend/webv2/src/app/App.tsx@@ -13,21 +13,21 @@ import { I18nController } from './I18nController';import { router } from './router';import { ThemeController } from './ThemeController';-const AlphaNoticeDialog = lazy(() =>- import('@workbench/shell/AlphaNoticeDialog').then((module) => ({ default: module.AlphaNoticeDialog }))+const BetaNoticeDialog = lazy(() =>+ import('@workbench/shell/BetaNoticeDialog').then((module) => ({ default: module.BetaNoticeDialog })));-/** Load the alpha notice only for accounts that have not dismissed it. */-const AlphaNoticeGate = () => {+/** Load the beta notice only for accounts that have not dismissed it. */+const BetaNoticeGate = () => {const isDue = useWorkbenchSettingsSelector(- (snapshot) => snapshot.status === 'ready' && !snapshot.preferences.alphaNoticeAcknowledged+ (snapshot) => snapshot.status === 'ready' && !snapshot.preferences.betaNoticeAcknowledged);// Stays mounted through the close animation instead of vanishing on dismissal.const dialog = useExitPresence(isDue);return dialog.isMounted ? (<Suspense fallback={null}>- <AlphaNoticeDialog onExitComplete={dialog.release} />+ <BetaNoticeDialog onExitComplete={dialog.release} /></Suspense>) : null;};@@ -55,7 +55,7 @@ export const App = () => (<ThemeController /><I18nController /><AppToaster />- <AlphaNoticeGate />+ <BetaNoticeGate /><WhatsNewGate /><FeatureHintsAdapterProvider><RouterProvider router={router} />diff --git a/invokeai/frontend/webv2/src/workbench/settings/contracts.ts b/invokeai/frontend/webv2/src/workbench/settings/contracts.tsindex 62566f4a34..2dac88bc1b 100644--- a/invokeai/frontend/webv2/src/workbench/settings/contracts.ts+++ b/invokeai/frontend/webv2/src/workbench/settings/contracts.ts@@ -92,8 +92,8 @@ export interface StoredGeneratePreset {/** User-tunable appearance + behavior preferences surfaced in the Settings modal. */export interface WorkbenchPreferences {- /** The alpha-build notice was dismissed; shown once per account until then. */- alphaNoticeAcknowledged: boolean;+ /** The beta-build notice was dismissed; shown once per account until then. */+ betaNoticeAcknowledged: boolean;/** Server version whose What's New notes were last dismissed; a different version shows them once. */whatsNewSeenVersion: string | null;themeId: WorkbenchThemeId;diff --git a/invokeai/frontend/webv2/src/workbench/settings/store.test.ts b/invokeai/frontend/webv2/src/workbench/settings/store.test.tsindex 7a5164d939..a03abab7df 100644--- a/invokeai/frontend/webv2/src/workbench/settings/store.test.ts+++ b/invokeai/frontend/webv2/src/workbench/settings/store.test.ts@@ -507,6 +507,11 @@ describe('normalizeWorkbenchPreferences queue scope', () => {expect(store.normalizeWorkbenchPreferences({ queueJobsScope: 'all-projects' }).queueJobsScope).toBe('all');expect(store.normalizeWorkbenchPreferences({ queueJobsScope: 'current-project' }).queueJobsScope).toBe('all');});++ it('treats a dismissed alpha notice as a dismissed beta notice', () => {+ expect(store.normalizeWorkbenchPreferences({ alphaNoticeAcknowledged: true }).betaNoticeAcknowledged).toBe(true);+ expect(store.normalizeWorkbenchPreferences({}).betaNoticeAcknowledged).toBe(false);+ });});describe('normalizeWorkbenchPreferences startup destination', () => {diff --git a/invokeai/frontend/webv2/src/workbench/settings/store.ts b/invokeai/frontend/webv2/src/workbench/settings/store.tsindex d9c5f2db99..dafaeb6756 100644--- a/invokeai/frontend/webv2/src/workbench/settings/store.ts+++ b/invokeai/frontend/webv2/src/workbench/settings/store.ts@@ -39,7 +39,7 @@ export const DEVELOPER_LOG_LEVELS: readonly LogLevel[] = LOG_LEVELS;export const DEVELOPER_LOG_NAMESPACES: readonly LogNamespace[] = LOG_NAMESPACES;export const DEFAULT_PREFERENCES: WorkbenchPreferences = {- alphaNoticeAcknowledged: false,+ betaNoticeAcknowledged: false,antialiasProgressImages: false,aspectRatioPresets: [],autoSwitchInvocationRoute: true,@@ -411,6 +411,8 @@ type WorkbenchPreferencesInput = Omit<workflowEdgeStyle?: unknown;workflowLibrarySort?: unknown;workflowLibraryThumbnailFit?: unknown;+ /** Pre-beta name of `betaNoticeAcknowledged`; accounts that dismissed the alpha notice skip the beta one. */+ alphaNoticeAcknowledged?: unknown;};export const normalizeWorkbenchPreferences = (preferences?: WorkbenchPreferencesInput): WorkbenchPreferences => ({@@ -488,10 +490,10 @@ export const normalizeWorkbenchPreferences = (preferences?: WorkbenchPreferences: DEFAULT_PREFERENCES.queueJobsScope,highContrast:typeof preferences?.highContrast === 'boolean' ? preferences.highContrast : DEFAULT_PREFERENCES.highContrast,- alphaNoticeAcknowledged:- typeof preferences?.alphaNoticeAcknowledged === 'boolean'- ? preferences.alphaNoticeAcknowledged- : DEFAULT_PREFERENCES.alphaNoticeAcknowledged,+ betaNoticeAcknowledged:+ typeof preferences?.betaNoticeAcknowledged === 'boolean'+ ? preferences.betaNoticeAcknowledged+ : preferences?.alphaNoticeAcknowledged === true || DEFAULT_PREFERENCES.betaNoticeAcknowledged,galleryDestinationNoticeShown: preferences?.galleryDestinationNoticeShown === true,reduceMotion:typeof preferences?.reduceMotion === 'boolean' ? preferences.reduceMotion : DEFAULT_PREFERENCES.reduceMotion,diff --git a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/shell/BetaNoticeDialog.browser.test.tsxsimilarity index 76%rename from invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.browser.test.tsxrename to invokeai/frontend/webv2/src/workbench/shell/BetaNoticeDialog.browser.test.tsxindex d42609c73c..764b62f8a1 100644--- a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/BetaNoticeDialog.browser.test.tsx@@ -8,10 +8,10 @@ import { I18nextProvider, initReactI18next } from 'react-i18next';import { afterEach, beforeEach, describe, expect, it, vi } from 'vitest';import { page } from 'vitest/browser';-import { AlphaNoticeDialog } from './AlphaNoticeDialog';+import { BetaNoticeDialog } from './BetaNoticeDialog';const settings = vi.hoisted(() => ({- snapshot: { preferences: { alphaNoticeAcknowledged: false }, status: 'idle' as 'idle' | 'ready' },+ snapshot: { preferences: { betaNoticeAcknowledged: false }, status: 'idle' as 'idle' | 'ready' },listeners: new Set<() => void>(),patchWorkbenchPreferences: vi.fn(),}));@@ -47,13 +47,13 @@ const setSnapshot = (next: typeof settings.snapshot) =>settings.listeners.forEach((listener) => listener());});-describe('AlphaNoticeDialog', () => {+describe('BetaNoticeDialog', () => {let host: HTMLDivElement;let root: Root;beforeEach(async () => {settings.patchWorkbenchPreferences.mockReset();- settings.snapshot = { preferences: { alphaNoticeAcknowledged: false }, status: 'idle' };+ settings.snapshot = { preferences: { betaNoticeAcknowledged: false }, status: 'idle' };host = document.createElement('div');document.body.append(host);root = createRoot(host);@@ -61,7 +61,7 @@ describe('AlphaNoticeDialog', () => {root.render(<ChakraProvider value={system}><I18nextProvider i18n={i18n}>- <AlphaNoticeDialog />+ <BetaNoticeDialog /></I18nextProvider></ChakraProvider>)@@ -77,25 +77,25 @@ describe('AlphaNoticeDialog', () => {// Not before the account's preferences are known: an acknowledged account must not see it flash.expect(document.querySelector('[role="alertdialog"]')).toBeNull();- await setSnapshot({ preferences: { alphaNoticeAcknowledged: false }, status: 'ready' });- await expect.element(page.getByRole('alertdialog', { name: i18n.t('alphaNotice.title') })).toBeVisible();- await expect.element(page.getByRole('button', { name: i18n.t('alphaNotice.dismiss') })).toHaveFocus();+ await setSnapshot({ preferences: { betaNoticeAcknowledged: false }, status: 'ready' });+ await expect.element(page.getByRole('alertdialog', { name: i18n.t('betaNotice.title') })).toBeVisible();+ await expect.element(page.getByRole('button', { name: i18n.t('betaNotice.dismiss') })).toHaveFocus();expect(isModalPresent()).toBe(true);- expect(page.getByRole('link', { name: i18n.t('alphaNotice.reportLink') }).element()).toHaveAttribute(+ expect(page.getByRole('link', { name: i18n.t('betaNotice.reportLink') }).element()).toHaveAttribute('rel','noreferrer');- await page.getByRole('button', { name: i18n.t('alphaNotice.dismiss') }).click();- expect(settings.patchWorkbenchPreferences).toHaveBeenCalledExactlyOnceWith({ alphaNoticeAcknowledged: true });+ await page.getByRole('button', { name: i18n.t('betaNotice.dismiss') }).click();+ expect(settings.patchWorkbenchPreferences).toHaveBeenCalledExactlyOnceWith({ betaNoticeAcknowledged: true });- await setSnapshot({ preferences: { alphaNoticeAcknowledged: true }, status: 'ready' });+ await setSnapshot({ preferences: { betaNoticeAcknowledged: true }, status: 'ready' });await expect.element(page.getByRole('alertdialog')).not.toBeInTheDocument();expect(isModalPresent()).toBe(false);});it('stays closed for an account that already acknowledged it', async () => {- await setSnapshot({ preferences: { alphaNoticeAcknowledged: true }, status: 'ready' });+ await setSnapshot({ preferences: { betaNoticeAcknowledged: true }, status: 'ready' });expect(document.querySelector('[role="alertdialog"]')).toBeNull();expect(isModalPresent()).toBe(false);diff --git a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx b/invokeai/frontend/webv2/src/workbench/shell/BetaNoticeDialog.tsxsimilarity index 79%rename from invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsxrename to invokeai/frontend/webv2/src/workbench/shell/BetaNoticeDialog.tsxindex 9de2b4edee..328ce45085 100644--- a/invokeai/frontend/webv2/src/workbench/shell/AlphaNoticeDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/BetaNoticeDialog.tsx@@ -7,13 +7,13 @@ import { useTranslation } from 'react-i18next';const ISSUES_URL = 'https://github.com/invoke-ai/InvokeAI/issues';-const acknowledge = () => void patchWorkbenchPreferences({ alphaNoticeAcknowledged: true });+const acknowledge = () => void patchWorkbenchPreferences({ betaNoticeAcknowledged: true });/** Wait for account preferences before showing the notice; dismissal follows the account. */-export const AlphaNoticeDialog = ({ onExitComplete }: { onExitComplete?: () => void }) => {+export const BetaNoticeDialog = ({ onExitComplete }: { onExitComplete?: () => void }) => {const { t } = useTranslation();const isOpen = useWorkbenchSettingsSelector(- (snapshot) => snapshot.status === 'ready' && !snapshot.preferences.alphaNoticeAcknowledged+ (snapshot) => snapshot.status === 'ready' && !snapshot.preferences.betaNoticeAcknowledged);const dismissRef = useRef<HTMLButtonElement | null>(null);const handleOpenChange = useCallback((event: { open: boolean }) => {@@ -38,15 +38,15 @@ export const AlphaNoticeDialog = ({ onExitComplete }: { onExitComplete?: () => v<Dialog.Positioner><Dialog.Content><Dialog.Header>- <Dialog.Title>{t('alphaNotice.title')}</Dialog.Title>+ <Dialog.Title>{t('betaNotice.title')}</Dialog.Title></Dialog.Header><Dialog.Body><Stack gap="2">- <Text fontSize="md">{t('alphaNotice.body')}</Text>+ <Text fontSize="md">{t('betaNotice.body')}</Text><Text fontSize="md">- {t('alphaNotice.reportPrefix')}{' '}+ {t('betaNotice.reportPrefix')}{' '}<Link color="accent.fg" href={ISSUES_URL} rel="noreferrer" target="_blank">- {t('alphaNotice.reportLink')}+ {t('betaNotice.reportLink')}</Link>.</Text>@@ -54,7 +54,7 @@ export const AlphaNoticeDialog = ({ onExitComplete }: { onExitComplete?: () => v</Dialog.Body><Dialog.Footer><Button ref={dismissRef} colorPalette="accent" variant="solid" onClick={acknowledge}>- {t('alphaNotice.dismiss')}+ {t('betaNotice.dismiss')}</Button></Dialog.Footer></Dialog.Content>diff --git a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.browser.test.tsxindex 4a0ed0ae01..3f0e44b24d 100644--- a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.browser.test.tsx@@ -13,13 +13,13 @@ import { WhatsNewDialog } from './WhatsNewDialog';import * as store from './whatsNewStore';type Snapshot = {- preferences: { alphaNoticeAcknowledged: boolean; whatsNewSeenVersion: string | null };+ preferences: { betaNoticeAcknowledged: boolean; whatsNewSeenVersion: string | null };status: 'idle' | 'ready';};const settings = vi.hoisted(() => ({snapshot: {- preferences: { alphaNoticeAcknowledged: true, whatsNewSeenVersion: null },+ preferences: { betaNoticeAcknowledged: true, whatsNewSeenVersion: null },status: 'idle',} as Snapshot,listeners: new Set<() => void>(),@@ -87,7 +87,7 @@ describe('WhatsNewDialog', () => {beforeEach(async () => {settings.patchWorkbenchPreferences.mockReset();session.multiuserEnabled = false;- settings.snapshot = { preferences: { alphaNoticeAcknowledged: true, whatsNewSeenVersion: null }, status: 'idle' };+ settings.snapshot = { preferences: { betaNoticeAcknowledged: true, whatsNewSeenVersion: null }, status: 'idle' };// An account switch drops the previous test's request and dismissal; the version is not account data.accountLifecycle.invalidate();host = document.createElement('div');@@ -114,7 +114,7 @@ describe('WhatsNewDialog', () => {// Not before the account's preferences are known: an account that saw these notes must not see them flash.expect(document.querySelector('[role="dialog"]')).toBeNull();- await setSnapshot(ready({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: '6.14.2' }));+ await setSnapshot(ready({ betaNoticeAcknowledged: true, whatsNewSeenVersion: '6.14.2' }));await expect.element(page.getByRole('dialog', { name: title() })).toBeVisible();await expect.element(page.getByText('v7.0.0-rc1')).toBeVisible();// An automatic open has no click behind it, so focus on a link would draw its keyboard ring; start on the panel.@@ -148,7 +148,7 @@ describe('WhatsNewDialog', () => {await page.getByRole('button', { name: /close/i }).click();expect(settings.patchWorkbenchPreferences).toHaveBeenCalledExactlyOnceWith({ whatsNewSeenVersion: '7.0.0-rc1' });- await setSnapshot(ready({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: '7.0.0-rc1' }));+ await setSnapshot(ready({ betaNoticeAcknowledged: true, whatsNewSeenVersion: '7.0.0-rc1' }));await expect.element(page.getByRole('dialog')).not.toBeInTheDocument();expect(isModalPresent()).toBe(false);});@@ -156,7 +156,7 @@ describe('WhatsNewDialog', () => {it('tells a server with other accounts about sharing boards', async () => {session.multiuserEnabled = true;await act(() => store.loadAppVersion());- await setSnapshot(ready({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: '6.14.2' }));+ await setSnapshot(ready({ betaNoticeAcknowledged: true, whatsNewSeenVersion: '6.14.2' }));await expect.element(page.getByText(catalog.whatsNew.highlights.sharing!.title, { exact: true })).toBeVisible();expect(@@ -167,19 +167,19 @@ describe('WhatsNewDialog', () => {).toEqual([...catalog.whatsNew.multiuserItems, ...catalog.whatsNew.items]);});- it('waits for the alpha notice to be dismissed first', async () => {+ it('waits for the beta notice to be dismissed first', async () => {await act(() => store.loadAppVersion());- await setSnapshot(ready({ alphaNoticeAcknowledged: false, whatsNewSeenVersion: null }));+ await setSnapshot(ready({ betaNoticeAcknowledged: false, whatsNewSeenVersion: null }));await expect.element(page.getByText('v7.0.0-rc1')).not.toBeInTheDocument();expect(document.querySelector('[role="dialog"]')).toBeNull();- await setSnapshot(ready({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: null }));+ await setSnapshot(ready({ betaNoticeAcknowledged: true, whatsNewSeenVersion: null }));await expect.element(page.getByRole('dialog', { name: title() })).toBeVisible();});it('stays closed for a seen version until the app menu opens it, and reopening writes nothing', async () => {await act(() => store.loadAppVersion());- await setSnapshot(ready({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: '7.0.0-rc1' }));+ await setSnapshot(ready({ betaNoticeAcknowledged: true, whatsNewSeenVersion: '7.0.0-rc1' }));expect(document.querySelector('[role="dialog"]')).toBeNull();await act(() => store.openWhatsNew());@@ -192,7 +192,7 @@ describe('WhatsNewDialog', () => {it('shows an unseen version again for the next account after one dismissed it', async () => {await act(() => store.loadAppVersion());- await setSnapshot(ready({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: null }));+ await setSnapshot(ready({ betaNoticeAcknowledged: true, whatsNewSeenVersion: null }));await page.getByRole('button', { name: /close/i }).click();await expect.element(page.getByRole('dialog')).not.toBeInTheDocument();diff --git a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.lateVersion.browser.test.tsx b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.lateVersion.browser.test.tsxindex 5576026c58..683e315862 100644--- a/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.lateVersion.browser.test.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/WhatsNewDialog.lateVersion.browser.test.tsx@@ -11,13 +11,13 @@ import { WhatsNewDialog } from './WhatsNewDialog';import * as store from './whatsNewStore';type Snapshot = {- preferences: { alphaNoticeAcknowledged: boolean; whatsNewSeenVersion: string | null };+ preferences: { betaNoticeAcknowledged: boolean; whatsNewSeenVersion: string | null };status: 'idle' | 'ready';};const settings = vi.hoisted(() => ({snapshot: {- preferences: { alphaNoticeAcknowledged: true, whatsNewSeenVersion: null },+ preferences: { betaNoticeAcknowledged: true, whatsNewSeenVersion: null },status: 'idle',} as Snapshot,listeners: new Set<() => void>(),@@ -101,7 +101,7 @@ describe('WhatsNewDialog with a slow version read', () => {});it('does not reopen notes closed by hand when the version arrives late', async () => {- await setSnapshot(ready({ alphaNoticeAcknowledged: true, whatsNewSeenVersion: '6.14.2' }));+ await setSnapshot(ready({ betaNoticeAcknowledged: true, whatsNewSeenVersion: '6.14.2' }));// The boot read is still pending when the menu opens the notes.void store.loadAppVersion();diff --git a/invokeai/frontend/webv2/src/workbench/shell/useWhatsNew.ts b/invokeai/frontend/webv2/src/workbench/shell/useWhatsNew.tsindex 84c71c4b8f..d7c2517277 100644--- a/invokeai/frontend/webv2/src/workbench/shell/useWhatsNew.ts+++ b/invokeai/frontend/webv2/src/workbench/shell/useWhatsNew.ts@@ -11,7 +11,7 @@ export interface WhatsNewState {}/**- * Show the notes once per server version for each account, after its preferences are known and the alpha+ * Show the notes once per server version for each account, after its preferences are known and the beta* notice is out of the way, and whenever the app menu asks for them.*/export const useWhatsNew = (): WhatsNewState => {@@ -21,7 +21,7 @@ export const useWhatsNew = (): WhatsNewState => {!isDismissed &&version !== null &&snapshot.status === 'ready' &&- snapshot.preferences.alphaNoticeAcknowledged &&+ snapshot.preferences.betaNoticeAcknowledged &&snapshot.preferences.whatsNewSeenVersion !== version);