InvokeAI/invokeai/frontend/web
psychedelicious 2acc93eb8e feat(ui): remove all calls to getBoardImagesTotals/getBoardAssetsTotals
This caused a crapload of network requests any time an image was generated.

The counts are necessary to handle the logic for inserting images into existing image list caches; we have to keep track of the counts.

Replace tag invalidation with manual cache updates in all cases, except the initial request (which is necessary to get the initial image counts).

One subtle change is to make the counts an object instead of a number. This is required for `immer` to handle draft states. This should be raised as a bug with RTK Query, as no error is thrown when attempting to update a primitive immer draft.
2023-10-05 08:11:52 +11:00
..
.husky fix(ui): post-onnx fixes 2023-08-01 07:59:01 -04:00
.yarn/releases all files migrated; tweaks needed 2023-03-03 00:02:15 -05:00
config export theme nad move chakra to peer dep 2023-08-01 08:54:03 +10:00
dist Revert "Updated js files" 2023-10-04 22:32:00 +11:00
docs dummy commit to make github actions run 2023-06-04 22:55:35 +10:00
public/locales feat(ui): move initial IP adapter model selection to listener 2023-10-04 08:41:37 +11:00
scripts fix(ui): simplify typegen script 2023-08-23 23:06:42 +10:00
src feat(ui): remove all calls to getBoardImagesTotals/getBoardAssetsTotals 2023-10-05 08:11:52 +11: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 Run python black 2023-07-28 09:46:44 -04:00
.eslintignore feat: workflow saving and loading 2023-08-24 21:42:32 +10:00
.eslintrc.js build(ui): fix up lint scripts (way faster now) 2023-08-23 23:06:42 +10:00
.gitignore build(ui): add yalc to gitignore 2023-05-11 11:55:51 +10:00
.prettierignore feat: workflow saving and loading 2023-08-24 21:42:32 +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 Prevent caching to ensure updated UI is shown 2023-10-04 22:32:00 +11:00
package.json feat(ui): handle node versions 2023-09-04 19:08:18 +10:00
tsconfig.json feat: add multi-select to gallery 2023-08-03 11:46:59 +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 feat(ui): handle node versions 2023-09-04 19:08:18 +10:00