InvokeAI/invokeai/frontend/web
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
..
.husky feat(ui): migrate theming to chakra ui 2023-03-06 20:03:39 +11:00
.yarn/releases all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
config fix(ui): fix canvas crash by rolling back swagger-parser 2023-06-30 12:24:28 +10:00
dist Merge branch 'main' into release/invokeai-3-0-beta 2023-07-18 21:17:15 -04:00
docs dummy commit to make github actions run 2023-06-04 22:55:35 +10:00
public/locales feat: Add Setting Switch Component (#3847) 2023-07-20 14:17:51 +12:00
scripts feat(ui): update openapi-fetch; fix upload issue 2023-07-07 16:36:42 +10:00
src ui: enhance intermediates clear, enhance board auto-add (#3851) 2023-07-20 17:44:22 +12:00
static move static into invokeai.frontend.web directory for dist install 2023-05-22 16:48:17 -04:00
tests Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00
__init__.py Revert "Merge branch 'main' into bugfix/reenable-ckpt-conversion-to-ram" 2023-03-06 14:29:39 +13:00
.eslintignore move static into invokeai.frontend.web directory for dist install 2023-05-22 16:48:17 -04:00
.eslintrc.js ui: gallery enhancements (#3752) 2023-07-13 20:31:10 +00:00
.gitignore build(ui): add yalc to gitignore 2023-05-11 11:55:51 +10:00
.prettierignore Partial migration of UI to nodes API (#3195) 2023-04-22 13:10:20 +10:00
.prettierrc.js feat(ui): migrate theming to chakra ui 2023-03-06 20:03:39 +11:00
.yarnrc all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
.yarnrc.yml all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
favicon.ico all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
index.html feat(ui): migrate theming to chakra ui 2023-03-06 20:03:39 +11:00
package.json feat(ui): restore recall functionality 2023-07-13 15:40:05 +10:00
tsconfig.json feat(ui): update openapi-fetch; fix upload issue 2023-07-07 16:36:42 +10:00
tsconfig.node.json feat(ui): improved node parsing 2023-06-26 11:53:54 +10:00
vite.config.ts build(ui): treeshake lodash via lodash-es 2023-04-28 21:56:43 +10:00
yarn.lock add yarn.lock back in 2023-07-18 13:05:53 -04:00