37 links in the shipped content spell the old analysis-tool fragment:
The old browser opened the Analysis Tool from that fragment. In this browser it
matches nothing, falls through, and the page opens with no tool and no pathway.
Found while fixing #172, which covered the pathway form of these links (#R-HSA-…,
86 of them, now working). This one is left because where it should land is a
product decision, not a regex: the equivalent today is the analysis form, and
whether an old link should open that form, open it pre-filled, or simply go to the
browser is a choice someone should make rather than something to infer.
Scope, once decided, is small: FRAGMENT_PATTERN and its subscriber in
projects/pathway-browser/src/app/services/url-state.service.ts already handle
legacy fragments, and there is a spec beside it covering the shapes that appear
in the content.
To see one: https://beta.reactome.org/PathwayBrowser/#TOOL=AT
37 links in the shipped content spell the old analysis-tool fragment:
The old browser opened the Analysis Tool from that fragment. In this browser it
matches nothing, falls through, and the page opens with no tool and no pathway.
Found while fixing #172, which covered the pathway form of these links (
#R-HSA-…,86 of them, now working). This one is left because where it should land is a
product decision, not a regex: the equivalent today is the analysis form, and
whether an old link should open that form, open it pre-filled, or simply go to the
browser is a choice someone should make rather than something to infer.
Scope, once decided, is small:
FRAGMENT_PATTERNand its subscriber inprojects/pathway-browser/src/app/services/url-state.service.tsalready handlelegacy fragments, and there is a spec beside it covering the shapes that appear
in the content.
To see one: https://beta.reactome.org/PathwayBrowser/#TOOL=AT