KiOui / mentorpunten

Scavenger hunt website for Study Association Thalia
https://scavengerhunt.thalia.nu/
MIT License
5 stars 1 forks source link

Tournament selector in header #81

Open JobDoesburg opened 11 months ago

JobDoesburg commented 11 months ago

It would be good for UX to implement a tournament selector dropdown in the header.

image

Simply make the title clickable (with a little collapse-triangle icon next to it) and display a dropdown of the tournament. The header should display the name of the tournament

URL paths can be

scavengerhunt.thalia.nu//feed scavengerhunt.thalia.nu//challenges scavengerhunt.thalia.nu//store scavengerhunt.thalia.nu//scoreboard

etc.

Or you can work with cookies for the selected tournament.

KiOui commented 11 months ago

Very good idea, I wanted to implement it like this from the start but it was more easy to just use the router. I would suggest using localStorage and saving the selected tournament there (see the credentials module for an example).