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

fix: show notification if lib/core install failed #2061

Merged
merged 1 commit into from
May 11, 2023
Merged

fix: show notification if lib/core install failed #2061

merged 1 commit into from
May 11, 2023

Conversation

kittaakos
Copy link
Contributor

@kittaakos kittaakos commented May 10, 2023

Motivation

IDE2 should notify the user when installing a library/platform has failed.

Change description

  • Catch any Arduino component install errors and toast the error message to the user.

For the verification, please follow #621.

621.mp4

This PR should also cover platform install failures. For example, nothing happens when there is no Internet connection and one tries to install a platform with 2.1.0. This PR should cover it. Providing a less cryptic error message with no Internet connection is separate from this PR: #1429.

2.1.0:

621_no_notfication_if_platform_install_failed.mp4

Build from this PR:

621_platform_no_internet.mp4

Other information

Closes #621

Reviewer checklist

  • PR addresses a single concern.
  • The PR has no duplicates (please search among the Pull Requests before creating one)
  • PR title and description are properly filled.
  • Docs have been added / updated (for bug fixes / features)

Closes #621

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
@kittaakos kittaakos self-assigned this May 10, 2023
@kittaakos kittaakos added topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project labels May 10, 2023
Copy link

@umbynos umbynos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image
The change LGTM

Copy link
Contributor

@per1234 per1234 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks Akos!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: code Related to content of the project itself type: imperfection Perceived defect in any part of project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Library Manager install fails ~silently if dependency not available
3 participants