-
-
Notifications
You must be signed in to change notification settings - Fork 403
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
Suppress error notifications for failures of convenience operations resulting from lack of Internet access #1429
Comments
This comment was marked as off-topic.
This comment was marked as off-topic.
@AlbyIanna, do you have any objections if I take over this task? It's very much connected with #1438. Thanks! Update: leave the assignments as-is. |
Easier if IDE2 runs the update checks only if IDE2 already warns the users if there is no Internet connection.
arduino-ide/arduino-ide-extension/src/browser/widgets/cloud-sketchbook/cloud-user-status.tsx Line 120 in 6f07717
|
@kittaakos unfortunately using
Then I believe we should handle those errors somehow. It would also be nice to change those two lines to use a more reliable way of checking the internet connection, but I guess we can handle that separately. |
Thanks for the link. What about trying |
Thank you, I will do some tests with those packages. |
Describe the request
Do not show error notifications for failures of automated non-essential operations due to lack of Internet access.
Lack of Internet access should only be considered an error condition when it causes the failure of an operation that falls under one of the following categories:
🙂 User will not be bothered by the appearance of unnecessary error notifications.
Describe the current behavior
Users won't necessarily have Internet access on every single startup of the IDE. Although the IDE's functionality is enhanced by the ability to access resources from the Internet, the core functionality of sketch development does not have a reliance on an Internet connection. So Internet access is not considered a prerequisite for ongoing usage of the IDE.
On every startup, the IDE reads some information from the Internet. On the first run, this includes some essential files, and communicating to the user when these could not be downloaded is important (#784). However, on all other runs the information accessed is only for non-essential features:
Multiple prominent error notifications are shown on every startup when these operations fail due to lack of Internet access.
🙁 The cryptic index download error might give users might the impression that something is wrong with the IDE.
🙁 Users might be given the impression that the IDE can only be used while connected to the Internet.
Arduino IDE version
2.0.0-rc9.4
Operating system
Windows
Operating system version
10
Additional context
For the sake of searchability, I'll add the text of the notifications:
Issue checklist
The text was updated successfully, but these errors were encountered: