Skip to content

Check for updates on startup #772

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

Closed
fstasi opened this issue Jan 25, 2022 · 0 comments · Fixed by #797
Closed

Check for updates on startup #772

fstasi opened this issue Jan 25, 2022 · 0 comments · Fixed by #797
Assignees
Labels
conclusion: resolved Issue was resolved criticality: highest Of highest impact phase: implementation Work is in the implementation phase topic: code Related to content of the project itself type: enhancement Proposed improvement

Comments

@fstasi
Copy link
Contributor

fstasi commented Jan 25, 2022

As an Arduino user I would like to receive a notification when a new version is available, so that I can decide wether to update my IDE (confirm) or defer to a later time

Acceptance Criteria:

    • Scenario: IDE2.0 Usage (the IDE2 is already open or just opened)
    • Given that I’m using an outdated version of the IDE2 - When I do my work on the IDE - Then I expect an info message (i.e. toast, not invasive) that informs me that an update is available and the only action required to update, is to click on the button “Update“
    • Scenario: IDE2.0 Usage (the IDE2 is already open or just opened)
    • Given that I’m using an outdated version of the IDE2 - When I click on the “update” button - Then I expect the IDE to download the correct artifact from downloads servers, stop the IDE2, and restart it maintaining the workspace pre-update
    • Scenario: IDE2.0 Usage after the update
    • Given that I requested the IDE2 update - When I click on all the Icon and launchers I configured on my system - Then I expect the last IDE to be started together with all the related bundled updated software (use the CLI, fw-uploader, etc embedded in the latest release) without any disruption (meaning that a whole artefact replace is needed when the user choses to update)

tech considerations:

  • being the IDE2.0 a bundle of various artifacts (see AC#3) we cannot use the electron-builder update functionality, but we need to download the whole Arduino IDE release artifact and replace the whole app
  • the replacement process must be carefully designed to be supported on all the supported OSes (looking at you MacOs)
@fstasi fstasi added criticality: highest Of highest impact phase: implementation Work is in the implementation phase type: enhancement Proposed improvement labels Jan 25, 2022
@fstasi fstasi added this to the arduino-ide rc4 milestone Jan 25, 2022
@per1234 per1234 added the topic: code Related to content of the project itself label Jan 25, 2022
@fstasi fstasi changed the title Check for updates on startup MD library check license Feb 2, 2022
@per1234 per1234 changed the title MD library check license Check for updates on startup Feb 2, 2022
@per1234 per1234 linked a pull request Feb 2, 2022 that will close this issue
@per1234 per1234 added the conclusion: resolved Issue was resolved label Feb 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
conclusion: resolved Issue was resolved criticality: highest Of highest impact phase: implementation Work is in the implementation phase topic: code Related to content of the project itself type: enhancement Proposed improvement
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants