UI improvements
Hi,
I wanted to add this issue since I had some ideas what one could do to improve the usability in the front-end. I am pretty sure that I can do some of these without touching the back-end and would be prepared to do just that, but wanted to make sure that these features are actually wanted. Some others would need back-end intervention, which I would need help for.
-
Make the front-end aware who I am -> One would basically add a checkbox in modify-player saying "This is me". This could be used for some quality of life improvements like:
- A direct link in the head row to "edit me"
- Highlight me in results etc. (<- Would need minor backend intervention, since the results are only sent as a string of players. It would be easy to do if one wraps each player in an
<a class="player_${player_id}">
.)
I would only save that information client-side, since the server does not really need to know.
-
Do not reload page, if I move a player active/inactive/etc. Right now, you use a form for this and reload the page. Since establishing the websocket-connection takes some time (btw: that is about 1s for me every time, can someone confirm this is usual? It seems kinda long), this makes the experience pretty sluggish. One can just move the post request to the background (easy, no back-end intervention needed) or use the websockets that are already open to send that request (probably not that complicated, but needs back-end intervention). The update would then be done as if someone else set that by obtaining the update via the websockets. Optionally, one could eagerly move the player on the client side to make the transition even faster.
Feel free to shoot these ideas down if they are unwanted^^ Also feel free to offer some suggestions for front-end improvements that are too html/js-ish for you to want to do ;-P
Nicholas