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

Allow sort by on all fields in MappedInstances.tsx #38090

Merged
merged 5 commits into from
Apr 23, 2024
Merged

Conversation

RNHTTR
Copy link
Contributor

@RNHTTR RNHTTR commented Mar 12, 2024

It's difficult to find problematic TIs when attempting to debug tasks that have dozens or hundreds of mapped TIs. For example, imagine 99 mapped instances completed in 10 seconds but 1 mapped instance took 10 minutes. It's like finding a needle in a haystack to find that one.

This will allow users to sort by each field in the grid view.


^ 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 area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Mar 12, 2024
@RNHTTR RNHTTR marked this pull request as draft March 12, 2024 22:33
@bbovenzi
Copy link
Contributor

The sort for those fields is disabled because the REST API only supports map index and state right now. We would need to update it there too. See here for API code

@RNHTTR RNHTTR marked this pull request as ready for review April 5, 2024 21:43
@eladkal eladkal added this to the Airflow 2.9.1 milestone Apr 12, 2024
@eladkal eladkal added the type:bug-fix Changelog: Bug Fixes label Apr 12, 2024
Copy link
Contributor

@bbovenzi bbovenzi left a comment

Choose a reason for hiding this comment

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

lgtm. just one nitpick

RNHTTR and others added 4 commits April 21, 2024 12:30
It's difficult to find problematic TIs when attempting to debug tasks that have dozens or hundreds of mapped TIs
….tsx

Co-authored-by: Brent Bovenzi <brent.bovenzi@gmail.com>
@uranusjr uranusjr merged commit 79a26aa into apache:main Apr 23, 2024
41 checks passed
@RNHTTR RNHTTR deleted the patch-7 branch April 24, 2024 19:09
@jedcunningham jedcunningham added type:improvement Changelog: Improvements and removed type:bug-fix Changelog: Bug Fixes labels Apr 26, 2024
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. area:webserver Webserver related Issues type:improvement Changelog: Improvements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants