Ping info #284
Replies: 2 comments 2 replies
-
Thanks for sharing ideas. For technical reasons, only idea number 1, in the game screen will be possible. We can't show the ping info on home because we need an open websocket connection to get ping info. Contrary to the previous app, I don't open a permanent websocket because: 1- it is useless in most of the screen, 2- it drains the battery faster. It's better with a tooltip because ping and server lag numbers are non-essential infos and it's fine to hide them behind a click. Showing them permanently would just clutter the UI. |
Beta Was this translation helpful? Give feedback.
-
What about this : when we click on the icon, we send a request to the lichess server to get the server latency ? That way, we can wait for the response with the server and compute the ping based on the time it took only when we want to. No permanent websocket open that way. I'm not sure this is possible with lichess' api though. Also i didn't meant to add it on all screens, just in the lobby and in the game, where it's the most logical.
That's essentialy the idea i had in mind : only showing them when needed and make them disapear after a short amount of time, or when we click on the icon again. Can you show me how a tooltip looks ? |
Beta Was this translation helpful? Give feedback.
-
For the moment we only have the ping icon when playing games.
The idea
When we will click on this icon, a small box with the ping we have and the server latency is shown.
It should dissipear after a short amout of time, or when we click on the icon again.
Maybe we can color the text depending on the ping (Green if everything is fine, yellow if it's less fine and red if it's very slow), but i guess it will make the code more complex.
Here is some designs i've sketched :
In game #1 :
Pros :
Cons :
In game #2 :
Pros :
Cons :
Lobby #1
Why
We have this informations on the website and on the previous lichess app. Moreover, it can help us make diagnostics if we have problems connecting to lichess.
I'm hearing for feedback about this idea and the designs, so don't hesitate to share yours.
Beta Was this translation helpful? Give feedback.
All reactions