From 3f1b2c39ab80d783ed5bdba309d8e5f56509660f Mon Sep 17 00:00:00 2001 From: Kent Keirsey <31807370+hipsterusername@users.noreply.github.com> Date: Mon, 30 Jun 2025 20:23:05 -0400 Subject: [PATCH] Model Guide link update --- invokeai/frontend/web/public/locales/en.json | 2 ++ .../SimpleSession/CanvasLaunchpadPanel.tsx | 11 ++++++++--- .../SimpleSession/GenerateLaunchpadPanel.tsx | 13 ++++++++----- 3 files changed, 18 insertions(+), 8 deletions(-) diff --git a/invokeai/frontend/web/public/locales/en.json b/invokeai/frontend/web/public/locales/en.json index 712f1d2f7a..febb1dfa59 100644 --- a/invokeai/frontend/web/public/locales/en.json +++ b/invokeai/frontend/web/public/locales/en.json @@ -2450,6 +2450,8 @@ "upscalingTitle": "Upscale and add detail.", "canvasTitle": "Edit and refine on Canvas.", "generateTitle": "Generate images from text prompts.", + "modelGuideText": "Want to learn what prompts work best for each model?", + "modelGuideLink": "Check out our Model Guide.", "workflows": { "description": "Workflows are reusable templates that automate image generation tasks, allowing you to quickly perform complex operations and get consistent results.", "learnMoreLink": "Learn more about creating workflows", diff --git a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/CanvasLaunchpadPanel.tsx b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/CanvasLaunchpadPanel.tsx index 420bc1158f..527c43e298 100644 --- a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/CanvasLaunchpadPanel.tsx +++ b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/CanvasLaunchpadPanel.tsx @@ -25,9 +25,14 @@ export const CanvasLaunchpadPanel = memo(() => { - Want to learn what prompts work best for each model?{' '} - diff --git a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/GenerateLaunchpadPanel.tsx b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/GenerateLaunchpadPanel.tsx index 584392218e..f9dba37298 100644 --- a/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/GenerateLaunchpadPanel.tsx +++ b/invokeai/frontend/web/src/features/controlLayers/components/SimpleSession/GenerateLaunchpadPanel.tsx @@ -4,12 +4,10 @@ import { InitialStateMainModelPicker } from 'features/controlLayers/components/S import { LaunchpadAddStyleReference } from 'features/controlLayers/components/SimpleSession/LaunchpadAddStyleReference'; import { setActiveTab } from 'features/ui/store/uiSlice'; import { memo, useCallback } from 'react'; -import { useTranslation } from 'react-i18next'; import { LaunchpadGenerateFromTextButton } from './LaunchpadGenerateFromTextButton'; export const GenerateLaunchpadPanel = memo(() => { - const { t } = useTranslation(); const dispatch = useAppDispatch(); const newCanvasSession = useCallback(() => { dispatch(setActiveTab('canvas')); @@ -18,15 +16,20 @@ export const GenerateLaunchpadPanel = memo(() => { return ( - {t('ui.launchpad.generateTitle')} + Generate images from text prompts. Want to learn what prompts work best for each model?{' '} -