psychedelicious
24e741e2d1
feat(ui): add script to clean translations
...
This script removes unused translations from the `en.json` source translation file:
- Parse `en.json` to build a list of all keys, e.g. `controlnet.depthAnything`
- Check every frontend file for every key
- If the key is not found, it is removed from the translation file
- Exact matches (e.g. `controlnet.depthAnything`) and stem matches (e.g. `depthAnything`) are ignored
2024-03-14 11:38:29 +11:00
psychedelicious
e0bf9ce5c6
tidy(ui): use normal quotes in translations
2024-03-14 11:38:29 +11:00
psychedelicious
c66e8b395e
fix(ui): remove unused input on depth anything processor node
2024-03-14 10:53:57 +11:00
psychedelicious
4c417adc82
fix(ui): use revised metadata model types
...
We can also totally remove the fetch logic because we store the same model data in state now.
2024-03-14 10:53:57 +11:00
psychedelicious
437a413ca3
chore(ui): typegen
2024-03-14 10:53:57 +11:00
psychedelicious
db12ce95a8
fix(ui): invalid collect node error w/ control adapters
...
The graph builders used awaited functions within `Array.prototype.forEach` loops. This doesn't do what you'd think. This caused graphs to be enqueued before they were fully constructed.
Changed to `for..of` loops to fix this.
2024-03-14 10:53:57 +11:00
psychedelicious
ee3a1a95ef
fix(ui): control adapters require control images
...
There wasn't enough validation of control adapters during graph building. It would be possible for a graph to be built with empty collect node, causing an error. Addressed with an extra check.
This should never happen in practice, because the invoke button should be disabled if an invalid CA is active.
2024-03-14 10:53:57 +11:00
psychedelicious
4bb5aba70e
feat(ui): only fetch TIs on first load, add comment
2024-03-14 07:38:09 +11:00
Mary Hipp
cd55c23713
initiate TI model query when socket connects so user doesnt have to wait when opening prompt trigger phrases
2024-03-14 07:38:09 +11:00
Mary Hipp
1d2743af1b
remove log
2024-03-14 07:25:48 +11:00
Mary Hipp
99d2099ccd
add key for controladapter CustomSelect too
2024-03-14 07:25:48 +11:00
Mary Hipp
b64a693f16
try adding a key to force rerender when items load
2024-03-14 07:25:48 +11:00
psychedelicious
c73f58e486
docs: move frontend docs to mkdocs
2024-03-13 22:43:20 +11:00
psychedelicious
614fece147
chore(ui): prettier
2024-03-13 21:02:29 +11:00
psychedelicious
8ef8082d65
feat(ui): style add model panel
2024-03-13 21:02:29 +11:00
psychedelicious
d93d4afbb7
feat(ui): style HF scan tab
2024-03-13 21:02:29 +11:00
Jennifer Player
d0800c4888
ui consistency, moved is_diffusers logic to backend, extended HuggingFaceMetadata, removed logic from service
2024-03-13 21:02:29 +11:00
Jennifer Player
2a300ecada
updated add model copy, added search to hugging face results
2024-03-13 21:02:29 +11:00
Jennifer Player
ee77abb4fe
updated simple install button to match other tabs
2024-03-13 21:02:29 +11:00
Jennifer Player
004bca5c42
updated endpoint types
2024-03-13 21:02:29 +11:00
Jennifer Player
5ad048a161
fixed error handling
2024-03-13 21:02:29 +11:00
Jennifer Player
6369ccd05e
added placeholders, updated some copy
2024-03-13 21:02:29 +11:00
Jennifer Player
3a5314f1ca
install model if diffusers or single file, cleaned up backend logic to not mess with existing model install
2024-03-13 21:02:29 +11:00
Jennifer Player
f7cd3cf1f4
added hf models import tab and route for getting available hf models
2024-03-13 21:02:29 +11:00
Mary Hipp
d0d695c020
disable trigger phrase form if empty
2024-03-12 21:08:15 -04:00
Jennifer Player
2a648da557
updated model manager to display when import item is cancelled
2024-03-13 09:18:05 +11:00
psychedelicious
43948e0758
feat(ui): add setting for always show image size badge
2024-03-12 18:52:23 +11:00
psychedelicious
cc03fcbcb6
style(ui): tweak image dimension badge overlay styles
2024-03-12 18:52:23 +11:00
Rohinish
d1e445fa49
fix(ui): changed to theme tokens
2024-03-12 18:52:23 +11:00
Rohinish
adba8489f2
fix(ui): made changes to avoid overlapping
2024-03-12 18:52:23 +11:00
Rohinish
d919022ba5
fix(ui): fixed requested changes and made the badge display on hover
2024-03-12 18:52:23 +11:00
Rohinish
e076898798
fix(ui): logic to remove badge for small image size
2024-03-12 18:52:23 +11:00
Rohinish
9f19b766a4
feat(ui): Add image size badge to gallery images
2024-03-12 18:52:23 +11:00
psychedelicious
133c90e116
fix(ui): update all components and logic to use enriched ModelIdentifierField
2024-03-10 11:03:38 +11:00
psychedelicious
4433b78e59
chore(ui): typegen
2024-03-10 11:03:38 +11:00
Mary Hipp
cab5b64f0b
only render convert button if ckpt model
2024-03-08 13:19:08 -06:00
blessedcoolant
a42812d78d
ui(model_manager): Remember Scan Path
2024-03-08 14:05:57 -05:00
Brandon Rising
6aae88bd88
Rerun typegen
2024-03-08 12:44:58 -05:00
psychedelicious
57c1954da7
feat(ui): use control adapter processor helper in metadata parser
2024-03-08 12:44:58 -05:00
psychedelicious
a3570901f7
fix(ui): do not show default settings for refiner models
2024-03-08 12:44:58 -05:00
psychedelicious
fd457955bc
feat(ui): update default settings for control adapters
...
- Split out main model defaults
- Add controlnet/t2i defaults (which includes only the preprocessor)
2024-03-08 12:44:58 -05:00
psychedelicious
1f69613f5d
chore(ui): typegen
2024-03-08 12:44:58 -05:00
psychedelicious
4ee4a801c6
feat(ui): update default settings for main models
...
Needed some massaging now that only main models get main model default settings.
2024-03-08 12:44:58 -05:00
psychedelicious
53b7f6be37
feat(ui): use default settings for control adapters for processor
2024-03-08 12:44:58 -05:00
psychedelicious
dbd7c94e7c
chore(ui): typegen
2024-03-08 12:44:58 -05:00
Brandon Rising
33ded359e6
Run typegen
2024-03-08 11:10:44 -05:00
psychedelicious
ddde355b09
fix(mm): add ui_type to model fields
...
Recently the schema for models was changed to a generic `ModelField`, and the UI was unable to derive the type of those fields. This didn't affect functionality, but it did break the styling of handles.
Add `ui_type` to the affected fields and update the UI to use the correct capitalizations.
2024-03-08 11:10:44 -05:00
psychedelicious
fe2c6f621a
fix(ui): do not allow model add when no location is provided
2024-03-08 14:41:03 +11:00
psychedelicious
d0fcdbe8a3
tweak(ui): simplify layout of inplace install form elements
2024-03-08 14:41:03 +11:00
Mary Hipp
a28547b3dd
make inplace optional, default to true
2024-03-08 14:41:03 +11:00