Skip to content

feat: add map full data mgmt

Context:

In !35 (merged) we've prepared base of map data management but without covering aspect of communication with API. !35 (merged) creates only solution for handling client data.

Objective:

This PR adds data management of map data fetched from the backend.

It includes:

  • redux boilerplate & fetching of: map, backgrounds, overlays, models
  • fix of redux boilerplate: project (previously the default value was an empty array)
  • unit tests of the above

What is not included:

  • whole business logic of firing actions and using this data, it'll be excluded to other PR

After draft

Additionally:

  • extracted reducers to separate variable as it's completely unnecessary to copy this object into utils every time we add new reducer
Edited by Adrian Orłów

Merge request reports