debian-image-builder-frontend/src/Components/CreateImageWizard
lucasgarfield 7b9e726151 ImagesTable: Convert ImagesTable to Typescript & RTK Query
This commit converts the Images Table to Typescript and converts all API
calls to image-builder to use RTK Query hooks.

This should increase the performance of the app significantly.
Previously our calls to the image-builder API were made in series. They
are now made in parallel. We may want to investigate the possibility of
hitting rate limiting now that we will be issuing requests in much more
rapid succession.

In the tests, moving to RTK Query hooks has allowed us to remove
virtually all Jest mocking. However, this means that some of our
previous tests which tested against implementation details were broken.
Most notably, we no longer check the Redux store to verify that clones
have been added correctly and we no longer check that compose requests
were issued successfully. Test coverage will be restored in a follow-up
PR where the dev-dependency @msw/data is added. Adding a persistent data
layer to the tests using @msw/data will allow us to verify that our POST
requests (creating composes and cloning them) are working by testing
that the Images Table has been updated.
2023-09-18 10:35:04 +02:00
..
formComponents Adding some ouiaId for File system customization 2023-09-13 15:56:10 +02:00
steps Wizard: Update the Repositories step 2023-09-11 10:30:04 +02:00
validators ESLint: Add prefer-const rule 2023-02-10 11:37:06 +01:00
CreateImageWizard.js ImagesTable: Convert ImagesTable to Typescript & RTK Query 2023-09-18 10:35:04 +02:00
CreateImageWizard.scss Wizard: Update text on Packages and Additional Red Hat packages steps 2023-04-26 18:24:28 +02:00
ImageCreator.js RTKQ: Add typing to RTKQ hooks in apiSlice 2023-06-20 16:36:39 +02:00