-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Make command clicking on a node in asset lineage graph open it in a new page #21456
Make command clicking on a node in asset lineage graph open it in a new page #21456
Conversation
<AssetNode | ||
definition={graphNode.definition} | ||
selected={graphNode.id === assetGraphId} | ||
/> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we hadn't done this previously because this AssetNode contains links, and the DOM doesn't allow <a>
tags within <a>
tags :( At least, it was making React spew logs about invalid nesting.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmm interesting, I guess I could read e.metaKey and keep it in JS
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
just Link wrapper effectively right?
b5d9cd5
to
a58e6ce
Compare
…333-cmd-clicking-on-an-asset-in-the-lineage-graph-should-open-a
…ew page (#21456) ## Summary & Motivation Adding real links here to do this rather than using a JS click handler. ## How I Tested These Changes https://github.com/dagster-io/dagster/assets/2286579/bee9eb20-cd0b-4f0f-8e8b-df2467ea5b23
…ew page (dagster-io#21456) ## Summary & Motivation Adding real links here to do this rather than using a JS click handler. ## How I Tested These Changes https://github.com/dagster-io/dagster/assets/2286579/bee9eb20-cd0b-4f0f-8e8b-df2467ea5b23
Summary & Motivation
Adding real links here to do this rather than using a JS click handler.
How I Tested These Changes
Screen.Recording.2024-04-26.at.1.57.05.PM.mov