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

Fix run/task table links #46901

Merged
merged 1 commit into from
Feb 19, 2025
Merged

Fix run/task table links #46901

merged 1 commit into from
Feb 19, 2025

Conversation

bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented Feb 19, 2025

When adding the global dag run and task instance tables. I accidentally broke the idea that each row should only have one link to its relevant element. Since we adjust which columns to show depending on the page you're on. Sometimes we didn't even have the link to a task instance.

Now, we only ever link to the dag run or task instance. And even if the task_id column is missing, we fallback on linking to the task instance from the run id column

Before:
Screenshot 2025-02-19 at 11 42 55 AM

After:
Screenshot 2025-02-19 at 11 43 10 AM


^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.

@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label Feb 19, 2025
@pierrejeambrun
Copy link
Member

pierrejeambrun commented Feb 19, 2025

Might be a bit weird to have a run link to a TI. We can always adjust later.

@bbovenzi
Copy link
Contributor Author

Might be a bit weird to have a run link to a TI. We can always adjust later.

Yes, but this is on the Task details (across all runs) page. I think in that context it works.

Screenshot 2025-02-19 at 11 53 22 AM

Copy link
Contributor

@tirkarthi tirkarthi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Thanks @bbovenzi .

@bbovenzi bbovenzi merged commit 0adb5ad into apache:main Feb 19, 2025
35 checks passed
@bbovenzi bbovenzi deleted the fix-table-links branch February 19, 2025 17:39
ntr pushed a commit to ntr/airflow that referenced this pull request Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:UI Related to UI/UX. For Frontend Developers.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants