rubyvideo icon indicating copy to clipboard operation
rubyvideo copied to clipboard

Filter for Talks page

Open marcoroth opened this issue 1 year ago • 1 comments

Either we should have a Past Talks and Upcoming Talks page or we should have a filter on the /talks page, since the first page only shows scheduled talks now 😅

CleanShot 2024-12-10 at 01 37 50

marcoroth avatar Dec 10 '24 00:12 marcoroth

yes I noticed that and I found it a bit annoying. Technically the controller already support filters it would be fairly easy to add the video_provider. The missing piece is the UI for all those filters. I have started to look at a few options from other site. This is clearly something that I would like to push forward

For this particular case we could have a video_provider (name?) filter with a default value that filters out the upcoming talks

adrienpoly avatar Dec 10 '24 07:12 adrienpoly

@marcoroth @adrienpoly I came up with a filter for this. There is a scope added by #530 which already filters upcoming out.

https://share.cleanshot.com/4flshVxH

Do we want to go with a solution that allows users to filter by what they want specifically? maybe "Published" can be default.

justinallenmarsh avatar Aug 21 '25 18:08 justinallenmarsh

It looks great thanks. I would go with the published by default. The components takes quite a bit of space but right now it is not a big issue. Further down the road we might want to add more filters and we might need more space. Maybe we would have to move to a select at some point ? But let's keep it like that for now.

How does it looks on mobile?

adrienpoly avatar Aug 22 '25 12:08 adrienpoly

Here is a link of how it works on mobile.

Mobile https://share.cleanshot.com/kfrgc1sr

Desktop https://share.cleanshot.com/BZctgK6J

I also think it takes up a lot of space, but it fits at the moment like this. I think if we add more filters and select then we can create a modal window.

I changed the wording to align a little bit more with the data model and also used "All" instead of "All Talks" to conserve space.

You can find the PR here. #927

justinallenmarsh avatar Aug 22 '25 12:08 justinallenmarsh