-
Notifications
You must be signed in to change notification settings - Fork 276
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
Enabling more formats to input hours and minutes in preferences #1020
base: main
Are you sure you want to change the base?
Conversation
… different formats valid
…mat in preferences.js
…mat changes instantly in preferences
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.
Can you rebase to make sure it is not breaking any of the tests introduced earlier this morning?
Also please revert the changes to changelog.md
We can ignore these two tests, I'm fixing them in a different PR. |
Codecov Report
@@ Coverage Diff @@
## main #1020 +/- ##
==========================================
+ Coverage 72.56% 74.67% +2.10%
==========================================
Files 26 26
Lines 2180 2207 +27
Branches 345 352 +7
==========================================
+ Hits 1582 1648 +66
+ Misses 598 559 -39
|
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.
Thanks for submitting this. Please take a look at my suggestions.
src/preferences.html
Outdated
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.
When one inputs something wrong, the html message asks to follow the requested format, but that is not explicit.
Is there a way to customize that html message?
src/preferences.html
Outdated
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.
Also, consider if it's possible to implement extra tests for this behavior to ensure it's always working.
Thanks for the suggestions araujoarthur0, I'll probably start working on them when I'm free this weekend |
Thanks for implementing the revisions @TaranDev! |
Here are some tests I suggest:
|
Related issue
Closes #914
Context / Background
What change is being introduced by this PR?
Before change:
After change: