airmash-refugees / airmash-frontend

"Semi-pristine" copy of last official Airmash app
https://airmash.online
43 stars 24 forks source link

Hide inactive players and bots in the scoreboard #26

Open peace2000 opened 4 years ago

peace2000 commented 4 years ago

Hi, could a switch added that allows to hide bots and inactive players in the scoreboard?

The reason for this is that sometimes when I want to check and review the current balance situation in order to balance the game by myself, it's not very effortless because there is lots of information I don't need, such as inactives and bots. I want to be able to see a list of active human players only, quickly and effortlessly.

(Had some discussion about this in the server repo: https://github.com/wight-airmash/ab-server/issues/83)

Also, the scoreboard could also be extended some way because the readability is not good when one needs to scroll it down a lot in order to see all the players. In the picture there are only 17 players but at peak times there could be 30.

Näyttökuva (108)

Here is a reference picture about "hide bots" button, that could also of course hide inactive players as well. (Though I don't understand what's the point to list inactives anyway.)

congratulatio commented 3 years ago

I made some commits recently (https://github.com/airmash-refugees/airmash-frontend/commit/c51e6bb3c16febdf6605b44a42050cddee54ce9b, https://github.com/airmash-refugees/airmash-frontend/commit/43fa25f66edf71737ec3e92f602e06ddc281a12c, https://github.com/airmash-refugees/airmash-frontend/commit/91cb5efcacc05782813ce622677295475e98e609) that attempt to address this.

The player count detail at the top of the screen now displays the team balance (blues / reds / spectators), and the scoreboard greys out the rows of those who are spectating (or dead):

screenshot