Feature/submaps connect with query
Description
In this PR main focus was to connect opening submaps with query params
Thinks done
- connected submaps with query params
- rewrited logic of data initialization
- modularised thunks
Reasoning for refactor
Initialization logic was a bit hard to maintain and had unexpected side effects. Tried to make it more readable and at the same time more modularised to allow future updates of the map.
TODO
- write tests in next commit
Edited by Tadeusz Miesiąc