This PR converts the sample detail page to TypeScript. Minimal changes were necessary, as most detail page components were converted during the unified dataset detail page push.
I viewed several sample pages without encountering errors.
Screenshots/Video
N/A
Checklist
[x] Code follows the project's coding standards
[x] Lint checks pass locally
[x] New CHANGELOG-your-feature-name-here.md is present in the root directory, describing the change(s) in full sentences.
[x] Unit tests covering the new feature have been added
[x] All existing tests pass
[x] Any relevant documentation in JIRA/Confluence has been updated to reflect the new feature
[x] Any new functionalities have appropriate analytics functionalities added
Additional Notes
I wonder if we can enhance the EUI links on sample pages to link directly to the sample in question, e.g.: https://portal.hubmapconsortium.org/browse/sample/e5f2cb399e7e8885134c1b1a2b6acc9a
The ccf eui link in the tissue section just takes the user to the main ccf eui page in the portal, i.e. https://portal.hubmapconsortium.org/ccf-eui; it seems like it would be a relatively straightforward enhancement for us to pass in a URL param to preselect the appropriate sample since it's not clear how one would find the sample in the EUI otherwise.
Summary
This PR converts the sample detail page to TypeScript. Minimal changes were necessary, as most detail page components were converted during the unified dataset detail page push.
Design Documentation/Original Tickets
https://hms-dbmi.atlassian.net/browse/CAT-736
Testing
I viewed several sample pages without encountering errors.
Screenshots/Video
N/A
Checklist
CHANGELOG-your-feature-name-here.md
is present in the root directory, describing the change(s) in full sentences.Additional Notes
I wonder if we can enhance the EUI links on sample pages to link directly to the sample in question, e.g.: https://portal.hubmapconsortium.org/browse/sample/e5f2cb399e7e8885134c1b1a2b6acc9a The ccf eui link in the tissue section just takes the user to the main ccf eui page in the portal, i.e. https://portal.hubmapconsortium.org/ccf-eui; it seems like it would be a relatively straightforward enhancement for us to pass in a URL param to preselect the appropriate sample since it's not clear how one would find the sample in the EUI otherwise.