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

Display year, seconds, tz when creating tokens #896

Merged
merged 5 commits into from
Jun 4, 2019

Conversation

greenape
Copy link
Member

@greenape greenape commented Jun 4, 2019

Closes #260

I have:

  • Formatted any Python files with black
  • Brought the branch up to date with master
  • Added any relevant Github labels
  • Added tests for any new additions
  • Added or updated any relevant documentation
  • Added an Architectural Decision Record (ADR), if appropriate
  • Added an MPLv2 License Header if appropriate
  • Updated the Changelog

Description

Switches the display of token expiry date time in the create token screen from:

Screenshot 2019-06-04 at 16 12 26

to:

Screenshot 2019-06-04 at 16 12 11

@greenape greenape added enhancement New feature or request FlowAuth Issues related to FlowAuth UX/UI labels Jun 4, 2019
format="yyyy/MM/dd HH:mm:ss"
ampm={false}
margin="normal"
helperText={new Date().toTimeString().slice(9)}
Copy link
Contributor

Choose a reason for hiding this comment

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

Can we add a comment here that says this displays the timezone (which is not obvious otherwise)?

Copy link
Contributor

@maxalbert maxalbert left a comment

Choose a reason for hiding this comment

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

Looks good, just a minor inline comment to explain the timezone display.

@codecov
Copy link

codecov bot commented Jun 4, 2019

Codecov Report

Merging #896 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #896   +/-   ##
=======================================
  Coverage   93.16%   93.16%           
=======================================
  Files         130      130           
  Lines        6657     6657           
  Branches      696      696           
=======================================
  Hits         6202     6202           
  Misses        331      331           
  Partials      124      124
Flag Coverage Δ
#flowapi_unit_tests 77.9% <ø> (ø) ⬆️
#flowauth_unit_tests 94.86% <ø> (ø) ⬆️
#flowclient_unit_tests 82.6% <ø> (ø) ⬆️
#flowkit_jwt_generator_unit_tests 100% <ø> (ø) ⬆️
#flowmachine_unit_tests 91.13% <ø> (ø) ⬆️
#integration_tests 59.9% <ø> (+0.03%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0ebcfaa...b6f68ae. Read the comment docs.

@greenape greenape added the ready-to-merge Label indicating a PR is OK to automerge label Jun 4, 2019
@codecov
Copy link

codecov bot commented Jun 4, 2019

Codecov Report

Merging #896 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #896   +/-   ##
=======================================
  Coverage   93.16%   93.16%           
=======================================
  Files         130      130           
  Lines        6657     6657           
  Branches      696      696           
=======================================
  Hits         6202     6202           
  Misses        331      331           
  Partials      124      124
Flag Coverage Δ
#flowapi_unit_tests 77.9% <ø> (ø) ⬆️
#flowauth_unit_tests 94.86% <ø> (ø) ⬆️
#flowclient_unit_tests 82.6% <ø> (ø) ⬆️
#flowkit_jwt_generator_unit_tests 100% <ø> (ø) ⬆️
#flowmachine_unit_tests 91.13% <ø> (ø) ⬆️
#integration_tests 59.87% <ø> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7e67d9d...53fffad. Read the comment docs.

@mergify mergify bot merged commit 76098f8 into master Jun 4, 2019
@mergify mergify bot deleted the add-token-expiry-display branch June 4, 2019 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request FlowAuth Issues related to FlowAuth ready-to-merge Label indicating a PR is OK to automerge UX/UI
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flowauth should display year (and also seconds and timezone?) in the token expiry date
2 participants