InvokeAI/invokeai/app/services
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
..
models feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
__init__.py all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
board_image_record_storage.py feat(ui): another go at gallery (#3791) 2023-07-19 12:06:38 -04:00
board_images.py feat(ui): another go at gallery (#3791) 2023-07-19 12:06:38 -04:00
board_record_storage.py feat(db): add get_all() method for boards 2023-06-22 16:25:49 +10:00
boards.py feat(db): add get_all() method for boards 2023-06-22 16:25:49 +10:00
config.py fix v1-finetune.yaml is not in the subpath of "" (#3848) 2023-07-20 14:13:56 +12:00
default_graphs.py feat(nodes): default to CPU noise 2023-06-27 13:57:31 +10:00
events.py fix Object of type PosixPath is not JSON serializable error 2023-07-18 22:10:12 -04:00
graph.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
image_file_storage.py feat(app): embed PNG info in invokeai_metadata and invokeai_graph 2023-07-13 15:40:05 +10:00
image_record_storage.py ui: enhance intermediates clear, enhance board auto-add (#3851) 2023-07-20 17:44:22 +12:00
images.py ui: enhance intermediates clear, enhance board auto-add (#3851) 2023-07-20 17:44:22 +12:00
invocation_queue.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
invocation_services.py fix(nodes): fix typing of configuration service 2023-07-16 10:52:18 +10:00
invoker.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
item_storage.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
latent_storage.py Union[foo, None]=>Optional[foo] 2023-07-03 12:17:45 -04:00
model_manager_service.py Merge branch 'main' into feat/model-events 2023-07-17 17:36:20 +10:00
processor.py report processing stack traces to the console 2023-07-08 19:48:32 -04:00
resource_name.py feat(nodes): add nameservice 2023-05-28 20:19:56 -04:00
sqlite.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00
urls.py feat(db,nodes,api): refactor metadata 2023-07-13 15:40:05 +10:00