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

vaadin-date-picker UI design #3

Closed
3 tasks done
jouni opened this issue Sep 11, 2015 · 14 comments
Closed
3 tasks done

vaadin-date-picker UI design #3

jouni opened this issue Sep 11, 2015 · 14 comments
Assignees

Comments

@jouni
Copy link
Member

jouni commented Sep 11, 2015

A component for selecting a date or multiple dates/a range of dates.

UI Design

  • End user feature design: features for 1.0 and a few minor further
  • Prototype selected designs or parts of a design

Attachments (prior ideation)

@cwayfinder
Copy link

Probably you can borrow ideas from this http://www.materialup.com/collections/calendars-in-material-design

@tuomasnironen tuomasnironen self-assigned this Sep 15, 2015
@tuomasnironen
Copy link

Should the suggested element name be vaadin-datepicker? You see both versions used but with a quick googling "datepicker" appears to be written as one word in top search results.

@tuomasnironen
Copy link

Should the element include also time picker or just the dates for now? Ping @JouniK

@jouni
Copy link
Member Author

jouni commented Sep 15, 2015

Just dates now.

@jouni
Copy link
Member Author

jouni commented Sep 15, 2015

Forgot to comment about the element name. That’s not really that important right now, but I would personally go with vaadin-date-picker since the correct English wording is “date picker” (even though many widgets still use “datepicker”).

@tuomasnironen
Copy link

Attaching an initial version (for mobile screens) with some variations in the UI. Please take a look and let me know your likes/dislikes/other comments @JouniK .

iphone 6 2x - date picker

@Saulis
Copy link
Contributor

Saulis commented Sep 16, 2015

🏆

@tuomasnironen
Copy link

Latest iterations of UI layout here:
iphone 6 2x - date picker
desktop hd - date picker

@jouni
Copy link
Member Author

jouni commented Sep 18, 2015

For inspiration, here’s the same component from Angular Material: https://material.angularjs.org/latest/#/demo/material.components.datepicker

@jouni
Copy link
Member Author

jouni commented Sep 21, 2015

Some questions that came up when looking at the designs:

  • How does keyboard navigation work inside the popups?
  • How do you move between the month and year lists in the infinite scrollable popup?
  • What are the “…” in the month list?
  • Does the large screen popup always open centered on the screen, or where?

Intuitively I would prefer the infinite scrolling list, with the option for toggling the granularity from days to months to years (i.e. show the full day calendars or only a list of month names or a list of year numbers in the scrolling list).

@jouni
Copy link
Member Author

jouni commented Sep 24, 2015

Moved the feature list to the main description, and copied the use case descriptions into a Google Doc.

@jouni
Copy link
Member Author

jouni commented Sep 25, 2015

Idea for the month/year navigation. Both infinite list views, the other one has a “shortcut” sidebar to quickly jump to a certain year (similar to iOS contacts list alphabet links):
date-picker-year-month-navigation

@tuomasnironen
Copy link

Good ideas. I will include them in the next design iteration. In the meantime, here is the updated UI layout for what I was working on:
iphone 6 2x - date picker

@tuomasnironen
Copy link

Graphical design status update: The designs include patterns for 1.0 features. Later version features will be added in the future design updates, as well as 1.0 designs will be revised according to feedback from proto user testing.

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

No branches or pull requests

4 participants