psychedelicious
7f91139e21
fix(ui): fix crash when using dropdown on certain device resolutions
2023-06-09 22:19:30 +10:00
psychedelicious
93f3658a4a
fix(ui): blur tab on click
...
Fixes issue where after clicking a tab, using the arrow keys changes tab instead of changing selected image
2023-06-09 18:20:52 +10:00
psychedelicious
68be95acbb
fix(ui): fix canvas not filling screen on first load
2023-06-09 17:55:11 +10:00
psychedelicious
813f79f0f9
feat(ui): remove clear temp folder canvas button
...
This button is nonfunctional.
Soon we will introduce a different way to handle clearing out intermediate images (likely automated).
2023-06-09 17:33:17 +10:00
psychedelicious
05a19753c6
feat(ui): remove controlnet model descriptions
...
These are not yet exposed on the UI - somebody who understands what they do better can add them when we have a place to expose them
2023-06-09 16:20:30 +10:00
psychedelicious
a33327c651
feat(ui): enhance IAICustomSelect
...
Now accepts an array of strings or array of `IAICustomSelectOption`s. This supports custom labels and tooltips within the select component.
2023-06-09 16:00:17 +10:00
psychedelicious
c506355b8b
feat(ui): decrease delay on dnd to 150ms
2023-06-09 15:53:17 +10:00
psychedelicious
fd03c7eebe
feat(ui): restore reset button for init image
2023-06-09 14:00:23 +10:00
psychedelicious
8c688f8e29
feat(ui): skip resize on img2img if not needed
2023-06-09 13:54:23 +10:00
Lincoln Stein
6652f3405b
merge with main
2023-06-08 21:08:43 -04:00
Lincoln Stein
4bbe3b0d00
Merge branch 'main' into release/make-web-dist-startable
2023-06-07 19:21:01 -07:00
psychedelicious
fc7c5da4dd
fix(ui): default controlnet autoprocess to true
...
I had accidentally defaulted it to false
2023-06-07 23:55:24 +10:00
psychedelicious
0a8390356f
feat(ui): enhance autoprocessing
...
The processor is automatically selected when model is changed.
But if the user manually changes the processor, processor settings, or disables the new `Auto configure processor` switch, auto processing is disabled.
The user can enable auto configure by turning the switch back on.
When auto configure is enabled, a small dot is overlaid on the expand button to remind the user that the system is not auto configuring the processor for them.
If auto configure is enabled, the processor settings are reset to the default for the selected model.
2023-06-07 18:25:30 +10:00
psychedelicious
844058c0a5
feat(ui): make prompt not required
...
- also change the placeholder text
2023-06-07 18:25:30 +10:00
psychedelicious
7d74cbe29c
fix(ui): make progress image not draggable
2023-06-07 18:25:30 +10:00
psychedelicious
62ac0ed2dc
feat(ui): tweak cnet model change
...
If there is no control image, and the model does not have a default processor, set the processor to `none`.
2023-06-07 18:25:30 +10:00
psychedelicious
ae14adec2a
feat(ui): add reset button for control image
2023-06-07 18:25:30 +10:00
psychedelicious
6c2b39d1df
feat(ui): improve controlnet image style
...
css is terrible
2023-06-07 18:25:30 +10:00
psychedelicious
0843028e6e
fix(ui): improve dragging activation
...
- delay of 250ms
- prevent gallery images from accidentally activating native drag and drop
2023-06-07 18:25:30 +10:00
psychedelicious
de0fd87035
fix(ui): when a session errors, reset controlnet processing spinner
2023-06-07 18:25:30 +10:00
psychedelicious
8b6c0be259
feat(ui): fix IAIDndImage button styles when upload disabled
2023-06-07 18:25:30 +10:00
psychedelicious
58fec84858
feat(ui): add upload to IAIDndImage
...
Add uploading to IAIDndImage
- add `postUploadAction` arg to `imageUploaded` thunk, with several current valid options (set control image, set init, set nodes image, set canvas, or toast)
- updated IAIDndImage to optionally allow click to upload
2023-06-07 18:25:30 +10:00
psychedelicious
f223ad7776
fix(ui): only show loading indicator on processing control images
2023-06-07 18:25:30 +10:00
psychedelicious
00eabf630d
fix(ui): fix control image not used if processor type is none
2023-06-07 18:25:30 +10:00
psychedelicious
6245a27650
feat(ui): auto-select controlnet processor
...
- when the controlnet model is changed, if there is a default processor for the model set, the processor is changed.
- once a control image is selected (and processed), changing the model does not change the processor - must be manually changed
2023-06-07 18:25:30 +10:00
mickr777
0f16b1c98d
Remove Shadow
2023-06-07 15:51:37 +10:00
mickr777
08e66c5451
Update NodeGraphOverlay.tsx
...
Graph overlay was expanding off the screen to the size of the prompt
2023-06-07 14:49:03 +10:00
Lincoln Stein
49d29420c4
Merge branch 'main' into release/make-web-dist-startable
2023-06-06 23:24:16 -04:00
Lincoln Stein
04f9757f8d
prevent crash when trying to calculate size of missing safety_checker
...
- Also fixed up order in which logger is created in invokeai-web
so that handlers are installed after command-line options are
parsed (and not before!)
2023-06-06 22:57:49 -04:00
Lincoln Stein
1f9e1eb964
merge with main
2023-06-06 22:18:41 -04:00
blessedcoolant
1a2f0984db
Merge branch 'main' into feat/ui/fix-stale-imageUsage
2023-06-07 04:35:16 +12:00
psychedelicious
454683e6eb
feat(ui): update image urls on connect ( #3507 )
...
* feat(ui): update image urls on connect
Add `updateImageUrlsOnConnect` RTK listener:
- requests URLs for *every* image the app knows about, on connect: gallery, selectedImage, initialImage, canvas images, nodes images, controlnet images
- only fires when `shouldUpdateImagesOnConnect` config is enabled
* remove prop
---------
Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
2023-06-06 10:23:51 -04:00
psychedelicious
bbb2a08e8f
feat(ui): fix bugs with image deletion
...
- `imageUsage` object was always stale due to react component lifecycle, fixed this
- cleaned up the deletion listener and context
2023-06-06 20:01:27 +10:00
psychedelicious
bf116927e1
feat(ui): clear features if image used by them is deleted
...
This handles the case when an image is deleted but is still in use in as eg an init image on canvas, or a control image. If we just delete the image, canvas/controlnet/etc may break (the image would just fail to load).
When an image is deleted, the app checks to see if it is in use in:
- Image to Image
- ControlNet
- Unified Canvas
- Node Editor
The delete dialog will always open if the image is in use anywhere, and the user is advised that deleting the image will reset the feature(s).
Even if the user has ticked the box to not confirm on delete, the dialog will still show if the image is in use somewhere.
2023-06-06 14:35:07 +10:00
psychedelicious
3d249c4fa3
feat(ui): refactor image deletion
...
Add `DeleteImageContext`:
- provide a single function to delete an image
- opens the modal or immediately deletes, if confirm is off
2023-06-06 14:35:07 +10:00
psychedelicious
fa338ddb6a
feat(ui): add useGetIsImageInUse
...
Checks if an image is currently being used eg in canvas, nodes, controlnet, init image.
2023-06-06 14:35:07 +10:00
psychedelicious
b200451330
feat(ui): add nodesSelector
2023-06-06 14:35:07 +10:00
psychedelicious
8283d23b74
feat(ui): remove shouldTransformUrls
...
This is no longer used.
2023-06-06 14:35:07 +10:00
psychedelicious
2fc0a4d53b
feat(ui): improve handling for urls/metadata received
...
Update images everywhere when urls or metadata is received:
- control images
- init images
- canvas
- nodes
- init image
Also renamed the variable.
2023-06-06 14:35:07 +10:00
psychedelicious
3ff732d583
feat(ui): clear controlnet image when image deleted
2023-06-06 14:35:07 +10:00
psychedelicious
840c632c0a
feat(ui): sort images by updated_at
instead of created_at
...
fixes issue where saved staging area images are sorted as expected in gallery.
2023-06-06 14:30:53 +10:00
psychedelicious
40d6e4f287
fix(ui): fix canvas auto-save not working
2023-06-06 14:30:53 +10:00
psychedelicious
fc5f9c30a6
fix(ui): fix metadata viewer not working for canvas images
2023-06-06 14:30:53 +10:00
psychedelicious
229de2dbb8
feat(ui): fix canvas saving
...
- fix "bounding box region only" not being respected when saving
- add toasts for each action
- improve workflow `take()` predicates to use the requestId
2023-06-06 14:30:53 +10:00
psychedelicious
cc22427f25
feat(ui): improve UI on smaller screens
...
- responsive changes were causing a lot of weird layout issues, had to remove the rest of them
- canvas (non-beta) toolbar now wraps
- reduces minH for prompt boxes a bit
2023-06-06 14:29:57 +10:00
Lincoln Stein
90333c0074
merge with main
2023-06-05 22:03:44 -04:00
psychedelicious
099e1e7c08
feat(ui): fix image fit
...
- Prevent init, current & control images from overflowing
2023-06-05 17:16:30 +10:00
psychedelicious
b1000e30c1
feat(ui): disable keyboard dnd
...
Need to fix a bug w/ collision detection before enabling it. Will pursue later.
2023-06-05 15:24:24 +10:00
psychedelicious
7bd94eac0e
feat(ui): support image dnd to canvas
2023-06-05 15:24:24 +10:00
psychedelicious
2c77563dcc
feat(ui): move DropOverlay into its own IAIDropOverlay component
2023-06-05 15:24:24 +10:00
Lincoln Stein
5f6f38074d
merge with main
2023-06-04 13:59:31 -04:00
psychedelicious
95fa66661c
dummy commit to make github actions run
2023-06-04 22:55:35 +10:00
psychedelicious
6247b79111
docs(ui): update API_CLIENT
2023-06-04 22:46:53 +10:00
psychedelicious
5831364f9c
Update web README.md
2023-06-04 22:44:18 +10:00
psychedelicious
919b81cff1
fix(ui): fix rebase issue
2023-06-04 22:34:58 +10:00
psychedelicious
065fff7db5
fix(ui): fix wonkiness with image dnd
2023-06-04 22:34:58 +10:00
psychedelicious
a664ee30a2
feat(ui): do not change images if the dropped image is the same image
2023-06-04 22:34:58 +10:00
psychedelicious
03f3ad435a
feat(ui): updated controlnet logic/ui
2023-06-04 22:34:58 +10:00
psychedelicious
2270c270ef
feat(ui): add tooltip to IAISwitch
2023-06-04 22:34:58 +10:00
psychedelicious
4f7820719b
feat(ui): add ellipsis direction to IAICustomSelect
2023-06-04 22:34:58 +10:00
psychedelicious
fa285883ad
feat(ui): make OverlayDragImage translucent
2023-06-04 22:34:58 +10:00
psychedelicious
474fca8e6a
feat(ui): add controlNetDenylist
2023-06-04 22:34:58 +10:00
psychedelicious
5dc0250b00
feat(ui): ControlNet layout tweaks
2023-06-04 22:34:58 +10:00
psychedelicious
f269377a01
feat(ui): "ProcessorOptionsContainer" -> "ProcessorWrapper", organise
2023-06-04 22:34:58 +10:00
psychedelicious
d0406024e3
feat(ui): IAICustomSelect tweak styles
2023-06-04 22:34:58 +10:00
blessedcoolant
aa3a969bd2
feat: Update ControlNet Model List & Map
2023-06-04 22:34:58 +10:00
blessedcoolant
73a95973a8
wip: Add Wrapper Container for Preprocessor Options
...
For fast altering of the layout across all pre-preocessors.
2023-06-04 22:34:58 +10:00
blessedcoolant
bf4fe3c1ac
wip: Fixing layout shifts with the ControlNet tab
2023-06-04 22:34:58 +10:00
psychedelicious
d6c08ba469
feat(ui): add mini/advanced controlnet ui
2023-06-04 22:34:58 +10:00
psychedelicious
69f0ba65f1
chore(ui): bump react-icons
2023-06-04 22:34:58 +10:00
psychedelicious
828c86964d
feat(ui): IAICustomSelect prevent label wrap
2023-06-04 22:34:58 +10:00
psychedelicious
54b7ddd63f
feat(ui): IAIDndImage cursor: 'grab'
2023-06-04 22:34:58 +10:00
psychedelicious
a0dde66b5d
feat(ui): more work on controlnet mini
2023-06-04 22:34:58 +10:00
psychedelicious
b6b3b9f99c
feat(ui): make scrollbar less bright
2023-06-04 22:34:58 +10:00
psychedelicious
faa69f8a47
feat(ui): add alpha colors
2023-06-04 22:34:58 +10:00
psychedelicious
d92c7f5483
feat(ui): organize IAIDndImage component
2023-06-04 22:34:58 +10:00
psychedelicious
6b824eb112
feat(ui): initial mini controlnet UI, dnd improvements
2023-06-04 22:34:58 +10:00
psychedelicious
72b4371804
feat(ui): control image auto-process
2023-06-04 22:34:58 +10:00
psychedelicious
fa290aff8d
feat(ui): add defaults for all processors
2023-06-04 22:34:58 +10:00
psychedelicious
3d99d7ae8b
feat(ui): update handling of inProgess, do not allow cnet process when processing
2023-06-04 22:34:58 +10:00
psychedelicious
2eb367969c
feat(ui): do not autoprocess control if invocation in progress
2023-06-04 22:34:58 +10:00
psychedelicious
9cdad95f48
feat(ui): add rest of controlnet processors
2023-06-04 22:34:58 +10:00
psychedelicious
707ed39300
chore(ui): regen api client
2023-06-04 22:34:58 +10:00
psychedelicious
6896e69e95
fix(ui): fix multiple controlnets
2023-06-04 22:34:58 +10:00
psychedelicious
b17f4c1650
feat(ui): more tweaking controlnet ui
2023-06-04 22:34:58 +10:00
psychedelicious
98493ed9e2
feat(ui): reorg parameter panel to make room for controlnet
2023-06-04 22:34:58 +10:00
psychedelicious
94c953deab
feat(ui): get processed images back into controlnet ui
2023-06-04 22:34:58 +10:00
psychedelicious
fa4d88e163
feat(ui): improve drag and drop ux
2023-06-04 22:34:58 +10:00
psychedelicious
b1e1e3efc7
fix(ui): fix IAISelectableImage fallback
2023-06-04 22:34:58 +10:00
psychedelicious
3b9426eb72
feat(ui): controlnet/image dnd wip
...
Implement `dnd-kit` for image drag and drop
- vastly simplifies logic bc we can drag and drop non-serializable data (like an `ImageDTO`)
- also much prettier
- also will fix conflicts with file upload via OS drag and drop, bc `dnd-kit` does not use native HTML drag and drop API
- Implemented for Init image, controlnet, and node editor so far
More progress on the ControlNet UI
2023-06-04 22:34:58 +10:00
psychedelicious
e2e07696fc
feat(ui): wip controlnet ui
2023-06-04 22:34:58 +10:00
Lincoln Stein
31e97ead2a
move invokeai.db to ~/invokeai/databases
...
- The invokeai.db database file has now been moved into
`INVOKEAIROOT/databases`. Using plural here for possible
future with more than one database file.
- Removed a few dangling debug messages that appeared during
testing.
- Rebuilt frontend to test web.
2023-06-03 20:25:34 -04:00
Lincoln Stein
713fb061e8
Merge branch 'main' into release/make-web-dist-startable
2023-06-02 23:19:33 -04:00
Lincoln Stein
44a6623094
Merge branch 'main' into lstein/new-model-manager
2023-06-02 22:40:51 -04:00
blessedcoolant
7620bacc01
feat: Add temporary NodeInvokeButton
2023-06-02 17:55:15 +12:00
blessedcoolant
ea9cf04765
fix: Remove progress bg instead of altering button bg
2023-06-02 17:36:14 +12:00
blessedcoolant
47301e6f85
fix: Do the same without zIndex
2023-06-02 17:33:38 +12:00
blessedcoolant
f143fb7254
feat: Make Invoke Button also the progress bar
2023-06-02 17:24:40 +12:00
mickr777
2bdb655375
Change to absolute
2023-06-02 14:59:10 +10:00
mickr777
8ae1eaaccc
Add Progress bar under invoke Button
...
Find on some screens the progress bar at top of screen gets cut off
2023-06-02 14:19:02 +10:00