InvokeAI/invokeai/frontend
Mary Hipp Rogers 25ce505628
exposed field loading state (#5704)
* remove thunk for receivedOpenApiSchema and use RTK query instead. add loading state for exposed fields

* clean up

* ignore any

* fix(ui): do not log on canceled openapi.json queries

- Rely on RTK Query for the `loadSchema` query by providing a custom `jsonReplacer` in our `dynamicBaseQuery`, so we don't need to manage error state.
- Detect when the query was canceled and do not log the error message in those situations.

* feat(ui): `utilitiesApi.endpoints.loadSchema` -> `appInfoApi.endpoints.getOpenAPISchema`

- Utilities is for server actions, move this to `appInfo` bc it fits better there.
- Rename to match convention for HTTP GET queries.
- Fix inverted logic in the `matchRejected` listener (typo'd this)

---------

Co-authored-by: Mary Hipp <maryhipp@Marys-MacBook-Air.local>
Co-authored-by: psychedelicious <4822129+psychedelicious@users.noreply.github.com>
2024-02-12 18:48:32 -05:00
..
CLI Resolving merge conflicts for flake8 2023-08-18 15:52:04 +10:00
install Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
merge Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
training Port the command-line tools to use model_manager2 (#5546) 2024-02-02 17:18:47 +00:00
web exposed field loading state (#5704) 2024-02-12 18:48:32 -05: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