euanwm / OpenWeightlifting

Repository that is deployed for the OpenWeightlifting site
https://www.openweightlifting.org
BSD 3-Clause "New" or "Revised" License
31 stars 21 forks source link

feature: sortable events table #382

Open euanwm opened 1 month ago

euanwm commented 1 month ago

Is your feature request related to a problem? Please describe. The current events table for singular events gives a non-sortable table which isn't particularly engaging for visitors.

Describe the solution you'd like The current NextUI table allows sortable rows to be enabled. Initially, it should be sortable by any of the number elements such as bodyweight to sinclair score.

A further push would be to allow selection by the gendered category which is not currently displayed on the events table.

Describe alternatives you've considered Sorting by backend API call was considered briefly but would be excessive given that there is not a massive amount of data and would be much quicker to deal with on the FE side.