feat: Improve automatic update flow with user controls#1631
Open
Kiki-bo-zhang wants to merge 1 commit intoBoostIO:masterfrom
Open
feat: Improve automatic update flow with user controls#1631Kiki-bo-zhang wants to merge 1 commit intoBoostIO:masterfrom
Kiki-bo-zhang wants to merge 1 commit intoBoostIO:masterfrom
Conversation
- Add 3-option update prompt: Download/Skip/Remind Later - Add download progress bar with real-time percentage - Allow user to control when to restart after update - Add 'Install Update' button without checking - Persist user preferences (skip version, remind-later) - Add IPC communication for renderer process - Update menu labels dynamically based on update status Closes BoostIO#728
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements a comprehensive improvement to the automatic update flow in BoostNote, addressing all requirements from issue #728.
Changes
User-Facing Improvements
Three-Option Update Prompt
Download Progress Display
User-Controlled Restart
Install Without Checking
Technical Implementation
New Module:
src/electron/updater-improved.ts(350 lines)New Component:
src/components/UpdateNotification.tsxModified Files:
src/electron/menu.ts- Dynamic update menu labelssrc/electron/index.ts- Initialize new auto-updaterTesting
Test Scenarios
Version Bump
Updated from
0.23.1to0.24.0(minor version bump for new features)Related Issue
Closes #728
Checklist
Ready for review! 🚀
IssueHunt Summary
Referenced issues
This pull request has been submitted to: