dorodere / komplett-normale-busliste

Registration system for bus drives, likely not of interest
GNU Affero General Public License v3.0
0 stars 0 forks source link

Page showing remaining registrations #8

Open dorodere opened 1 year ago

dorodere commented 1 year ago

Depends on #5 and partly #6.

After #5 has been implemented, it'd be nice to have a web page thought for a screen in public, which just shows a QR-code to the instance, the remaining count of possible registrations for the next two drives containing also the weekday names, and finally, also until when the user still has time to register (hence the #6 dep).

Unfortunately I believe this will require some kind of JavaScript/https://yew.rs to regularly fetch the data on available registrations, which will also require a new API route. Open to debate about whether that one should be protected through an API-ish key or not.

Nitro-paul commented 1 year ago

Fetching data will not require a lot of javaScript or a new api route. Using a little bit of Js to reload the page would do the trick.