domjudge icon indicating copy to clipboard operation
domjudge copied to clipboard

Add a mobile-friendly view of the public scoreboard

Open meisterT opened this issue 11 months ago • 4 comments

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.

meisterT avatar Mar 23 '24 10:03 meisterT

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?

iMylene avatar Mar 24 '24 15:03 iMylene

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

nickygerritsen avatar Mar 24 '24 16:03 nickygerritsen

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

meisterT avatar Mar 24 '24 16:03 meisterT

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:

  • Make team names not fall of the screen by calculating their max width.
  • Make non mobile scoreboard not left-aligned.
  • Add a bit of margin to the header.
  • Make the problem boxes right aligned.
  • Change the card at the top to show 2 lines (name + contestt time) on mobile.

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.

nickygerritsen avatar Apr 03 '24 14:04 nickygerritsen