Closed vvo closed 7 years ago
Awesome, congrats!!
@vvo I wonder thought if there isn't a better way to handle the filter update in another way than remove + add ?
@florentdestremau Did you release a calendar widget ?
hi @chrisvidal, sorry but I never had the time to finish it properly so it's just the widget above for now.
Alright, i will try to implement it, thanks In my scenario, we need to use 2 date pickers, i guess that would work by just adding another datepicker widget
Hey guys, did you see that Airbnb recently released https://github.com/airbnb/react-dates? Looks like the ideal calendar library to used in instantsearch.js \o/
Hi,
It's an old issue but...
params.helper.removeNumericRefinement('timeStamp'); params.helper.addNumericRefinement('timeStamp', '>=', moment(date).unix()); params.helper.search();
i'm using something similar with the helper method on a custom date selector widget :
helper.removeNumericRefinement(attr).addNumericRefinement(attr, "=", timestamp).search();
It's fine, it filter the hits but...
How i would createURL like : my_attr=timestamp
?
i can't figure it out
🙏
there's a calendar widget example now https://github.com/algolia/instantsearch/tree/master/examples/js/calendar-widget which uses connectRange @FredHasselot
Cool ! Thanks a lot.
After few tests, connectRange may do the trick, but is there a list displaying all connectors natively available ?
When refine hits, i would ideally need somehting like : refine(my_attr = timestamp
)
If not, connectRange will be fine.
Thx
My try for now:
It's working nicely since yesterday !