This PR adds an explanatory toast/tooltip to dataset relationship nodes and makes dataset sections expand when navigated to via table of contents or the dataset relationship nodes.
Some caveats/limitations I've attempted to address but could not find a satisfactory solution for:
If the user navigates to a processed dataset via a hash to expand it, manually collapses it, then scrolls back up to the dataset relationships and clicks the link again, the accordion will not expand as a hashchange event does not fire in this circumstance. Forcing an update in the useHash function doesn't help.
Since the vitessce instance in the accordion mounts when the accordion expands, the initial scroll can be laggy as a result. Keeping the Vitessce instances always mounted by disabling the unmountOnExit behavior of the processed dataset accordion mitigates this issue somewhat, but results in major slowdowns on datasets with lots of Vitessce instances.
Summary
This PR adds an explanatory toast/tooltip to dataset relationship nodes and makes dataset sections expand when navigated to via table of contents or the dataset relationship nodes.
Some caveats/limitations I've attempted to address but could not find a satisfactory solution for:
useHash
function doesn't help.unmountOnExit
behavior of the processed dataset accordion mitigates this issue somewhat, but results in major slowdowns on datasets with lots of Vitessce instances.Design Documentation/Original Tickets
https://hms-dbmi.atlassian.net/issues/CAT-876
Testing
Manual testing.
Screenshots/Video
https://github.com/user-attachments/assets/723316de-cffb-4a39-a9ce-c59cc847654d
Checklist
CHANGELOG-your-feature-name-here.md
is present in the root directory, describing the change(s) in full sentences.Additional Notes
Please specify any additional information or context relevant to this PR.