psychedelicious
48e1a0c217
fix(ui): remove sync models functionality
...
The backend functionality was removed in the previous couple commits. Removing the frontend endpoints and components.
2024-03-28 12:35:41 +11:00
psychedelicious
c113a822d0
chore(ui): knip
2024-03-28 12:24:32 +11:00
psychedelicious
33900d2419
fix(ui): ts issue from react-virtuoso
2024-03-28 12:24:32 +11:00
psychedelicious
627a98770f
feat(ui): optimize size when using CA image size
...
When using a Control Adapter image's dimensions as the main output dimensions, fit the dimensions to the model's optimal dimensions.
2024-03-28 08:47:07 +11:00
Mark E. Shoulson
0bb0e226dc
Flip default ordering of workflow library; #5477
2024-03-28 07:36:03 +11:00
psychedelicious
3655a47200
feat(ui): remove references to HF token handling
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
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
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
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
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
e8f4012b56
feat(ui): extract FetchingModelsLoader into reusable component
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
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
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
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
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
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