Skip to content

Conversation

@bbovenzi
Copy link
Contributor

@bbovenzi bbovenzi commented May 7, 2021

This PR expands the timezone provider into a general date provider. It adds a date format that can be used across the app instead of hard-coded strings.

This PR includes one way to change the date format by toggling between a 12 and 24 hour clock.

Screen Shot 2021-05-07 at 14 06 43

Screen Shot 2021-05-07 at 14 14 58


^ 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.

bbovenzi added 10 commits May 4, 2021 13:13
Copied the UX from the current UI on how to change timezone preferences.

Working on a Chakra UI wrapper for React-Select.
- create a provider for the format string to give to dayjs
- initial example use-case is toggling between a 12 and 24 hour clock
@boring-cyborg boring-cyborg bot added the area:UI Related to UI/UX. For Frontend Developers. label May 7, 2021
@bbovenzi bbovenzi added the AIP-38 Modern Web Application label May 7, 2021
@bbovenzi bbovenzi marked this pull request as draft May 7, 2021 18:09
@bbovenzi bbovenzi marked this pull request as ready for review May 7, 2021 18:13
@bbovenzi bbovenzi changed the title Add date format provider for new UI Expand date provider for new UI May 7, 2021
Copy link
Contributor

@ryanahamilton ryanahamilton left a comment

Choose a reason for hiding this comment

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

LGTM!

@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 master or amend the last commit of the PR, and push it with --force-with-lease.

@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 May 13, 2021
@ryanahamilton ryanahamilton merged commit 43b6657 into apache:master May 13, 2021
@ryanahamilton ryanahamilton deleted the hour-provider branch May 13, 2021 01:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AIP-38 Modern Web Application area:UI Related to UI/UX. For Frontend Developers. okay to merge It's ok to merge this PR as it does not require more tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants