This PR implements the dataset relationships diagram. It is currently displayed under the summary of raw datasets with at least one descendant in provenance that is not a publication or image pyramid. In the future, its position in the page will match the figma designs.
I also included other minor fixes:
Since the status icons were being defined at runtime, they caused Storybook to flicker.
The table of contents' section generation code no longer generates sections with the same node key/ID for cases where one dataset has multiple descendants with the same pipeline name. It also correctly handles cases where an invalid descendant has no pipeline name.
I disabled the Graph tab in the provenance view for datasets that respond to provdata requests with empty objects, as this caused pagewide crashes if clicked on.
TODOs
Update summary section of dataset page view - Holding off on this work to avoid interfering with entity header PR after conversation with John
[x] Integrate the dataset relationships component with the rest of the page
Currently appended to the bottom fold of the summary
[x] Include arrows in diagram edges
[x] Add storybook story for real prov json example
[x] Add test coverage for prov -> node conversion logic (if possible)
[x] Make dataset nodes link to the appropriate hash code
[x] Update to a more visually pleasing layouting approach (if possible)
[x] Figure out why the entity nodes sometimes don't appear though the pipeline ones do
Appears to have had something to do with dynamically generated styled components - have not been able to reproduce this since fixing that issue.
Summary
This PR implements the dataset relationships diagram. It is currently displayed under the summary of raw datasets with at least one descendant in provenance that is not a publication or image pyramid. In the future, its position in the page will match the figma designs.
I also included other minor fixes:
TODOs
Update summary section of dataset page view- Holding off on this work to avoid interfering with entity header PR after conversation with JohnDesign Documentation/Original Tickets
Figma
JIRA Subtask
Testing
Screenshots/Video
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.