matthewblock opened a new issue, #27795:
URL: https://github.com/apache/airflow/issues/27795

   ### Description
   
   This feature would enable the user to add custom metadata that would be 
viewable within the tooltip upon hovering on a Task in Graph View.
   
   Currently when the user hovers on a Task in Graph View, they can see the 
following:
   
   **There is a DAG run**
   <img width="300" alt="image" 
src="https://user-images.githubusercontent.com/10802053/202871956-e22e2b19-517f-44fb-98b2-a5c11855f16b.png";>
   
   **There is no DAG run**
   <img width="150" alt="image" 
src="https://user-images.githubusercontent.com/10802053/202871987-35793cac-8d6a-4c3e-a568-852f3b20f1d0.png";>
   
   TaskGroups allow the user to add custom information to the tooltip by 
providing it in the `tooltip` field on instantiation:
   
   <img width="123" alt="image" 
src="https://user-images.githubusercontent.com/10802053/202872029-b6098ac0-eb62-4f93-bbaa-6b00e0d37178.png";>
   
   The information in the tooltip could be fully customizable, or scoped to a 
specific use case - for example, adding just the Dataset associated with a task.
   
   ### Use case/motivation
   
   ### General information about a task
   
   TaskGroups allow the user to provide custom metadata about a task. This 
would be similarly useful for Tasks.
   
   ### Sources and Targets
   
   Tasks often have information like source and target. Airflow 2.4 introduced 
the concept of Datasets. In Dataset view, the user can see which tasks 
influence datasets. This information would also be useful in Graph View - on 
hover, the user could see the Dataset(s) specified to the Operator.
   
   ### Related issues
   
   [AIP-34](https://github.com/apache/airflow/pull/10153) added TaskGroup. 
Users can customize the information in a TaskGroup's tooltip.
   
   AIP-34 implemented [Issue 
#8078](https://github.com/apache/airflow/issues/8078).
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of 
Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
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]

Reply via email to