-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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
[AIRFLOW-7048] Allow user to chose timezone to use in UI #8046
Conversation
Co-authored-by: Sam Black <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks clean (based on my limited understanding of front ends), but could you please include some before/after photos? Maybe we can also get Sam or Ryan to take a look as well?
Waiting for the CI results |
Travis hasn't run the tests yet. |
https://travis-ci.org/github/apache/airflow/builds/670149778 - Looks like it is still in Queue |
Tests should pass now, and I updated the timezone.rst doc too |
Co-authored-by: Sam Black <[email protected]> (cherry picked from commit cc9b1bc)
What the hell happened here? The PR got merged but it is somehow still open. I think the GH outage might have caused this |
Good, closing the PR did the trick. |
PR apache#8046 used our CustomSQLAInterface more widely, and we weren't correctly implementing the interface right in the constructor, which was only a problem for models which use Relations, which we don't in Airflow, but FAB does for it's user/permissions models.
PR #8046 used our CustomSQLAInterface more widely, and we weren't correctly implementing the interface right in the constructor, which was only a problem for models which use Relations, which we don't in Airflow, but FAB does for it's user/permissions models.
I upgraded to version 1.10.10 but I don't see the new GUI tooltips in the upper right. I added the default_ui_timezone setting to my config file, but still no luck. It looks the same as it ever did (just showing UTC). Do I have to burn down my database to get this new feature? |
Please enable RBAC UI - https://airflow.apache.org/blog/airflow-1.10.8-1.10.9/#use-airflow-rbac-ui to use that feature. |
Ah - it's a brave new world. Thanks for the pointer. |
On the home page:
Tooltip shown when date is not in UTC:
default_timezone from config exposed to UI, and added new setting to allow making that the default timezone.
If config timezone is same as local, the local option is not shown:
When you haven't yet selected/entered a specific timezone (or you choose the same as one of the ones shown)
Things to do left:
Issue link: AIRFLOW-7048
Make sure to mark the boxes below before creating PR: [x]
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.
Read the Pull Request Guidelines for more information.