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

Only show latest dataset event timestamp after last run #38340

Merged
merged 3 commits into from Mar 25, 2024

Conversation

bbovenzi
Copy link
Contributor

In the next run dataset modal, "Last Update" can be confusing since the dataset update events could be irrelevant to the next dag run. Therefore, we should only show the last update event that has happened since the previous dag run.

Before: (Looks like 2 of 2 datasets are updated and its hard to see what we're waiting on)
Screenshot 2024-03-20 at 11 06 42 AM

After: (1 of 2 datasets is a lot more straightforward to see)
Screenshot 2024-03-20 at 11 06 29 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 area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Mar 20, 2024
@bbovenzi bbovenzi added this to the Airflow 2.9.0 milestone Mar 20, 2024
airflow/www/views.py Outdated Show resolved Hide resolved
airflow/www/views.py Outdated Show resolved Hide resolved
@ephraimbuddy ephraimbuddy added the type:improvement Changelog: Improvements label Mar 22, 2024
@bbovenzi bbovenzi merged commit b9576b5 into apache:main Mar 25, 2024
45 checks passed
@bbovenzi bbovenzi deleted the fix-next-run-dataset-dates branch March 25, 2024 17:23
utkarsharma2 pushed a commit to astronomer/airflow that referenced this pull request Apr 22, 2024
* Only show latest dataset event timestamp after last run

* Move date filter to join statement in query

* Update airflow/www/views.py

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>

---------

Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
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.

None yet

4 participants