Allow event search by date range using date-picker

RESOLVED FIXED

Status

Webmaker
Events
RESOLVED FIXED
4 years ago
4 years ago

People

(Reporter: OpenMatt, Assigned: gvn)

Tracking

Details

(Whiteboard: [events] [aug8] [critical])

Attachments

(2 attachments)

https://events.webmaker.org/#!/events

For example:

searching for: 
* "July 25" *does* return events on July 25
* but "Jul 25" does NOT return events on July 25
* "July 22" or "Jul 22" does *not* return July 22 events
(Reporter)

Updated

4 years ago
Assignee: nobody → gavin
Whiteboard: [events] [july25] [critical]
(Reporter)

Comment 1

4 years ago
Gavin, any thoughts here?
Flags: needinfo?(gavin)
(Assignee)

Comment 2

4 years ago
I don't think we're explicitly searching dates, so any matches are probably happening because of matched text in the event name or description.

There are so many different ways of writing a date that it may be hard to get this working, but I agree its something we should look into.
Flags: needinfo?(gavin)
(Reporter)

Comment 3

4 years ago
* When you say there's "so many ways of writing a date," you mean on the *search* side, right? 

* Because the date-picker ensures that the event data is inputted in a standardized way, correct?
(Reporter)

Comment 4

4 years ago
* Geoff: what's the specific use case you want to support? What's most useful to you here?

* The way you'd search by date right now is by using the arrows at the bottom, since this display defaults to chronological order. You think that's insufficient? You want an easier way to switch to "Aug 12?" "Show me all the events in August?" help us understand the UX you think we should be supporting.

* Trying to figure out what end users want vs. what you and your team need for the data collection / sorting you're doing as part of follow-up.
Flags: needinfo?(geoffrey)
(Assignee)

Comment 5

4 years ago
Yep, I mean on the search side. The data in the DB is in a standardized format.
(Reporter)

Comment 6

4 years ago
* Ok. So natural language search won't work with localization.

* So let's add a date picker, where users can select a range. e.g., "between July 25 and Sep 1," and hit search.

* Putting on [aug8] train
Whiteboard: [events] [july25] [critical] → [events] [aug8] [critical]
(Reporter)

Comment 7

4 years ago
* Re-titled this bug to more accurately reflect scope
Summary: Events date search does not return expected results → Allow event search by date range using date-picker
(Assignee)

Updated

4 years ago
Flags: needinfo?(geoffrey)
Attachment #8468019 - Flags: review?(aki) → review+
Attachment #8468021 - Flags: review?(aki) → review+
Code looks good and testing was great, SHIPIT.
Status: NEW → ASSIGNED
(Assignee)

Updated

4 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.