blessedcoolant
c4a856de4a
ui: update the new ip adapter configs on the frontend
2024-03-27 22:08:23 +05:30
psychedelicious
3655a47200
feat(ui): remove references to HF token handling
2024-03-27 18:59:55 +05:30
psychedelicious
7167699015
chore(ui): typegen
2024-03-27 18:59:55 +05:30
psychedelicious
536bb4f053
chore(ui): lint
2024-03-27 10:52:32 +11:00
psychedelicious
3beb9b764a
feat(ui): <GalleryImage />
styling
2024-03-27 10:52:32 +11:00
Rohinish
171f2aa20d
fix(ui): image not getting selected
2024-03-27 10:52:32 +11:00
Rohinish
3cdfc6ab16
fix tests
2024-03-26 09:06:37 +11:00
Rohinish
42f72b19a6
fix localization and change in settings
2024-03-26 09:06:37 +11:00
psychedelicious
c856fab7d1
fix(ui): load default workflows mutation error
...
Loading default workflows sometimes requires we mutate the workflow object in order to change the category or ID of the workflow.
This happens in `invokeai/frontend/web/src/features/nodes/util/workflow/validateWorkflow.ts`
The data we get back from the query hooks is frozen and sealed by redux, because they are part of redux state. We need to clone the workflow before operating on it.
It's not clear how this ever worked in the past, because redux state has always been frozen and sealed.
2024-03-26 08:30:25 +11:00
psychedelicious
2ecbb9f720
fix(ui): model dependency parsing
2024-03-22 14:59:33 +11:00
psychedelicious
ab36d7c0f2
chore(ui): typegen
2024-03-22 14:59:33 +11:00
blessedcoolant
4687739319
ui: Update rgbaToHex to optionally return alpha value or not
2024-03-22 06:23:51 +05:30
blessedcoolant
168b35f86d
fix: make the styling of the hex code component consistent with others
2024-03-22 06:23:51 +05:30
blessedcoolant
07fe0e8dc8
chore: Move color transformers to new file
2024-03-22 06:23:51 +05:30
blessedcoolant
45fc7d8054
feat: add Hex Code to ColorField Component
2024-03-22 06:23:51 +05:30
psychedelicious
6e869e6038
fix(ui): migrate redux state that has models
...
With the change to model identifiers from v3 to v4, if a user had persisted redux state with the old format, we could get unexpected runtime errors when rehydrating state if we try to access model attributes that no longer exist.
For example, the CLIP Skip component does this:
```ts
CLIP_SKIP_MAP[model.base].maxClip
```
In v3, models had a `base_type` attribute, but it is renamed to `base` in v4. This code therefore causes a runtime error:
- `model.base` is `undefined`
- `CLIP_SKIP_MAP[undefined]` is also undefined
- `undefined.maxClip` is a runtime error!
Resolved by adding a migration for the redux slices that have model identifiers. The migration simply resets the slice or the part of the slice that is affected, when it's simple to do a partial reset.
Closes #6000
2024-03-22 07:55:13 +11:00
psychedelicious
9eacc0c189
fix(ui): use the old combobox component for dropdowns
...
Closes #6011
2024-03-22 07:33:52 +11:00
psychedelicious
7019d93ff0
feat(ui): add missing detect_resolution to processors
2024-03-21 07:02:57 -07:00
psychedelicious
7467768d48
chore(ui): typegen
2024-03-21 07:02:57 -07:00
psychedelicious
30283a4767
fix(ui): set aspect ratio to free when using default model settings
...
We need to use the `widthRecalled` and `heightRecalled` actions, which handle the aspect ratio.
Closes #5974
2024-03-21 16:30:52 +11:00
Brandon Rising
dacfe6853e
Update rc version, regenerate schema
2024-03-20 08:21:23 -07:00
Rohinish
9d30a063e7
fix: remaining strings
2024-03-20 16:26:14 +11:00
Rohinish
dc9a9c0160
fix: not translated strings
2024-03-20 16:26:14 +11:00
Rohinish
d45931a0af
fix(ui): localize text
2024-03-20 16:26:14 +11:00
psychedelicious
c1de129bbc
fix(ui): use refiner's seamless node for i2l VAE
...
Closes #5995
2024-03-20 16:08:27 +11:00
psychedelicious
fc63419c6e
fix(ui): refresh starter models on model add/update/delete
2024-03-20 15:05:25 +11:00
psychedelicious
c356cabe97
chore(ui): lint
2024-03-20 15:05:25 +11:00
psychedelicious
bdb52cfcf7
feat(ui): set HF token in MM tab
...
- Display a toast on UI launch if the HF token is invalid
- Show form in MM if token is invalid or unable to be verified, let user set the token via this form
2024-03-20 15:05:25 +11:00
psychedelicious
3f6f8199f6
chore(ui): typegen
2024-03-20 15:05:25 +11:00
psychedelicious
0e51495071
chore(ui): lint
2024-03-20 15:05:25 +11:00
psychedelicious
bd3e8cbdfb
feat(ui): add starter models tab to MM
...
Lists all starter models with an install button if the model is not yet installed.
2024-03-20 15:05:25 +11:00
psychedelicious
aa689e5384
style(ui): tweak ModelBaseBadge style
2024-03-20 15:05:25 +11:00
psychedelicious
484488dee4
feat(ui): add useStarterModelsToast
...
This displays a toast linking to the MM tab when there are no main models installed. It is a no-op when the `starterModels` feature is disabled.
2024-03-20 15:05:25 +11:00
psychedelicious
e40b715f39
feat(ui): add starterModels
feature
...
This can be disabled to prevent a toast from appearing, linking users to the model manager tab.
2024-03-20 15:05:25 +11:00
psychedelicious
e8f4012b56
feat(ui): extract FetchingModelsLoader into reusable component
2024-03-20 15:05:25 +11:00
psychedelicious
bc12ca9220
chore(ui): typegen
2024-03-20 15:05:25 +11:00
psychedelicious
97f16b2b7e
fix(ui): fix model install progress display
2024-03-20 15:05:25 +11:00
Mary Hipp
39fa8874fc
undo
2024-03-20 10:05:46 +11:00
Mary Hipp
4e245e9331
fix refiner metadata
2024-03-20 10:05:46 +11:00
psychedelicious
3f61c51c3a
fix(ui): model list refreshes after changes
...
When consolidating all the model queries I messed up the query tags. Fixed now, so that when a model is installed, removed, or changed, the list refreshes.
2024-03-20 06:25:57 +11:00
psychedelicious
faa555df20
chore(ui): lint
2024-03-19 22:11:48 +11:00
psychedelicious
7a3e19227f
feat(ui): display created_by
using valueOrNull
2024-03-19 22:11:48 +11:00
psychedelicious
e706afe8a6
feat(ui): add valueOrNull
to useMetadataItem
...
In order to allow for null and undefined metadata values, this hook returned a symbol to indicate that parsing failed or was pending.
For values where the parsed value will never be null or undefined, it is useful get the value or null (instead of a symbol).
2024-03-19 22:11:48 +11:00
psychedelicious
acca197893
revert(ui): restore metadata parsers for created_by
2024-03-19 22:11:48 +11:00
Mary Hipp
aa2c404cab
move created_by out of recall panel
2024-03-19 22:11:48 +11:00
Mary Hipp
300a4693ae
prettier
2024-03-19 21:59:51 +11:00
Mary Hipp
fe563f05fc
tsc
2024-03-19 21:59:51 +11:00
Mary Hipp
d89e653588
fix(ui): remove image_resolution from colormap
2024-03-19 21:59:51 +11:00
Mary Hipp
8c6c33a315
'feat(ui): update processor constants to calculate default resolution based on current base model, add image_resolution to the processors that didn't have it in the UI as a configurable op
...
tion
2024-03-19 21:59:51 +11:00
Mary Hipp
b25850a585
typegen
2024-03-19 21:59:51 +11:00
Mary Hipp
8c04eec210
fix initial main model logic
2024-03-15 10:22:16 -04:00
Brandon Rising
330e1354b4
Run typegen, update version to 4.0.0rc2
2024-03-14 17:01:36 -04:00
psychedelicious
21621eebf0
feat(ui): handle control adapter processed images
...
- Add helper functions to build metadata for control adapters, including the processed images
- Update parses to parse the new metadata
2024-03-14 12:34:03 -07:00
psychedelicious
c24f2046e7
chore(ui): typegen
2024-03-14 12:34:03 -07:00
psychedelicious
0131e7d928
fix(ui): recall control adapter metadata fields
2024-03-14 12:34:03 -07:00
psychedelicious
06ff105a1f
fix(ui): reset loras/control adapters when using recall all or remix
2024-03-14 12:34:03 -07:00
psychedelicious
328dc99f3a
fix(ui): log model load events
...
- Fix types
- Fix logging in listener
2024-03-14 18:29:55 +05:30
psychedelicious
19d66d5ec7
feat(ui): single getModelConfigs query
...
Single query, with simple wrapper hooks (type-safe). Updated everywhere in frontend.
2024-03-14 23:37:40 +11:00
psychedelicious
2584a950aa
feat(ui): add w/h to default model settings
2024-03-14 16:03:37 +11:00
psychedelicious
1adaf63253
chore(ui): typegen
2024-03-14 16:03:37 +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
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