Open jouni opened 8 years ago
For reference: http://www.skyscanner.fi/
Please review and comment the scenarios documented so far.
Also I would like to hear your thoughts about:
Scenarios 14-17: I would concentrate on the other scenarios first, nailing those before elaborating the last ones.
Calendar icon: I feel like that could be left for the developer to add manually, and wire it up to focus and open the date picker.
Updated the document:
@jounik Please review and notify if ok for "Done".
Revised the scenarios/wireframes document:
Added a couple of comments.
I’m still not comfortable about the very different layout for desktop (two months side-by-side). Also, the unbuffered mode is starting to feel the one we should initially drop, and concentrate on using the buffered mode for both single date and range selections.
That said, I think we can move this one back to the backlog to rest for a while, and get back to it once the development is at the point when we can consider implementing range selection.
Just a comment: This can easily be achieved by two date-pickers after the min and max attributes were added.
<template is="dom-bind">
<vaadin-date-picker label="Start" value="{{startValue}}" max="{{endValue}}"></vaadin-date-picker>
<vaadin-date-picker label="End" value="{{endValue}}" min="{{startValue}}"></vaadin-date-picker>
</template>
Seems like a nice workaround until we have it as an integrated feature 👍
@vaadin-marcus, you could use this workaround in Expense Manager ;)
FYI, a new polymer component with range option has been released recently : https://github.com/RoXuS/range-datepicker/
Any news about this? 😃
Hi @abdonrd, no progress on this yet unfortunately. It's quite a requested feature so deserves a revisit.
It would be also very interesting to see also how vaadin-date-picker
and vaadin-time-picker
could integrate for a date-time range selection.
Currently it can be done using four components (two date pickers and two time pickers), but it would be much easier for the user to have a two (or even a single) component/overlay.
For example (from http://www.daterangepicker.com):
Range selection has currently been designed to work within one date picker.
We should evaluate different scenarios if they are better served with to individual pickers instead, or if we can and need to improve the single picker design in some way to accommodate more scenarios.
It’s not 100% clear to me how this relates to multi-select also, when the user can select many individual days from the picker, so it could be considered here as well.