mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-30 11:11:53 +00:00
[Style] Hide deprecated settings on UI (#3688)
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
}}
|
}}
|
||||||
</h3>
|
</h3>
|
||||||
<div
|
<div
|
||||||
v-for="setting in group.settings"
|
v-for="setting in group.settings.filter((s) => !s.deprecated)"
|
||||||
:key="setting.id"
|
:key="setting.id"
|
||||||
class="setting-item mb-4"
|
class="setting-item mb-4"
|
||||||
>
|
>
|
||||||
|
|||||||
@@ -18,11 +18,6 @@
|
|||||||
<i-material-symbols:experiment-outline />
|
<i-material-symbols:experiment-outline />
|
||||||
</template>
|
</template>
|
||||||
</Tag>
|
</Tag>
|
||||||
<Tag
|
|
||||||
v-if="setting.deprecated"
|
|
||||||
:value="$t('g.deprecated')"
|
|
||||||
severity="danger"
|
|
||||||
/>
|
|
||||||
</template>
|
</template>
|
||||||
</FormItem>
|
</FormItem>
|
||||||
</template>
|
</template>
|
||||||
|
|||||||
@@ -1,5 +1,4 @@
|
|||||||
import { LinkMarkerShape } from '@comfyorg/litegraph'
|
import { LinkMarkerShape, LiteGraph } from '@comfyorg/litegraph'
|
||||||
import { LiteGraph } from '@comfyorg/litegraph'
|
|
||||||
|
|
||||||
import type { ColorPalettes } from '@/schemas/colorPaletteSchema'
|
import type { ColorPalettes } from '@/schemas/colorPaletteSchema'
|
||||||
import type { Keybinding } from '@/schemas/keyBindingSchema'
|
import type { Keybinding } from '@/schemas/keyBindingSchema'
|
||||||
@@ -7,6 +6,13 @@ import { NodeBadgeMode } from '@/types/nodeSource'
|
|||||||
import { LinkReleaseTriggerAction } from '@/types/searchBoxTypes'
|
import { LinkReleaseTriggerAction } from '@/types/searchBoxTypes'
|
||||||
import type { SettingParams } from '@/types/settingTypes'
|
import type { SettingParams } from '@/types/settingTypes'
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Core settings are essential configuration parameters required for ComfyUI's basic functionality.
|
||||||
|
* These settings must be present in the settings store and cannot be omitted.
|
||||||
|
*
|
||||||
|
* IMPORTANT: To prevent ID conflicts, settings should be marked as deprecated rather than removed
|
||||||
|
* when they are no longer needed.
|
||||||
|
*/
|
||||||
export const CORE_SETTINGS: SettingParams[] = [
|
export const CORE_SETTINGS: SettingParams[] = [
|
||||||
{
|
{
|
||||||
id: 'Comfy.Validation.Workflows',
|
id: 'Comfy.Validation.Workflows',
|
||||||
|
|||||||
Reference in New Issue
Block a user