Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

Style the puzzle latency component to be more helpful #73

Open
jkenlooper opened this issue Jul 3, 2020 · 0 comments · Fixed by #102
Open

Style the puzzle latency component to be more helpful #73

jkenlooper opened this issue Jul 3, 2020 · 0 comments · Fixed by #102
Labels
client-side CSS, JS, and HTML design Make it mo' better good first issue Good for newcomers

Comments

@jkenlooper
Copy link
Owner

The puzzle latency shows the response time from pinging the server in milliseconds. This value could be styled to better portray what it is for. Response time of less than 300 could be considered as optimal and so could be styled as green or something. Anything above 1000 (1 second) would probably be not so great.

A helpful pop up modal or something to better describe how this value is determined would also be good, but is not totally necessary for this.

When the puzzle page is first loading it will ping the server multiple times until it gets a connection. After that it will only ping the server every 4 minutes in order to keep the connection open. Each time it pings the server the latency value is updated.

@jkenlooper jkenlooper added good first issue Good for newcomers client-side CSS, JS, and HTML design Make it mo' better labels Jul 3, 2020
@jkenlooper jkenlooper linked a pull request Sep 4, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
client-side CSS, JS, and HTML design Make it mo' better good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant