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

In-app toasts for electron-updater notifications #3902

Conversation

pierremtb
Copy link
Collaborator

@pierremtb pierremtb commented Sep 17, 2024

Replaces the default system notification and update on exit behaviour with the tauri way we had set up. This is leveraging electron dialogs for now, next step to close #3872 is to hook up the react modals.

After more discussion with the team, forced auto updates seem to be the preferred route for now. This PR replaces the default system notification with an in-app toast. More things may be hooked to it later, for instance in-app changelog after updates.

First functional draft with @franknoirot's mockup (need to make it pretty now)
image

Copy link

qa-wolf bot commented Sep 17, 2024

QA Wolf here! As you write new code it's important that your test coverage is keeping up.
Click here to request test coverage for this PR!

Copy link

vercel bot commented Sep 17, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
modeling-app ✅ Ready (Inspect) Visit Preview Sep 24, 2024 3:55pm

@pierremtb pierremtb changed the title Pierremtb/issue3872-Add-custom-updater-model-back-after-electron-migration Add download & install dialogs for electron-updater Sep 17, 2024
@pierremtb pierremtb changed the title Add download & install dialogs for electron-updater In-app toasts for electron-updater notifications Sep 20, 2024
Copy link
Collaborator

@franknoirot franknoirot left a comment

Choose a reason for hiding this comment

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

Great job! I want to remember to do a thorough final smoke test this using the updater test before our next release. I'll look into a separate PR to add a native menu item to check for updates.

@franknoirot franknoirot merged commit 8b0b5a0 into main Sep 24, 2024
24 checks passed
@franknoirot franknoirot deleted the pierremtb/issue3872-Add-custom-updater-model-back-after-electron-migration branch September 24, 2024 17:55
@nadr0 nadr0 mentioned this pull request Sep 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants