InvokeAI/invokeai/app/api/routers
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
..
app_info.py feat(api): app/config route returns available infill methods 2023-07-13 23:26:52 +10:00
board_images.py feat(ui): another go at gallery (#3791) 2023-07-19 12:06:38 -04:00
boards.py feat(ui): another go at gallery (#3791) 2023-07-19 12:06:38 -04:00
images.py ui: enhance intermediates clear, enhance board auto-add (#3851) 2023-07-20 17:44:22 +12:00
models.py fix: typo in logger statement (import_model) 2023-07-18 15:17:52 +12:00
sessions.py fix(nodes): address feedback 2023-04-26 06:29:30 +10:00