psychedelicious
1823e446ac
fix(ui): conditionally render CL preview
...
This fixes an issue where it sometimes gets out of sync, and fixes some konva errors.
2024-06-06 07:45:13 +10:00
psychedelicious
a66b3497e0
feat(ui): port all toasts to use new util
2024-05-22 09:40:46 +10:00
psychedelicious
f31f0cf733
feat(ui): restore spellcheck on prompt boxes
2024-05-22 08:52:25 +10:00
psychedelicious
07feb5ba07
Revert "feat(ui): SDXL clip skip"
...
This reverts commit 40b4fa7238
.
2024-05-17 15:08:04 -07:00
psychedelicious
40b4fa7238
feat(ui): SDXL clip skip
...
Uses the same CLIP Skip value for both CLIP1 and CLIP2.
Adjusted SDXL CLIP Skip min/max/markers to be within the valid range (0 to 11).
Closes #4583
2024-05-16 07:49:30 -04:00
psychedelicious
1b777bb972
Revert "feat(ui): negative prompt boxes are italicized"
...
This reverts commit 49c4704379
.
2024-05-09 07:52:52 -04:00
psychedelicious
b180666497
feat(ui): disable spellcheck on prompt boxes
...
These are almost guaranteed to have non-english words - disable the spellcheck to prevent red squigglies.
2024-05-09 07:52:52 -04:00
psychedelicious
4740cd4f64
feat(ui): add "global" to global prompt placeholders
2024-05-09 07:52:52 -04:00
psychedelicious
8b51298ba1
feat(ui): negative prompt boxes are italicized
2024-05-09 07:52:52 -04:00
Mary Hipp
03c24ca9cb
lint fix
2024-05-08 15:49:37 -04:00
Mary Hipp
5820579237
switch to generation tab when someone sends to img2img
2024-05-08 15:49:37 -04:00
psychedelicious
8342f32f2e
refactor(ui): rewrite all types as zod schemas
...
This change prepares for safe metadata recall.
2024-05-08 08:39:18 -04:00
psychedelicious
4adc592657
feat(ui): move strength to init image layer
...
This further splits the control layers state into its own thing.
2024-05-07 11:02:16 +10:00
psychedelicious
94a73d5377
feat(ui): update mm-related translations
2024-05-02 23:09:26 -04:00
psychedelicious
0f7fdabe9b
feat(ui): rename tab identifiers
...
- "txt2img" -> "generation"
- "unifiedCanvas" -> "canvas"
- "modelManager" -> "models"
- "nodes" -> "workflows"
- Add UI slice migration setting the active tab to "generation"
2024-05-02 23:09:26 -04:00
psychedelicious
a6ac184211
tidy(ui): excise img2img tab
2024-05-02 23:09:26 -04:00
psychedelicious
6363095b29
feat(ui): control adapter recall for control layers
...
- Add set of metadata handlers for the control layers CAs
- Use these conditionally depending on the active tab - when recalling on txt2img, the CAs go to control layers, else they go to the old CA area.
2024-05-02 23:09:26 -04:00
blessedcoolant
39ab4dd83e
Merge branch 'main' into pr/6086
2024-05-01 00:37:06 +05:30
psychedelicious
3441187c23
tidy(ui): "regional prompts" -> "control layers"
2024-04-30 08:10:59 -04:00
psychedelicious
8de56fd77c
tidy(ui): move regionalPrompts files to controlLayers
2024-04-30 08:10:59 -04:00
psychedelicious
6f5f3381f9
feat(ui): revise internal state for RCC
2024-04-30 08:10:59 -04:00
psychedelicious
cc4bef4859
refactor(ui): move size state to regional
2024-04-30 08:10:59 -04:00
psychedelicious
1cf1e53a6c
refactor(ui): move positive and negative prompt to regional
2024-04-30 08:10:59 -04:00
psychedelicious
b425646b7b
chore(ui): lint
2024-04-24 20:09:52 +10:00
psychedelicious
ca989c54b0
fix(ui): restore OG aspect ratio preview for non-t2i tabs
2024-04-24 20:09:52 +10:00
psychedelicious
604217313a
chore(ui): lint
2024-04-23 12:11:47 +10:00
psychedelicious
229423b370
tidy(ui): memo aspectratiopreview
2024-04-23 12:11:47 +10:00
psychedelicious
c915220965
feat(ui): aspect ratio preview is regional prompts canvas
2024-04-23 12:11:47 +10:00
psychedelicious
a10c66797d
chore(ui): lint
2024-04-22 23:09:39 +10:00
psychedelicious
085f7bdbee
feat(ui): add invert negative mode
...
Adds an additional negative conditioning using the inverted mask of the positive conditioning and the positive prompt. May be useful for mutually exclusive regions.
2024-04-19 09:32:56 -04:00
psychedelicious
5a8489bbfc
perf(ui): memoize infill components
2024-04-15 22:50:54 +10:00
Jennifer Player
bd7c8cd517
added info popover back to model, updated description hover to combobox only
2024-04-14 15:22:33 +10:00
psychedelicious
4d0a49298c
tidy(ui): remove extraneous zod schema
2024-04-06 14:54:12 +11:00
Jennifer Player
8a17616bf4
recall initial image from metadata and set to image2image
2024-04-06 14:54:12 +11:00
blessedcoolant
e55ab5b3a1
ui: Color Infill UI
2024-04-05 08:49:13 +11:00
blessedcoolant
adb7966bb3
ui: intial mosaic infill ui
...
Need to change color picking.
2024-04-05 08:49:13 +11:00
psychedelicious
0259114d9c
Merge branch 'main' into main
2024-04-03 17:03:19 +11:00
psychedelicious
51e515b925
tidy: use lowercase for tcd scheduler identifier
2024-04-03 17:03:02 +11:00
psychedelicious
7b93b554d7
fix(ui): add default coherence mode to generation slice migration
...
The valid values for this parameter changed when inpainting changed to gradient denoise. The generation slice's redux migration wasn't updated, resulting in a generation error until you change the setting or reset web UI.
2024-04-03 08:46:31 +11:00
l0stl0rd
23da3de915
Update constants.ts
2024-03-29 12:39:08 +01:00
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
Rohinish
9d30a063e7
fix: remaining strings
2024-03-20 16:26:14 +11:00
Rohinish
d45931a0af
fix(ui): localize text
2024-03-20 16:26:14 +11: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
Mary Hipp
1d2743af1b
remove log
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
133c90e116
fix(ui): update all components and logic to use enriched ModelIdentifierField
2024-03-10 11:03:38 +11: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 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