DOMjudge / domjudge

DOMjudge programming contest jury system
https://www.domjudge.org
GNU General Public License v2.0
709 stars 248 forks source link

Add a mobile-friendly view of the public scoreboard #2401

Open meisterT opened 4 months ago

meisterT commented 4 months ago

The public scoreboard is probably mostly viewed on mobile devices, so a mobile-friendly view with reduced information would make sense.

I did some prototyping to check feasibility in https://github.com/DOMjudge/domjudge/commit/fbe6199364a55b413ab0eb1b84692affeea28c82

It would roughly look like this: image

As the code is obviously in no shape to being merged, I am interested in feedback whether this is the right direction, whether we need to add more info, remove some more info or present it differently.

iMylene commented 4 months ago

Is it possible to remove the logos of institutions? Does that make the scoreboard compacter? I do miss the favorite button in this setup, maybe the button can go on the logo spot?

nickygerritsen commented 4 months ago

I heard from people that logo's add a touch of niceness, so not sure if that is the best move?

meisterT commented 4 months ago

Is it possible to remove the logos of institutions? Does that make the scoreboard compacter? I do miss the favorite button in this setup, maybe the button can go on the logo spot?

I think we could bring back the :heart: in some form

nickygerritsen commented 3 months ago

I did some changes locally, but can't push to your branch since there is no PR (and thus it's not allowed).

Basically I did:

Screenshots:

iPhone 15 Pro Max:

Screenshot 2024-04-03 at 16 10 15

iPhone 15 Pro:

Screenshot 2024-04-03 at 16 10 19

Note that if you have a screen with less width than the iPhone 15, the problem boxes might not fit. Not sure if we want to handle that case.