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

Improve custom date range selector #2779

Closed
paolodamico opened this issue Dec 15, 2020 · 9 comments
Closed

Improve custom date range selector #2779

paolodamico opened this issue Dec 15, 2020 · 9 comments
Labels
design Issues that need a designer's attention enhancement New feature or request stale

Comments

@paolodamico
Copy link
Contributor

Is your feature request related to a problem?

Experience with the custom date range selector (see below) is a bit clunky. You need a ton of extra clicks to navigate around.

Describe the solution you'd like

Have something like Airbnb or your typical airline where the range selector opens automatically and then it lets you select a range more easily (without having to select a start date and and an end date individually).

Describe alternatives you've considered

Keep the current experience.

Additional context

Came from customer call.

Thank you for your feature request – we love each and every one!

@paolodamico paolodamico added the enhancement New feature or request label Dec 15, 2020
@EDsCODE
Copy link
Member

EDsCODE commented Dec 15, 2020

+1

@EDsCODE EDsCODE self-assigned this Dec 15, 2020
@macobo
Copy link
Contributor

macobo commented Dec 17, 2020

Note that changing the time bucketing (e.g. hourly) often resets the date range selected, leading to even more clicks.

@posthog-bot
Copy link
Contributor

This issue hasn't seen activity in 6 months. Is it still relevant?

@paolodamico paolodamico added core-experience design Issues that need a designer's attention and removed stale labels Jul 21, 2021
@paolodamico
Copy link
Contributor Author

Think this is still quite relevant. Tagging @clarkus for ideas here

@clarkus
Copy link
Contributor

clarkus commented Jul 21, 2021

Still relevant (#5173 (comment)) as it relates to session filters. #2990 as well. I have some ideas for this. I'll add it into my design queue 👍

@clarkus clarkus self-assigned this Jul 21, 2021
@clarkus
Copy link
Contributor

clarkus commented Jul 21, 2021

Here is a basic pattern for a datepicker that is optimized for ranges. This is a bit separate from the input that would summarize the selected values. I am working on something for that now. Important aspects to the picker below:

  • prominent navigation for years and months
  • summary of the selected range - this could be the same or a translation of the value shown in the input (design pending)
  • Context is highlighted - in the concept below, the current date is highlighted with a gray stroke
  • Not represented in the concept below, but disallowed values are disabled or entirely hidden from the calendar component of the picker.

Screen Shot 2021-07-21 at 3 50 40 PM

@clarkus
Copy link
Contributor

clarkus commented Jul 22, 2021

I did some research looking for react-based datepicker components we could use for this need. https://github.com/airbnb/react-dates looks fairly complete. The one thing I didn't find support for was quickly navigating years.

@posthog-bot
Copy link
Contributor

This issue hasn't seen activity in two years! If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in two weeks.

@posthog-bot
Copy link
Contributor

This issue was closed due to lack of activity. Feel free to reopen if it's still relevant.

@posthog-bot posthog-bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Issues that need a designer's attention enhancement New feature or request stale
Projects
None yet
Development

No branches or pull requests

5 participants