Der neue Dienst "GitLab am KIT" ist unter gitlab.kit.edu erreichbar.

Skip to content

Feat fetch plot data#52

uctwi requested to merge feat_fetchPlotData#52 into develop

Warning: the checkbox at the second option: Access-Control-Allow-Headers must be checked IF you use Chrome CORS Plugin, Cors Everywhere worked fine.

image

What I did: Implemented mechanism in apiSlice to fetch data for the available plot types and cache them in the redux store afterwards.

image

In this image you can see that the data is fetched for a certain subgroup of all fetched models, AFTER the request for the models has finished.

In order for you to verify the fetching you have to install the ReduxDevTools plugin and then check the actions that are dispatched and the state afterwards. First it should dispatch a loading status in the specific store location, next it should update the data and status if it succeeds.

image

image

Edited by uctwi

Merge request reports