feat(multisearch): rewrited redux store to support multisearch
Description
Added ability to multisearch values.
Thinks done
- Proposed new structure for the redux
- commented out, and skipped every conflict that interacts with search drawer
Breaking changes
-
GroupedSearchResults
components are broken -
ResultsListResults
components are broken This two groups of components needs to be discussed with Mateusz to allow merging changes
Additionally
- Fixed bug: QueryParams Bug -> Removed query params functionality. The solution is no longer valid.
- Fixed bug: Imposible to see search results again
How to check this PR
- start with
SearchBar
component andonSearch
function - understand new structure of the BioEntity,Drugs,Chemicals,Mirna - they are all the same. Check
fetchDataState
thenbioEntity.types
or any other type from mentioned group - check
search.thunk
and follow the route - check the BioEntity,Drugs,Chemicals,Mirna reducer If you check one of BioEntity,Drugs,Chemicals,Mirna -> rest is exactly the same
Edited by Tadeusz Miesiąc