InvokeAI/invokeai/frontend/web/src/app
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
..
components chore(ui): format 2024-01-28 19:57:53 +11:00
hooks chore(ui): format 2024-01-28 19:57:53 +11:00
logging chore(ui): format 2024-01-28 19:57:53 +11:00
store exposed field loading state (#5704) 2024-02-12 18:48:32 -05:00
types Workflow navigation & save-as (#5607) 2024-01-31 13:32:31 +00:00
constants.ts feat: increase seed from int32 to uint32 2023-07-24 16:34:50 +10:00