-
Notifications
You must be signed in to change notification settings - Fork 78
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
VS-4437: Adding backported functionalities to DatePicker (referenceDa…
…te) (#821) * Changes/Fixes: - added idea files to .gitignore, - fixes in README.md, - added changes to helper and mixin - some open questions and tests are missing as well, - gitignore new line, - readme. MD - was importing and using _getAdjustedYear not properly, it was also not conventional, - further, fix in parseDate - 30+ tests shall be fixed (Note: only 2 shall remain to be fixed, on it to fix them as well) * More fixes in tests. * Making the commit changeset smaller, seemingly removing not needed changes. * Added test cases to keyboard-input.html cover the reference date related tests. - (Asynch tests are right now cannot be added, or at least needed to be transformed, refactored, and tested if this solution is working: Polymer/tools#1302, we need to have a specific version of Polymer as well) * Fixed duplicate line mentioned in code review by Ugur (thanks). * Small fixes: - In the test cases the not used variable is removed, - Added a presentation demo, to show how the reference date is working. * Further fixes: - date-picker-presentation-demos html fixed, used wrong identifiers (the previous example id-s), - _parseDate was not always reachable, now it shall be reachable from vaadin-date-picker-mixin.html always, - 11-31 is not a real date in date picker mixin, so fixed the test. * Fixes: - Asynch tests reworked (Ugur's idea around were good on assigning i18n values and how to input new values), - Some minor changes were needed around asynchronousity and how to clean the old values when we have embedded test cases, (I spent quite many hours today to figure out, but now all the tests are green, providing proper value) Now all tests are working finally. * Update demo/date-picker-presentation-demos.html Adding better wording for the new example in presentation-demos.html Co-authored-by: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com> * Update demo/date-picker-presentation-demos.html Change Date to date in the presentation-demos.html, as it is more consistent, and follows naming conventions. Co-authored-by: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com> Co-authored-by: Ugur Saglam <106508695+ugur-vaadin@users.noreply.github.com>
- Loading branch information
1 parent
0cf8eb7
commit feeeeb4
Showing
6 changed files
with
179 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,4 @@ node_modules | |
yarn.lock | ||
coverage | ||
analysis.json | ||
.idea |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters