-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update OnlineStatusContext and Create ConnectivityBars Component with Network Quality #287
base: master
Are you sure you want to change the base?
Conversation
…the bars icon with the network quality
9d87280
to
37ccb55
Compare
return ( | ||
<OnlineStatusContext.Provider value={{ isOnline }}> | ||
<OnlineStatusContext.Provider value={{ isOnline, connectivityQuality }}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would probably call this connectionQuality
as it's shorter and easier to read and type, while not losing any meaning. 🙂
The current issue with this feature is that
|
This pull request introduces improvements to the handling and display of network connectivity status by
navigator.connection.downlink
within the application. It updates theOnlineStatusContext
for better network status management and creates a newConnectivityBars
component to visually represent network quality.