Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fetch route supports search params #26

Merged
merged 5 commits into from
Sep 23, 2022
Merged

Conversation

vincent-czi
Copy link
Collaborator

Puts an approach in place for handling chanzuckerberg#186 .

Only actually handles pathogen right now. This is mostly about putting in a process for building search (AKA query) params out over time. Right now there is a stub for pulling in galagoMrca / mrca value, but nothing downstream in the reducer actually uses that param value. Location stuff is untouched with this, but I think it should be pretty easy to build on this to add params as needed. Just need to add in the param to ALL_GALAGO_PARAMS, then insert handling logic in the FETCH_TREE_DATA_SUCCEEDED reducer func.

Copy link
Collaborator

@sidneymbell sidneymbell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Made one small suggestion in the reducer to check that their value of galagoPathogen is one we recognize and provide a slightly different default. Otherwise this looks great / don't need to see this again, thank you so much! I'll get mrca squared away shortly.

@vincent-czi vincent-czi merged commit 5d6a102 into main Sep 23, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants