adrienpoly / rubyvideo

Indexing all Ruby related videos
https://rubyvideo.dev
258 stars 50 forks source link

Update talks#index default sort #296

Open jmarsh24 opened 1 month ago

jmarsh24 commented 1 month ago

On the front page, the latest talks are shown and a link is provided to "see all talks" When you visit this page, the videos don't match the front page and are static. I propose that this should be the latest talks as that's what I would expect to see and it would be more engaging. A shuffle could be added so that way it's more varied.

CleanShot 2024-10-24 at 23 35 52@2x

When I click the link I would expect to attest see rails world and balkan ruby after clicking this link.

CleanShot 2024-10-24 at 23 36 11@2x

adrienpoly commented 1 month ago

Currently it is ordered by date so it should be the latest conference first. On the front page to make it a more dynamic it is something like 4 random talks out of the last 50. This is why it is slightly different

My suggestion for the talks#index page would be to make this user configurable. top right we should have a select or some buttons to select the order of the talks. options could be

in case of full text search we default to relevance but this can be changed by the user with the above options