Add filter with run_after field in dags/:dagid/runs page#62797
Open
Prajwal7842 wants to merge 1 commit intoapache:mainfrom
Open
Add filter with run_after field in dags/:dagid/runs page#62797Prajwal7842 wants to merge 1 commit intoapache:mainfrom
Prajwal7842 wants to merge 1 commit intoapache:mainfrom
Conversation
Contributor
Author
|
Looking to verify whether the solution works or not. For eg:
Thank you! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR adds support for filtering dag runs on dags/:dag_id/runs page using run_after field. This enables lookback from a timestamp allowing users to view dag runs way far back.
This requires creating a SingleDatePicker component and adding it in the filter panel for selection.
By default, when the date time picker is selected, the default input is the current date and time.
On selecting a date and time, runs are filtered accordingly. From SS below, we can see that a datetime is selected and even though there are newer runs, the left panel shows only dag runs ending at the selected date time.
In case of an existing issue, reference it using one of the following:
-->
Was generative AI tooling used to co-author this PR?
Claude for writing the new date picker component and tests.
{pr_number}.significant.rstor{issue_number}.significant.rst, in airflow-core/newsfragments.