-
Notifications
You must be signed in to change notification settings - Fork 145
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
Conversation
…tipleYearsNavigation => showSecondaryNavigation, and multipleYearsNavigateBy => secondaryNavigationStep)
PI: @MatthieuBarthel, following #148 |
@vlio20 I'm unable to run |
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.
Great PR though I think that we have a show-stopper.
@@ -53,7 +53,7 @@ | |||
|
|||
.dp-calendar-secondary-nav-right { | |||
left: initial; | |||
right: 5px; | |||
//right: 5px; |
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.
why this one was removed? and if it is needed to be removed you can remove the comment
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.
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...)
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.
Will do
…econdaryNavigationStepMonthView, showSecondaryNavigationDayView, secondaryNavigationStepDayView)
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