Skip to content

Commit bbd887b

Browse files
Add banner indicating how to use legacy manager UI
1 parent f309826 commit bbd887b

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed
Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,26 @@
11
<template>
22
<div class="w-full">
3-
<div class="px-6 py-4">
3+
<div class="px-6 py-4 flex justify-between items-center">
44
<h2 class="text-lg font-normal text-left">
55
{{ $t('manager.discoverCommunityContent') }}
66
</h2>
7+
<Tag
8+
v-tooltip.left="$t('manager.legacyManagerUIDescription')"
9+
severity="info"
10+
icon="pi pi-info-circle"
11+
:value="$t('manager.legacyManagerUI')"
12+
class="cursor-help"
13+
:pt="{
14+
root: { class: 'text-xs' }
15+
}"
16+
/>
717
</div>
818
<ContentDivider :width="0.3" />
919
</div>
1020
</template>
1121

1222
<script setup lang="ts">
23+
import Tag from 'primevue/tag'
24+
1325
import ContentDivider from '@/components/common/ContentDivider.vue'
1426
</script>

src/locales/en/main.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,8 @@
114114
"manager": {
115115
"title": "Custom Nodes Manager",
116116
"legacyMenuNotAvailable": "Legacy manager menu is not available, defaulting to the new manager menu.",
117+
"legacyManagerUI": "Use Legacy UI",
118+
"legacyManagerUIDescription": "To use the legacy Manager UI, start ComfyUI with --enable-manager-legacy-ui",
117119
"failed": "Failed ({count})",
118120
"noNodesFound": "No nodes found",
119121
"noNodesFoundDescription": "The pack's nodes either could not be parsed, or the pack is a frontend extension only and doesn't have any nodes.",

0 commit comments

Comments
 (0)