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

DateRangePicker: roadmap #627

Open
adekbadek opened this issue Oct 17, 2019 · 1 comment
Open

DateRangePicker: roadmap #627

adekbadek opened this issue Oct 17, 2019 · 1 comment

Comments

@adekbadek
Copy link
Contributor

adekbadek commented Oct 17, 2019

#623 implements the new date range picker. There is room for improvement there, though:

  1. It's now possible to navigate on left calendar to a date past the date on right calendar. This results in a misleading UX, as the range is not displayed "chronologically" :
    image
    Solution would be to disable the calendar navigation arrows conditionally.

  2. Minimal date prop. This would disallow navigating to or selecting dates before a specific date. Use case: organization establishment as a minimal date for filtering transactions.
    image

  3. partial prop. Issue DateRange: Support partial ranges #514 - assume a start/end date if only one is picked.

  4. Hovering style for dates, like on airbnb date picker. This would give more feedback to the user.

  5. First day of week prop. As of now it's Sunday (USA locale). It'd be nice to be able to override that and set e.g. Monday as the week start date.

  6. onChange vs. onApply props. Now the change handler is called when "Apply" button is clicked. It might be useful though to have a quicker date picker, without such button, that would call a change handler after both dates were selected (as airbnb date picker does)

  7. Mobile version - in a modal, so it can safely take up the whole screen space

cc @bpierre @dizzypaty

@welcome
Copy link

welcome bot commented Oct 17, 2019

Thanks for opening your first issue in aragonUI! Someone will circle back soon ⚡

@sohkai sohkai changed the title DateRangePicker - roadmap DateRangePicker: roadmap Mar 21, 2020
@stale stale bot added the abandoned label Sep 18, 2020
@aragon aragon deleted a comment from stale bot Sep 18, 2020
@stale stale bot removed the abandoned label Sep 18, 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

No branches or pull requests

1 participant