Skip to content
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

Clear notification when connected to Internet #16

Open
ylogx opened this issue Nov 1, 2014 · 1 comment
Open

Clear notification when connected to Internet #16

ylogx opened this issue Nov 1, 2014 · 1 comment
Assignees

Comments

@ylogx
Copy link
Member

ylogx commented Nov 1, 2014

Having the notification lying around when the user is clearly connected to Internet is useless and intrusive.
Desired Result:
The notification disappears after sometime when the user is logged in and appears back on when user gets disconnected.

Current Situation:
The notification stays forever once connected to a loginable network.

We should poll in the service at 5 minute intervals, ping some server (Google probably) and check if we're connected to Internet. If true, clear notification, else if false check if we need to show notification.

@ylogx ylogx changed the title Clear notification at a poll interval of 5 minutes Clear notification when connected to Internet Nov 1, 2014
@ylogx
Copy link
Member Author

ylogx commented Nov 12, 2014

The current situation has changed now since last two release.
On v0.6.2 the notification is only sent in once when WiFi starts up. But it will be still cooler if we could remove it when user is logged in and show it back when user gets logged out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants