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
chore(webv2): drop dead react-icons chunk rule, orphan i18n key, and stale comments
joshistoast8fa38159d5b1
diff --git a/invokeai/frontend/webv2/public/locales/en.json b/invokeai/frontend/webv2/public/locales/en.jsonindex b4896741f6..fba91d6942 100644--- a/invokeai/frontend/webv2/public/locales/en.json+++ b/invokeai/frontend/webv2/public/locales/en.json@@ -2844,7 +2844,6 @@"showArchivedBoards": "Show archived boards","showDateBoards": "Show date boards","showPendingItems": "Show pending items",- "showStarredImagesFirst": "Show starred images first","sortBoards": "Sort boards","sortBoardsAscending": "Sort boards ascending","sortBoardsBy": "Sort by",diff --git a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsxindex 41eb5896a4..d8fc858425 100644--- a/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx+++ b/invokeai/frontend/webv2/src/features/workflow/ui/library/WorkflowLibraryDialog.tsx@@ -374,7 +374,7 @@ export const WorkflowLibraryDialog = ({{items.map((item) => (<Boxkey={item.workflow_id}- _hover={{ bg: 'bg.emphasized' }}+ _hover={{ bg: 'bg.muted/60' }}alignItems="center"display="grid"gap="2"diff --git a/invokeai/frontend/webv2/src/workbench/launchpad/projects/projectsMetrics.ts b/invokeai/frontend/webv2/src/workbench/launchpad/projects/projectsMetrics.tsindex 151bc2422b..46ea8d6812 100644--- a/invokeai/frontend/webv2/src/workbench/launchpad/projects/projectsMetrics.ts+++ b/invokeai/frontend/webv2/src/workbench/launchpad/projects/projectsMetrics.ts@@ -19,11 +19,7 @@ export const PROJECTS_GRID_GAP_PX = 16;/** `p="3"` around a name line and a timestamp line. */export const PROJECT_CARD_META_HEIGHT_PX = 60;-/**- * List rows are contiguous — each fills its whole slot and draws a hairline- * divider at the bottom, so this is the full row pitch: a 35px cover- * (56px / 16:10) plus breathing room and the 1px divider.- */+/** List rows are contiguous — each fills its whole 44px slot: a 35px cover (56px / 16:10) plus breathing room. Dividers were dropped with the softened row hover. */export const PROJECT_ROW_HEIGHT_PX = 44;export const PROJECT_GROUP_HEADER_HEIGHT_PX = 44;diff --git a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsxindex 21973ba75f..46de8d816b 100644--- a/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx+++ b/invokeai/frontend/webv2/src/workbench/shell/topbar/RoutingControl.tsx@@ -26,8 +26,8 @@ export const RoutingControl = ({ state }: { state: InvocationState }) => {const triggerIds = useMemo(() => ({ trigger: triggerId }), [triggerId]);const { invocation, placedTypeIds, sources } = state;const isLocked = invocation.sourceLocked || invocation.destinationLocked;- const hasSource = placedTypeIds.has(getWidgetTypeIdForSourceId(invocation.sourceId));const sourceTypeId = getWidgetTypeIdForSourceId(invocation.sourceId);+ const hasSource = placedTypeIds.has(sourceTypeId);const isSameRoute = hasSource && sourceTypeId === invocation.destination;const accessibleName = describeRoute({destination: invocation.destination,diff --git a/invokeai/frontend/webv2/vite.config.mts b/invokeai/frontend/webv2/vite.config.mtsindex caeb1ae388..e9643e0bde 100644--- a/invokeai/frontend/webv2/vite.config.mts+++ b/invokeai/frontend/webv2/vite.config.mts@@ -122,10 +122,6 @@ const getLegacyChunkName = (id: string): string | null => {return 'fflate';}- if (id.includes('/node_modules/react-icons/')) {- return 'react-icons';- }-if (id.includes('/node_modules/@xyflow/') || /\/node_modules\/d3-[^/]+\//.test(id)) {return 'workflow-vendor';}