InvokeAI/invokeai/frontend
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
..
CLI Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
install ip_adapter_sd15 & its encoder will now be installed by default during headless install 2023-09-24 19:00:21 -04:00
merge isort wip 2023-09-12 13:01:58 -04:00
training isort wip 2023-09-12 13:01:58 -04:00
web feat(ui): remove all calls to getBoardImagesTotals/getBoardAssetsTotals 2023-10-05 08:11:52 +11:00
__init__.py Run python black 2023-07-28 09:46:44 -04:00
legacy_launch_invokeai.py isort wip 2023-09-12 13:01:58 -04:00