iossifovlab / gpfjs

MIT License
0 stars 0 forks source link

Store selected dataset in state #1075

Closed IlinaGergova closed 2 months ago

IlinaGergova commented 2 months ago

Background

Components are getting the current dataset in different ways (from url, from dataset service or passed as Input).

Aim

To store the selected dataset in state and make components to take it from there.

Implementation

Take the current dataset from url and save it to state in Datasets component once. Then make other components which need the current dataset to take it from the state. To save Dataset object (which has property of type Genotype Browser) to state, some Genotype Browser properties need to change their type from Set to array.

sentry-io[bot] commented 2 months ago

Suspect Issues

This pull request was deployed and Sentry observed the following issues:

Did you find this useful? React with a 👍 or 👎