-
Notifications
You must be signed in to change notification settings - Fork 16.5k
Add run type legend tooltip to grid view #61632
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
base: main
Are you sure you want to change the base?
Conversation
|
Could you help attach screenshot for your changes, thanks! |
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.
| "toggleGroup": "Toggle group" | ||
| } | ||
| }, | ||
| "legend": "Run Type Legend" |
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.
Nit:
| "legend": "Run Type Legend" | |
| "runTypeLegend": "Run Type Legend" |
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.
Your not using it, it should be above the run types description
|
|
||
| const runTypes: Array<DAGRunResponse["run_type"]> = ["scheduled", "manual", "backfill", "asset_triggered"]; | ||
|
|
||
| export const GridLegend = () => { |
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.
| export const GridLegend = () => { | |
| export const RunTypeLegend = () => { |
| return ( | ||
| <Tooltip | ||
| content={ | ||
| <Box> |
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.
here add "Run Type Legend"
|
Updated the PR description. Its part of #28737 but there are other items on the issue. |

Related #28737.
This adds a small info icon (ℹ) next to the existing keyboard shortcut icon in the grid view. On hover, it displays a tooltip showing each DAG run type with its corresponding icon:
The previous attempt (#51736) was closed due to performance issues with Chakra tooltips on large grids and bad UX with truncated markdown notes. This implementation keeps things simple by reusing the existing
Tooltipcomponent (same as the keyboard shortcut tooltip) and theRunTypeIconcomponent already used throughout the grid.Note indicators were left out of scope since the grid API responses (
GridRunsResponse,LightGridTaskInstanceSummary) don't include note fields.Changes:
GridLegendcomponent inlayouts/Details/Grid/GridLegend.tsxGridLegendtoPanelButtons.tsx(grid-only section)legendtranslation key todag.json