InvokeAI/invokeai/app
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
..
api ui: enhance intermediates clear, enhance board auto-add (#3851) 2023-07-20 17:44:22 +12:00
cli restore 3.9 compatibility by replacing | with Union[] 2023-07-03 10:57:40 -04:00
invocations Moving detected precision to DEFAULT_PRECISION constant 2023-07-19 11:55:37 -04:00
models feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
services ui: enhance intermediates clear, enhance board auto-add (#3851) 2023-07-20 17:44:22 +12:00
util feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
api_app.py feat(api): display warning when port is in use 2023-07-19 13:29:31 -04:00
cli_app.py Fix error with long prompts when controlnet used 2023-07-16 21:06:40 -04:00