InvokeAI/invokeai/frontend/web/src/features
psychedelicious 9abfb02bf0 fix(ui): model metadata handlers use model identifiers, not configs
Model metadata includes the main model, VAE and refiner model.

These used full model configs, as returned by the server, as their metadata type.

LoRA and control adapter metadata only use the metadata identifier.

This created a difference in handling. After parsing a model/vae/refiner, we have its name and can display it. But for LoRAs and control adapters, we only have the model key and must query for the full model config to get the name.

This change makes main model/vae/refiner metadata only have the model key, like LoRAs and control adapters.

The render function is now async so fetching can occur within it. All metadata fields with models now only contain the identifier, and fetch the model name to render their values.
2024-03-01 10:42:33 +11:00
..
canvas feat(ui): update model identifier to be key (wip) 2024-03-01 10:42:33 +11:00
changeBoardModal refactor(ui): refactor reducer list 2024-02-03 07:39:19 -05:00
controlAdapters tidy(ui): tidy model identifier logic 2024-03-01 10:42:33 +11:00
deleteImageModal refactor(ui): refactor reducer list 2024-02-03 07:39:19 -05:00
dnd added reset to default back in, removed unneeded activation constraints 2024-02-14 18:07:15 -05:00
dynamicPrompts refactor(ui): refactor reducer list 2024-02-03 07:39:19 -05:00
embedding fix TI appearing as key in prompt 2024-03-01 10:42:33 +11:00
gallery feat(ui): migrate all metadata recall logic to new system 2024-03-01 10:42:33 +11:00
hrf updated tooltip popovers 2024-02-19 12:50:11 -05:00
lora tidy(ui): tidy model identifier logic 2024-03-01 10:42:33 +11:00
metadata fix(ui): model metadata handlers use model identifiers, not configs 2024-03-01 10:42:33 +11:00
modelManagerV2 fix literal strings in MM UI 2024-03-01 10:42:33 +11:00
nodes fix(ui): CanvasPasteBack types 2024-03-01 10:42:33 +11:00
parameters tidy(ui): tidy model identifier logic 2024-03-01 10:42:33 +11:00
queue refactor(ui): refactor reducer list 2024-02-03 07:39:19 -05:00
sdxl tidy(ui): tidy model identifier logic 2024-03-01 10:42:33 +11:00
settingsAccordions feat(ui): refactor metadata handling (again) 2024-03-01 10:42:33 +11:00
system wip(ui): Replace 2 Layer Coherence pass with Gradient Mask 2024-03-01 10:42:33 +11:00
ui fix(ui): misc MM cleanup 2024-03-01 10:42:33 +11:00
workflowLibrary feat(ui): workflow schema v3 (WIP) 2024-03-01 10:42:33 +11:00