Update paremeter queries in maps page to make it constructable. #770
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Improve query parameters on the maps page to make the link constructable manually. Please check here for the details: https://docs.google.com/document/d/1N4Z2h2XJad4ReskSb8eTtWyNLJ9NZoJK4MNtIzAt_sA/edit#heading=h.p6kg75rdm3u0
Type of change
Delete those that don't apply.
How Has This Been Tested?
I have tested this manually and it should not break any backward compatibility.
I have also deployed the sample links:
New query parameters with AC maps:
https://alan-wu-sparc-app.herokuapp.com/maps?type=ac&dataset_version=5&dataset_id=102&taxon=NCBITaxon%3A9823&anatomy=UBERON%3A0000948&for_species=pig
The old query parameters with type=flatmap, taxo and uberonid still works:
https://alan-wu-sparc-app.herokuapp.com/maps?type=flatmap&dataset_version=5&dataset_id=102&taxo=NCBITaxon%3A9823&uberonid=UBERON%3A0000948&for_species=pig
Features on FC map can be highlighted as well:
https://alan-wu-sparc-app.herokuapp.com/maps?type=fc&anatomy=heart
Checklist: