InvokeAI/invokeai/frontend
psychedelicious 187cf906fa
ui: enhance intermediates clear, enhance board auto-add (#3851)
* feat(ui): enhance clear intermediates feature

- retrieve the # of intermediates using a new query (just uses list images endpoint w/ limit of 0)
- display the count in the UI
- add types for clearIntermediates mutation
- minor styling and verbiage changes

* feat(ui): remove unused settings option for guides

* feat(ui): use solid badge variant

consistent with the rest of the usage of badges

* feat(ui): update board ctx menu, add board auto-add

- add context menu to system boards - only open is select board. did this so that you dont think its broken when you click it
- add auto-add board. you can right click a user board to enable it for auto-add, or use the gallery settings popover to select it. the invoke button has a tooltip on a short delay to remind you that you have auto-add enabled
- made useBoardName hook, provide it a board id and it gets your the board name
- removed `boardIdToAdTo` state & logic, updated workflows to auto-switch and auto-add on image generation

* fix(ui): clear controlnet when clearing intermediates

* feat: Make Add Board icon a button

* feat(db, api): clear intermediates now clears all of them

* feat(ui): make reset webui text subtext style

* feat(ui): board name change submits on blur

---------

Co-authored-by: blessedcoolant <54517381+blessedcoolant@users.noreply.github.com>
2023-07-20 17:44:22 +12:00
..
CLI convert add_model(), del_model(), list_models() etc to use bifurcated names 2023-05-13 14:44:44 -04:00
install user must adjust terminal size on Windows 2023-07-15 23:19:50 -04:00
merge model merge backend, CLI and TUI working 2023-07-06 12:21:42 -04:00
training fix potential race condition in config system 2023-05-25 20:41:26 -04:00
web ui: enhance intermediates clear, enhance board auto-add (#3851) 2023-07-20 17:44:22 +12:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
legacy_launch_invokeai.py restore ability to launch web server with invokeai --web 2023-07-07 10:07:15 -04:00