opentargets / issues

Issue tracker for Open Targets Platform and Open Targets Genetics Portal
https://platform.opentargets.org https://genetics.opentargets.org
Apache License 2.0
12 stars 2 forks source link

Target profile page: add view section to URL #156

Closed LucaFumis closed 6 years ago

LucaFumis commented 6 years ago

Similar to the evidence page, add functionality to parse URL state and expand (and scroll to) sections (accordion tabs) as specified.

LucaFumis commented 6 years ago

I've added view section display (sort of deep linking) to the target profile page. I've also updated the disease profile page to feature same functionality. The 'anchors' have been configured as:

Target profile page

Drugs : known_drug Protein Information : protein_information Pathways : affected_pathway Similar targets (based on diseases in common) : related_targets Variants, isoforms and genomic context : genome_browser Protein interactions : protein_interactions RNA and protein baseline expression : expression Mouse phenotypes : mouse_phenotypes Protein Structure : protein_structure Gene Ontology : gene_ontology Gene tree : gene_tree Bibliography : bibliography Cancer hallmarks : hallmarks Cancer biomarkers : biomarkers

Disease profile page

Similar diseases (based on targets in common) : related_diseases Phenotypes : phenotypes Drugs : known_drug Bibliography : bibliography Classification : classification

Similar to evidence page, we'll add e.g. a ?view=sec:gene_ontology to the URL

LucaFumis commented 6 years ago

Merged and pushed to production