marcodejongh / boardsesh

https://www.boardsesh.com
7 stars 0 forks source link

Hold filtering. Similar to Climbdex search by hold feature #12

Open marcodejongh opened 1 month ago

marcodejongh commented 1 month ago

Climbdex supports filtering by hold: https://github.com/lemeryfertitta/Climbdex/blob/main/climbdex/db.py#L251-L277 This should be reimplemented in boardsesh.

The query from climbdex should be pretty portable, so thats not going to be hard. Then the board renderer in: app/components/board-renderer/board-litup-holds.tsx will need to have an edit mode added. In edit mode all circles in the svg should render, and onclick their light up status should change between the hold colours for the currently active board.