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

[Feature Request] making double arrows available in day view #502

Merged
merged 10 commits into from
Apr 30, 2020

Conversation

albancho
Copy link

Linked to #501.

UT: OK
e2eT: OK

Since I changed the parameters, I added a deprecation safety (console.warn in the console, and remapping the old parameter to the new one), so no need to wait for a new major version.

I tried to keep the practices of the projet, I hope I didn't miss something ( for instance I realized just before commiting there were a fixed column width in the readme.md file )

I also fixed some errors I saw in e2e tests. For instance, a test was asking to click on current date, but today is April 29, but in the calendar, March 29 was also present, so the test did not click on the right one (and kind of tricky to see...). Same on the time calendar, where another time calendar was in the config panel, so had to make a more precise selector (using #picker).

Feel free to review

Alban CHOREIN added 3 commits April 29, 2020 15:52
…tipleYearsNavigation => showSecondaryNavigation, and multipleYearsNavigateBy => secondaryNavigationStep)
@albancho
Copy link
Author

albancho commented Apr 29, 2020

PI: @MatthieuBarthel, following #148

@albancho
Copy link
Author

@vlio20 I'm unable to run npm run e2e:headless, it doesn't like the "HEADLESS=true" which is in the package.json. It works for me when i run npm run e2e:quick. Looks strange, any idea why the "format e2e" fail ?

Copy link
Owner

@vlio20 vlio20 left a comment

Choose a reason for hiding this comment

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

Great PR though I think that we have a show-stopper.

e2e/datepicker-e2e.spec.ts Outdated Show resolved Hide resolved
package-lock.json Outdated Show resolved Hide resolved
package.json Show resolved Hide resolved
@@ -53,7 +53,7 @@

.dp-calendar-secondary-nav-right {
left: initial;
right: 5px;
//right: 5px;
Copy link
Owner

Choose a reason for hiding this comment

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

why this one was removed? and if it is needed to be removed you can remove the comment

Copy link
Author

Choose a reason for hiding this comment

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

I had to remove it to see the double arrow. When I first ran the code, arrows were one on the other, so we only saw one arrow. But it seems strange to be such a bug, so I put it in comments just in case. It'd be great if you could run the code and have a look to it (check/uncheck it in chrome to see the difference...)

Copy link
Owner

Choose a reason for hiding this comment

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

Will do

src/lib/common/services/utils/utils.service.ts Outdated Show resolved Hide resolved
src/demo/demo/common/conts/consts.ts Outdated Show resolved Hide resolved
Alban CHOREIN added 3 commits April 30, 2020 11:42
…econdaryNavigationStepMonthView, showSecondaryNavigationDayView, secondaryNavigationStepDayView)
@vlio20 vlio20 merged commit b115f90 into vlio20:next Apr 30, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants