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
Mary Hipp
c7b2bdb846
allow inplace installs
2024-03-08 14:41:03 +11:00
Brandon Rising
afd08c5f46
Regenerate typegen
2024-03-08 13:59:59 +11:00
Brandon Rising
d1f859a446
Remove civit AI model install resources
2024-03-08 13:59:59 +11:00
psychedelicious
8e694992bb
chore(ui): lint
2024-03-08 12:26:35 +11:00
psychedelicious
4077dfe0c3
fix(ui): clear pending trigger phrase immediately
...
If we don't clear it, there's an awkward flash of error state as the mutation completes.
2024-03-08 12:26:35 +11:00
psychedelicious
fe8e391aad
fix(ui): display trigger phrases for loras in mm editor
2024-03-08 12:26:35 +11:00
psychedelicious
ac8f606d99
fix(ui): default settings linked incorrectly
2024-03-08 12:26:35 +11:00
psychedelicious
0aa2070ce0
perf(mm): add manual query cache updates for the update model route
...
This greatly reduces the number of network requests when editing models.
2024-03-08 12:26:35 +11:00
psychedelicious
ff66779aa3
tweak(ui): add colors to base/format badges
2024-03-08 12:26:35 +11:00
psychedelicious
2ca65ab9fa
tweak(ui): style trigger phrases
2024-03-08 12:26:35 +11:00
psychedelicious
b34624a2a8
tweak(ui): style model edit
2024-03-08 12:26:35 +11:00
psychedelicious
b8aa9752f1
tweak(ui): update default settings layouts
2024-03-08 12:26:35 +11:00
psychedelicious
1b5d8eb9e7
tweak(ui): use check icon for model save button
2024-03-08 12:26:35 +11:00
psychedelicious
773182f425
fix(ui): reset model edit form state with new values
...
Without this, the form will incorrectly compare its state to its initial default values to determine if it is dirty. Instead, it should reset its default values to the new values after successful submit.
2024-03-08 12:26:35 +11:00
psychedelicious
6386109fc5
feat(ui): move model save/close buttons to model header
2024-03-08 12:26:35 +11:00
psychedelicious
c008704bc8
feat(ui): model header styling
2024-03-08 12:26:35 +11:00
psychedelicious
8959d1bf51
fix(ui): do not persist model manager state
2024-03-08 12:26:35 +11:00
psychedelicious
8fd9342712
fix(ui): typing issues related to trigger phrase changes
2024-03-08 12:26:35 +11:00
psychedelicious
f0b815aa9b
fix(ui): missing translation
2024-03-08 12:26:35 +11:00
psychedelicious
3a5b0b819c
chore(ui): typegen
2024-03-08 12:26:35 +11:00
psychedelicious
fdecb886b2
feat(ui): add main model trigger phrases
2024-03-08 12:26:35 +11:00
psychedelicious
2f0a653a7f
feat(ui): improved model list styling
2024-03-08 12:26:35 +11:00
psychedelicious
b0add805c5
feat(ui): use stickyscrollable for models list
2024-03-08 12:26:35 +11:00
psychedelicious
ed4e8624dd
feat(ui): model manager UI tweaks
...
- Move image display to left
- Move description into model header
- Move model edit & convert buttons to top right of model header
- Tweak styles for model display component
2024-03-08 12:26:35 +11:00
Josh Corbett
ad70cdfe87
feat: ✨ undo/redo discard canvas staged image
2024-03-07 19:24:55 +11:00
Josh Corbett
549d461107
refactor: 🚨 satisfy the linter
2024-03-07 19:24:55 +11:00
Josh Corbett
cab3748010
feat: ✨ discard current inpaint item
2024-03-07 19:24:55 +11:00
psychedelicious
779b3e0e8e
tidy(ui): remove npm lockfile
2024-03-06 21:57:41 -05:00
Jennifer Player
347f1fd0b7
fix tests
2024-03-06 21:57:41 -05:00
Jennifer Player
4af5a09a68
cleanup
2024-03-06 21:57:41 -05:00
Jennifer Player
8df02623f2
cleanup
2024-03-06 21:57:41 -05:00
Jennifer Player
aa88fadc30
use webp images
2024-03-06 21:57:41 -05:00
Jennifer Player
8411029d93
get model image url from model config, added thumbnail formatting for images
2024-03-06 21:57:41 -05:00
Jennifer Player
239b1e8cc7
moved upload image field and added delete image functionality
2024-03-06 21:57:41 -05:00
Jennifer Player
8a68355926
got model images displaying, still need to clean up types and unused code
2024-03-06 21:57:41 -05:00
Jennifer Player
86aef9f31d
removed modelimage for now
2024-03-06 21:57:41 -05:00
Jennifer Player
2f6964bfa5
fetching model image, still not working
2024-03-06 21:57:41 -05:00
Jennifer Player
c1cdfd132b
moved model image to edit page, added model_images service
2024-03-06 21:57:41 -05:00
Jennifer Player
f6bfe5e6f2
created ugly model image upload component
2024-03-06 21:57:41 -05:00
Васянатор
b5a8455b5f
translationBot(ui): update translation (Russian)
...
Currently translated at 94.6% (1431 of 1512 strings)
translationBot(ui): update translation (Russian)
Currently translated at 94.6% (1431 of 1512 strings)
Co-authored-by: Васянатор <ilabulanov339@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/ru/
Translation: InvokeAI/Web UI
2024-03-07 11:47:01 +11:00
Riccardo Giovanetti
645ef081ea
translationBot(ui): update translation (Italian)
...
Currently translated at 98.0% (1487 of 1516 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.0% (1482 of 1512 strings)
translationBot(ui): update translation (Italian)
Currently translated at 98.0% (1475 of 1505 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-03-07 11:47:01 +11:00
psychedelicious
e68d7fa6d7
fix(ui): update types
2024-03-07 10:56:59 +11:00
psychedelicious
c5ab1c7ad6
chore(ui): typegen
2024-03-07 10:56:59 +11:00
psychedelicious
5a561cab78
fix(ui): typo
2024-03-07 10:56:59 +11:00
psychedelicious
c57f6ee885
fix(ui): fix metadata for graphs to use new enriched format
2024-03-07 10:56:59 +11:00
psychedelicious
d4a2ea68fc
chore(ui): typegen
2024-03-07 10:56:59 +11:00
Josh Corbett
4eefed12f0
refactor: 🚨 please the almighty linter
2024-03-07 10:44:40 +11:00
Josh Corbett
4301a3d6fd
feat: ✨ invert scroll direction for brush size
2024-03-07 10:44:40 +11:00
Mary Hipp
a00369a67a
add config path as field in model update form when model is a checkpoint
2024-03-07 10:29:29 +11:00
psychedelicious
f5e3341465
feat(scripts): add support for file path & stdin to frontend typegen script
2024-03-07 10:16:44 +11:00
Mary Hipp
b1d72d411e
only show default settings on main models
2024-03-07 09:07:43 +11:00
Mary Hipp
46614ee28f
lint fix
2024-03-06 15:06:27 -05:00
Mary Hipp
b019f9bb8b
make sure all metadata in viewer is rendered at correct font size - specifically fixes control adapter metadata being too big
2024-03-06 15:06:27 -05:00
Mary Hipp
b857692073
update uploads from canvas to controlnet to be intermediates so they do not appear in gallery
2024-03-06 15:06:27 -05:00
Mary Hipp
90fb7a1a59
move linear tab to be first on workflow edit mode
2024-03-06 15:06:27 -05:00
Mary Hipp
56fcf6af78
empty state for workflow with no linear fields in view mode
2024-03-06 15:06:27 -05:00
Mary Hipp
c4fe7e697b
add right-padding to prompt textareas so that text does not go behind icons
2024-03-06 15:06:27 -05:00
Mary Hipp
2fd483dfc8
use base.800 on invokeBlue.400 for all gallery selected states
2024-03-06 15:06:27 -05:00
Mary Hipp
b9a9507422
update padding in color picker
2024-03-06 15:06:27 -05:00
Mary Hipp Rogers
f2744fd7d1
fix URL for get image workflow ( #5882 )
...
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-03-06 12:46:16 -05:00
psychedelicious
fe6e879d38
fix(ui): invalidate InvocationCacheStatus query cache after clearing intermediates
2024-03-06 08:14:12 -05:00
Josh Corbett
458e7185b8
fix: 🐛 didn't include renamed file
2024-03-06 20:06:14 +11:00
Josh Corbett
a95128f5f2
refactor: ✏️ canvas mask compositor naming
...
changes `...MaskCompositer` spelling to `...MaskCompositor`
2024-03-06 20:06:14 +11:00
Brandon Rising
46f32c5e3c
Remove references to the no longer existing invokeai.app.services.model_metadata package
2024-03-05 19:58:25 -05:00
Mary Hipp Rogers
e30cb4b52f
updates for defaultModel
( #5866 )
...
* move defaultModel logic to modelsLoaded and update to work for key instead of name/base/type string
* lint fix
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-03-05 09:55:22 -05:00
psychedelicious
ba1f6bf926
chore: lint
2024-03-05 23:50:19 +11:00
psychedelicious
4a9cca6c2d
fix(ui): format model API response data
2024-03-05 23:50:19 +11:00
psychedelicious
b0275700b3
refactor(ui): compute prompt trigger options in the component
...
We can derive the valid trigger options in the component without needing to lift the options list into global state.
2024-03-05 23:50:19 +11:00
psychedelicious
8319aca5f9
chore(ui): typegen
2024-03-05 23:50:19 +11:00
psychedelicious
51a604f907
pkg(ui): do not fix knip in lint:fix
script
2024-03-05 23:50:19 +11:00
Mary Hipp
7515d73628
make trigger phrases a list of options and add lora name as description to appear in dropdown
2024-03-05 23:50:19 +11:00
Mary Hipp
2c453aa531
fix type error
2024-03-05 23:50:19 +11:00
Mary Hipp
2cca6e4c76
check if lora is enabled before adding trigger phrases
2024-03-05 23:50:19 +11:00
Mary Hipp
ef171e890a
use a listener to recalculate trigger phrases when model or lora list changes
2024-03-05 23:50:19 +11:00
Mary Hipp
caafbf2f0d
only show trigger phrase settings on main and lora
2024-03-05 23:50:19 +11:00
Mary Hipp
2db5eaf907
lint fix
2024-03-05 23:50:19 +11:00
Mary Hipp
f234bf6256
cleanup
2024-03-05 23:50:19 +11:00
Mary Hipp
cfa78b4052
adapt embedding popover to work for trigger phrases also
2024-03-05 23:50:19 +11:00
Mary Hipp
ba1dd4b02b
UI in MM to create trigger phrases
2024-03-05 23:50:19 +11:00
psychedelicious
99407c899f
feat(ui): update UI to use new model config backend
...
- Update all queries
- Remove Advanced Add
- Removed un-editable, internal-only model attributes from model edit UI (e.g. format, repo variant, model type)
- Update model tags so the list refreshes when a model installs
- Rename some queries, components, variables, types to match backend
- Fix divide-by-zero in install queue
2024-03-05 23:50:19 +11:00
psychedelicious
7c9128b253
tidy(mm): use canonical capitalization for all model-related enums, classes
...
For example, "Lora" -> "LoRA", "Vae" -> "VAE".
2024-03-05 23:50:19 +11:00
Mary Hipp Rogers
8b34f5298c
Default model settings ( #5850 )
...
* UI in MM to create trigger phrases
* add scheduler and vaePrecision to config
* UI for configuring default settings for models'
* hook MM default model settings up to API
* add button to set default settings in parameters
* pull out trigger phrases
* back-end for default settings
* lint
* remove log;
gi
* ruff
* ruff format
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2024-03-04 09:39:03 -05:00
Hosted Weblate
264aee3ffa
translationBot(ui): update translation files
...
Updated by "Cleanup translation files" hook in Weblate.
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/
Translation: InvokeAI/Web UI
2024-03-04 21:39:46 +11:00
Riccardo Giovanetti
4deb60f365
translationBot(ui): update translation (Italian)
...
Currently translated at 98.0% (1442 of 1470 strings)
Co-authored-by: Riccardo Giovanetti <riccardo.giovanetti@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/it/
Translation: InvokeAI/Web UI
2024-03-04 21:39:46 +11:00
B N
f2d5fb176f
translationBot(ui): update translation (German)
...
Currently translated at 80.4% (1183 of 1470 strings)
Co-authored-by: B N <berndnieschalk@gmail.com>
Translate-URL: https://hosted.weblate.org/projects/invokeai/web-ui/de/
Translation: InvokeAI/Web UI
2024-03-04 21:39:46 +11:00
Mary Hipp
94005b5501
add button to navigate to model manager if tab is enabled
2024-03-03 19:50:50 -05:00
Mary Hipp
02dc1a8780
consolidate tabs for main model and concepts in generation panel
2024-03-03 19:50:50 -05:00
dunkeroni
735857479d
fix(canvas): use corrected mask for pasteback
2024-03-03 12:58:47 -05:00
psychedelicious
dd9daf8efb
chore: ruff
2024-03-01 10:42:33 +11:00
psychedelicious
8b03af391a
fix(ui): fix metadata display issue
2024-03-01 10:42:33 +11:00
psychedelicious
bbbd18f119
fix(ui): baseUrl hardcoded api path
...
We now hav multiple api versions for different routers, so we cannot hardcode the `/api/v1` portion of the baseUrl
2024-03-01 10:42:33 +11:00
psychedelicious
c074beff7c
fix(ui): typo in feature tooltips
2024-03-01 10:42:33 +11:00
Jennifer Player
4b4b940461
updated to use new import model mutation
2024-03-01 10:42:33 +11:00
psychedelicious
574d6538b9
fix(ui): merge conflict
2024-03-01 10:42:33 +11:00
psychedelicious
3141c6efd5
chore(ui): bump deps
...
The only major version is `query-string`. The breaking change for it is dropping support for old versions of node. Not a problem for us.
2024-03-01 10:42:33 +11:00
psychedelicious
bcf742ef87
feat(ui): move from madge to dpdm for circular dependencies
2024-03-01 10:42:33 +11:00
psychedelicious
f6c068afdd
tidy(ui): fix circular dependencies in listeners
2024-03-01 10:42:33 +11:00
psychedelicious
7d2e840590
tidy: remove some traces of ONNX
2024-03-01 10:42:33 +11:00
psychedelicious
f0b3485ce9
chore(ui): typegen, update knip config
...
Knip should never touch the autogenerated types
2024-03-01 10:42:33 +11:00
psychedelicious
37608cdea2
chore(ui): update pnpm-lock.yaml
...
Forgot to run `pnpm i` earlier after removing packages.
2024-03-01 10:42:33 +11:00
psychedelicious
1176c549c0
feat(ui): configure knip
2024-03-01 10:42:33 +11:00
psychedelicious
d90210fea6
tidy(ui): clean up unused code 6
...
unused files
2024-03-01 10:42:33 +11:00
psychedelicious
d99bec8b1a
tidy(ui): clean up unused code 5
...
variables, types and schemas
2024-03-01 10:42:33 +11:00
psychedelicious
b661d93bd8
tidy(ui): clean up unused code 4
...
variables, types and schemas
2024-03-01 10:42:33 +11:00
psychedelicious
dc64089c9d
tidy(ui): clean up unused code 3
...
variables, types and schemas
2024-03-01 10:42:33 +11:00
psychedelicious
a6f6fe581e
tidy(ui): clean up unused code 2
...
types and schemas
2024-03-01 10:42:33 +11:00
psychedelicious
b218282149
fix(ui): model install progress sets total bytes correctly
2024-03-01 10:42:33 +11:00
psychedelicious
80065858ed
chore(ui): lint
2024-03-01 10:42:33 +11:00
psychedelicious
aaeef03593
fix(ui): fix remaining TS issues
2024-03-01 10:42:33 +11:00
psychedelicious
97ecd99b9c
fix(ui): fix up MM queries & types (wip)
2024-03-01 10:42:33 +11:00
psychedelicious
202e739404
tidy(api): remove non-heuristic install route
2024-03-01 10:42:33 +11:00