Skip to content
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

Display TaskGroup types in Graph view legends #21870

Open
1 of 2 tasks
ghost opened this issue Feb 28, 2022 · 1 comment
Open
1 of 2 tasks

Display TaskGroup types in Graph view legends #21870

ghost opened this issue Feb 28, 2022 · 1 comment
Labels
area:TaskGroup area:UI Related to UI/UX. For Frontend Developers. kind:feature Feature Requests

Comments

@ghost
Copy link

ghost commented Feb 28, 2022

Description

In addition to the Operator types that are displayed in Airflow's graph's legend, show TaskGroup types, as well.

Use case/motivation

I create and utilize reusable TaskGroups. For instance, I have a multi-task TaskGroup that creates external stages, migrates a table, and copies data from the external stage into the table. It's completely reusable, and we use this task group across different DAGs with simple configuration changes.

When I open up the graph view in Airflow, though, only the underlying operators of the task group are displayed in the Operator legend in the upper left-hand corner of the graph view. This can be confusing, because sometimes the fully-collapsed view of the DAG only shows task groups and no operators - so you end up looking at a graph that has no relationship to the legend until you expand one of the task groups (and the Operators become visible).

It might be nice to support either (or both of):

  1. Displaying the custom TaskGroup's name alongside the rest of the legend.
  2. Only displaying a legend for what is currently visible in the graph view. e.g. If the fully-collapsed version of the DAG is only task groups, then only the TaskGroup names are in the legend, but when you expand a task group, the Operator names for the newly-visible operators are also displayed in the legend.

Related issues

No response

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

@ghost ghost added the kind:feature Feature Requests label Feb 28, 2022
@boring-cyborg
Copy link

boring-cyborg bot commented Feb 28, 2022

Thanks for opening your first issue here! Be sure to follow the issue template!

@bbovenzi bbovenzi added the area:UI Related to UI/UX. For Frontend Developers. label Feb 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:TaskGroup area:UI Related to UI/UX. For Frontend Developers. kind:feature Feature Requests
Projects
None yet
Development

No branches or pull requests

2 participants