[Electron] Add custom node migration placeholder (#1670)

This commit is contained in:
Chenlei Hu
2024-11-24 17:16:39 -08:00
committed by GitHub
parent e01c8f06c7
commit e53bafbca6
2 changed files with 18 additions and 1 deletions

View File

@@ -57,6 +57,18 @@
</p>
</div>
</div>
<div class="flex items-center gap-3 p-2 rounded cursor-not-allowed">
<Checkbox disabled :binary="true" />
<div>
<label class="text-neutral-200 font-medium">
{{ $t('install.customNodes') }}
<Tag severity="secondary"> {{ $t('comingSoon') }}... </Tag>
</label>
<p class="text-sm text-neutral-400 my-1">
{{ $t('install.customNodesDescription') }}
</p>
</div>
</div>
</div>
</div>
@@ -70,6 +82,7 @@
<script setup lang="ts">
import { ref, computed, watchEffect } from 'vue'
import { electronAPI } from '@/utils/envUtil'
import Tag from 'primevue/tag'
import InputText from 'primevue/inputtext'
import Button from 'primevue/button'
import Checkbox from 'primevue/checkbox'

View File

@@ -51,7 +51,10 @@ const messages = {
workflowContents: 'Workflow contents',
customNodeConfigurations: 'Custom node configurations'
}
}
},
customNodes: 'Custom Nodes',
customNodesDescription:
'Reference custom node files from existing ComfyUI installations and install their dependencies.'
},
serverStart: {
reinstall: 'Reinstall',
@@ -71,6 +74,7 @@ const messages = {
revertChanges: 'Revert Changes',
restart: 'Restart'
},
comingSoon: 'Coming Soon',
firstTimeUIMessage:
'This is the first time you use the new UI. Choose "Menu > Use New Menu > Disabled" to restore the old UI.',
download: 'Download',