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