From bc1d9748cebfa3185af7b5acaa24bf711023093f Mon Sep 17 00:00:00 2001 From: chainchompa Date: Tue, 23 Jul 2024 10:04:31 -0400 Subject: [PATCH 1/8] updated upscale warning to work for simple upscale --- .../components/Upscale/ParamUpscaleSettings.tsx | 2 ++ .../UpscaleSettingsAccordion.tsx | 4 ++-- .../{MultidiffusionWarning.tsx => UpscaleWarning.tsx} | 10 +++++++--- 3 files changed, 11 insertions(+), 5 deletions(-) rename invokeai/frontend/web/src/features/settingsAccordions/components/UpscaleSettingsAccordion/{MultidiffusionWarning.tsx => UpscaleWarning.tsx} (92%) diff --git a/invokeai/frontend/web/src/features/parameters/components/Upscale/ParamUpscaleSettings.tsx b/invokeai/frontend/web/src/features/parameters/components/Upscale/ParamUpscaleSettings.tsx index c0309bebe4..1b4145ff03 100644 --- a/invokeai/frontend/web/src/features/parameters/components/Upscale/ParamUpscaleSettings.tsx +++ b/invokeai/frontend/web/src/features/parameters/components/Upscale/ParamUpscaleSettings.tsx @@ -12,6 +12,7 @@ import { upscaleRequested } from 'app/store/middleware/listenerMiddleware/listen import { useAppDispatch } from 'app/store/storeHooks'; import { useIsAllowedToUpscale } from 'features/parameters/hooks/useIsAllowedToUpscale'; import { useIsQueueMutationInProgress } from 'features/queue/hooks/useIsQueueMutationInProgress'; +import { UpscaleWarning } from 'features/settingsAccordions/components/UpscaleSettingsAccordion/UpscaleWarning'; import { memo, useCallback } from 'react'; import { useTranslation } from 'react-i18next'; import { PiFrameCornersBold } from 'react-icons/pi'; @@ -51,6 +52,7 @@ const ParamUpscalePopover = (props: Props) => { +