seunggabi opened a new pull request, #77649: URL: https://github.com/apache/airflow/pull/77649
Task ids in a Dag often share a long prefix and differ only at the end, e.g. one task per period: `mysql___d___dashboard___commerce___vbp___d___0`, `..._d___1`, `..._m___0`. When such a name does not fit the grid's task name column (or a graph node), the end is cut off, so every row shows the same text and the tasks cannot be told apart without opening each one. The full name is not available on hover either. This keeps the last 12 characters of a long name out of the ellipsis, so only its middle is shortened, and adds the full name as a tooltip. Names that fit are rendered exactly as before. The change is in `TaskName`, so it applies to grid rows, task groups and graph nodes alike. The grid's task name column width and the task instance cells are unchanged.  Tests: `TaskName.test.tsx` covers long task and group names (tail kept, full name in the tooltip), short names, and the mapped count staying after the name; all four fail without the change. Ran the full UI test suite and `pnpm lint` (oxlint, eslint, tsc) locally. A follow-up PR (stacked on this one) lets users pick how long names are shortened, including hiding the prefix the tasks share. --- ##### Was generative AI tooling used to co-author this PR? - [X] Yes — Claude Code (Opus 5.5) Generated-by: Claude Code (Opus 5.5) following [the guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
