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

Hide tooltip when next run is none #19112

Merged
merged 2 commits into from
Oct 20, 2021
Merged

Hide tooltip when next run is none #19112

merged 2 commits into from
Oct 20, 2021

Conversation

bbovenzi
Copy link
Contributor

Check for is not none instead of is defined when showing the next run tooltip. I think it's still useful to show the badge though.

Before:
Screen Shot 2021-10-20 at 10 19 01 AM

After:
Same view, just no tooltip will appear on hover.


^ Add meaningful description above

Read the Pull Request Guidelines for more information.
In case of fundamental code change, 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 UPDATING.md.

Check for `is not none` instead of `is defined` when showing the next run tooltip
@boring-cyborg boring-cyborg bot added area:UI Related to UI/UX. For Frontend Developers. area:webserver Webserver related Issues labels Oct 20, 2021
@bbovenzi bbovenzi changed the title Hide Next Run when it is None Hide Next Run when it is none Oct 20, 2021
@bbovenzi bbovenzi changed the title Hide Next Run when it is none Hide tooltip when next run is none Oct 20, 2021
@github-actions github-actions bot added the okay to merge It's ok to merge this PR as it does not require more tests label Oct 20, 2021
@github-actions
Copy link

The PR is likely OK to be merged with just subset of tests for default Python and Database versions without running the full matrix of tests, because it does not modify the core of Airflow. If the committers decide that the full tests matrix is needed, they will add the label 'full tests needed'. Then you should rebase to the latest main or amend the last commit of the PR, and push it with --force-with-lease.

@uranusjr
Copy link
Member

Tests are failing

@bbovenzi bbovenzi merged commit e6fcf77 into main Oct 20, 2021
@bbovenzi bbovenzi deleted the hide-none-next-run branch October 20, 2021 20:38
@eladkal eladkal added this to the Airflow 2.2.1 milestone Oct 21, 2021
jedcunningham pushed a commit that referenced this pull request Oct 22, 2021
* Hide Next Run when it is None

Check for `is not none` instead of `is defined` when showing the next run tooltip

* check next_dagrun is defined and not none

(cherry picked from commit e6fcf77)
jedcunningham pushed a commit that referenced this pull request Oct 24, 2021
* Hide Next Run when it is None

Check for `is not none` instead of `is defined` when showing the next run tooltip

* check next_dagrun is defined and not none

(cherry picked from commit e6fcf77)
sharon2719 pushed a commit to sharon2719/airflow that referenced this pull request Oct 27, 2021
* Hide Next Run when it is None

Check for `is not none` instead of `is defined` when showing the next run tooltip

* check next_dagrun is defined and not none
@jedcunningham jedcunningham added the type:bug-fix Changelog: Bug Fixes label Apr 7, 2022
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 okay to merge It's ok to merge this PR as it does not require more tests type:bug-fix Changelog: Bug Fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants