Skip to content

Conversation

@amoghrajesh
Copy link
Contributor

@amoghrajesh amoghrajesh commented May 23, 2023

Users tend to get confused by the words Next Run and Last Run used in our DAG UI. These words and tooltips can be worded better to avoid getting misleading as users. Related discussions:
#17732
#21493

closes: #31365


^ 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 May 23, 2023
@amoghrajesh
Copy link
Contributor Author

amoghrajesh commented May 24, 2023

@bbovenzi @potiuk need a review on this issue. I also see that the CI is failing and I cannot figure out what the issue. Any help here will be appreciated.

This seems to be the issue:

Lint OpenAPI using openapi-spec-validator..............................................Failed
- hook id: lint-openapi
- exit code: 1

'_io.BufferedReader' object has no attribute 'decode'

@pierrejeambrun
Copy link
Member

#31518 should have solved that, can you rebase and try again ?

title="Starting Date/Time interval of the latest Dag Run.">info</span>
</th>
<th style="width:180px;">{{ sortable_column("Next Run", "next_dagrun") }}
<th style="width:180px;">{{ sortable_column("Next Data Interval", "next_dagrun_data_interval") }}
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we want to change the values, just the label, right?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Do you mean that Last Run is the label and the last_dagrun is the value?
I went ahead and made this modification as it seemed more appropriate to change both rather than just one of them as they are related. Let me keep the changes to label only

@amoghrajesh amoghrajesh requested a review from bbovenzi May 26, 2023 05:44
@bbovenzi
Copy link
Contributor

Code looks good.
@wolfier what do you think?

@amoghrajesh
Copy link
Contributor Author

@bbovenzi @wolfier this PR is ready for review. Can i get a round of review on this?

@amoghrajesh amoghrajesh requested a review from jedcunningham May 31, 2023 05:33
@amoghrajesh
Copy link
Contributor Author

@jedcunningham @bbovenzi can I get another round of review on this PR?

@amoghrajesh amoghrajesh requested a review from jedcunningham June 1, 2023 05:28
@bbovenzi bbovenzi added this to the Airflow 2.6.2 milestone Jun 1, 2023
@bbovenzi bbovenzi merged commit 7db42fe into apache:main Jun 1, 2023
@eladkal eladkal added the type:misc/internal Changelog: Misc changes that should appear in change log label Jun 8, 2023
eladkal pushed a commit that referenced this pull request Jun 8, 2023
* Better wording the next and last run DAG columns

* review comments from brent

* review comments from Jed

* Undoing test changes

---------

Co-authored-by: Amogh <adesai@cloudera.com>
(cherry picked from commit 7db42fe)
eladkal pushed a commit that referenced this pull request Jun 9, 2023
* Better wording the next and last run DAG columns

* review comments from brent

* review comments from Jed

* Undoing test changes

---------

Co-authored-by: Amogh <adesai@cloudera.com>
(cherry picked from commit 7db42fe)
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:misc/internal Changelog: Misc changes that should appear in change log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The Next Run column name and tooltip is misleading

5 participants