Skip to content

feat: add category pins rendering and global search input

Adrian Orłów requested to merge display-pins-of-categories into development

This PR is based on !62 (merged). Remember that if !62 (merged) is not yet merged

Objective:

This PR utilises new API to fetch full bioEntity data and then render it as pins on the map. For the valid UX, changes in the search logic has been made.

What has been done:

  • fetching chemicals/drugs data via new API, changed the structure
  • fixed tests for new data structure
  • added global search input (see !62 (merged) - Important info)
  • implemented rendering of chemicals/drugs data
  • added new clear actions on map click (there's identical behavior in the original app)

Additionally:

BREAKING CHANGES:

  • search input data is now stored in Redux store
  • target data structure is now different (it's replaced by bioEntity instance)

image

Edited by Adrian Orłów

Merge request reports

Loading