Skip to content

Commit c70f440

Browse files
fix(ui): special node icon tooltip
1 parent b157ae9 commit c70f440

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

invokeai/frontend/web/public/locales/en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -978,6 +978,8 @@
978978
"zoomOutNodes": "Zoom Out",
979979
"betaDesc": "This invocation is in beta. Until it is stable, it may have breaking changes during app updates. We plan to support this invocation long-term.",
980980
"prototypeDesc": "This invocation is a prototype. It may have breaking changes during app updates and may be removed at any time.",
981+
"internalDesc": "This invocation is used internally by Invoke. It may have breaking changes during app updates and may be removed at any time.",
982+
"specialDesc": "This invocation some special handling in the app. For example, Batch nodes are used to queue multiple graphs from a single workflow.",
981983
"imageAccessError": "Unable to find image {{image_name}}, resetting to default",
982984
"boardAccessError": "Unable to find board {{board_id}}, resetting to default",
983985
"modelAccessError": "Unable to find model {{key}}, resetting to default",

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/InvocationNodeClassificationIcon.tsx

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,11 @@ const ClassificationTooltipContent = memo(({ classification }: { classification:
4141
}
4242

4343
if (classification === 'internal') {
44-
return t('nodes.prototypeDesc');
44+
return t('nodes.internalDesc');
45+
}
46+
47+
if (classification === 'special') {
48+
return t('nodes.specialDesc');
4549
}
4650

4751
return null;

0 commit comments

Comments
 (0)