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(settings): remove the inert show-progress-details toggle
Josh Corbette100f559add5
diff --git a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsxindex 855b5b5762..d9bd81d378 100644--- a/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx+++ b/invokeai/frontend/webv2/src/workbench/settings/SettingsDialog.tsx@@ -483,12 +483,6 @@ const ProjectSection = () => {},[updateProjectSettings]);- const updateShowProgressDetails = useCallback(- (checked: boolean) => {- updateProjectSettings({ showProgressDetails: checked });- },- [updateProjectSettings]- );const updateAntialiasProgressImages = useCallback((checked: boolean) => {updateProjectSettings({ antialiasProgressImages: checked });@@ -513,13 +507,6 @@ const ProjectSection = () => {label="Use CPU noise"onChange={updateUseCpuNoise}/>- <SettingToggle- checked={settings.showProgressDetails}- comingSoon- description="Show detailed invocation progress when the backend reports it."- label="Show progress details"- onChange={updateShowProgressDetails}- /><SettingTogglechecked={settings.antialiasProgressImages}description="Smooth progress previews instead of rendering them pixelated."@@ -773,13 +760,11 @@ const WorkspaceSection = () => {const SettingToggle = ({checked,- comingSoon,description,label,onChange,}: {checked: boolean;- comingSoon?: boolean;description?: string;label: string;onChange: (checked: boolean) => void;@@ -794,7 +779,6 @@ const SettingToggle = ({<Switch.RootalignItems="center"checked={checked}- disabled={comingSoon}display="flex"gap="4"justifyContent="space-between"@@ -820,14 +804,12 @@ const SettingToggle = ({};const SettingSelect = ({- comingSoon,description,label,onChange,options,value,}: {- comingSoon?: boolean;description?: string;label: string;onChange: (value: string) => void;@@ -850,7 +832,6 @@ const SettingSelect = ({return (<Field.RootalignItems={FIELD_ALIGN_ITEMS}- disabled={comingSoon}display="flex"flexDirection={FIELD_FLEX_DIRECTION}gap="3"@@ -868,7 +849,6 @@ const SettingSelect = ({</Stack><Selectcollection={collection}- disabled={comingSoon}flexShrink={0}maxW={SELECT_MAX_WIDTH}size="sm"diff --git a/invokeai/frontend/webv2/src/workbench/settings/contracts.ts b/invokeai/frontend/webv2/src/workbench/settings/contracts.tsindex 90cb49b7fe..9999cd3416 100644--- a/invokeai/frontend/webv2/src/workbench/settings/contracts.ts+++ b/invokeai/frontend/webv2/src/workbench/settings/contracts.ts@@ -15,7 +15,6 @@ export type { WorkbenchLanguage } from '@platform/i18n/languages';*/export interface ProjectSettings {useCpuNoise: boolean;- showProgressDetails: boolean;antialiasProgressImages: boolean;/*** Not surfaced in the Settings dialog: the Preview widget's header owns thisdiff --git a/invokeai/frontend/webv2/src/workbench/settings/store.ts b/invokeai/frontend/webv2/src/workbench/settings/store.tsindex 9a6de04c00..a08119fe61 100644--- a/invokeai/frontend/webv2/src/workbench/settings/store.ts+++ b/invokeai/frontend/webv2/src/workbench/settings/store.ts@@ -48,7 +48,6 @@ export const DEVELOPER_LOG_NAMESPACES: DeveloperLogNamespace[] = [export const DEFAULT_PROJECT_SETTINGS: ProjectSettings = {antialiasProgressImages: false,- showProgressDetails: false,showProgressImagesInViewer: true,useCpuNoise: true,};@@ -270,10 +269,6 @@ export const normalizeProjectSettings = (settings?: Partial<ProjectSettings>): Ptypeof settings?.antialiasProgressImages === 'boolean'? settings.antialiasProgressImages: DEFAULT_PROJECT_SETTINGS.antialiasProgressImages,- showProgressDetails:- typeof settings?.showProgressDetails === 'boolean'- ? settings.showProgressDetails- : DEFAULT_PROJECT_SETTINGS.showProgressDetails,showProgressImagesInViewer:typeof settings?.showProgressImagesInViewer === 'boolean'? settings.showProgressImagesInViewerdiff --git a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts b/invokeai/frontend/webv2/src/workbench/workbenchState.test.tsindex 967bf828f7..9fd2adb65c 100644--- a/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts+++ b/invokeai/frontend/webv2/src/workbench/workbenchState.test.ts@@ -3912,7 +3912,6 @@ describe('workbench account and project settings', () => {expect(getActiveProject(state).settings).toEqual({antialiasProgressImages: true,- showProgressDetails: false,showProgressImagesInViewer: true,useCpuNoise: false,});