Repository navigation
Update and Restart: say when an update is ready, and take it at once (0.3.2) - #67
Merged
Merged
Conversation
While an update has been fetched and is waiting, a small Update and Restart button stands at the top of the window, at the right: on Home's bar, and on the ribbon's row of tabs in a workspace (ADR-025). Zain asked for it on finding that 0.3.1, fetched and waiting, said nothing. Pressed, ERDFlow closes as it does when closed by hand, the update is put in place by the steps it always was, and ERDFlow is opened again. - The button is laid over its row, in room the row was not using: nothing there is moved or resized, and the tabs remain File, Home and Settings. With no update waiting, with Automatic Updates off, and in a build from source, it is not there. - macOS opens the bundle again from the shell that trades the bundles; Windows gives the installer /RELAUNCH=1, which its script answers by starting ERDFlow; Linux starts the renamed AppImage. - Another ERDFlow open, or what was ready gone, is said in a notice under the button instead. - Closing ERDFlow by hand still updates it silently and does not open it again; fetching, checking and the Settings switch are unchanged. - --update-ready <version> shows the button in a build from source. - The package workflow checks that the Windows installer, run as an update asked to open ERDFlow again runs it, starts ERDFlow. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Version 0.3.2 and its release notes: Update and Restart, the button that says an update is ready and takes it at once. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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.
What this adds
While an update has been fetched and is waiting, a small Update and Restart button stands at the top of the window, at the right: on Home's bar, and on the ribbon's row of tabs in a workspace (ADR-025). Pressed, ERDFlow closes as it does when it is closed by hand (unsaved work is asked about, and Cancel keeps it open), the update is put in place by the steps it always was, and ERDFlow is opened again.
Asked for on finding that 0.3.1, fetched and waiting on an installed copy, said nothing until ERDFlow was quit and opened again.
What stays as it was
visualsuite draws are byte-identical to those of the v0.3.1 tree.How it restarts
open -n); if the trade fails, the old bundle is put back and is what opens./RELAUNCH=1; its script starts ERDFlow when it is, and starts nothing without it.Another ERDFlow being open, or the fetched update having gone, is said in a notice under the button instead.
Who sees it
Installed 0.3.0 and 0.3.1 copies have no button to show: they take 0.3.2 silently, as before. The button first appears for the release after 0.3.2.
Checked
updatesuite, five more checks: what is waiting; a look that finds one waiting; another ERDFlow open; the installer's words; and (macOS and Linux) an update put in place with ERDFlow opened again or not.visualdiffers on the same six reference pictures asmain.The second commit sets the version to 0.3.2 and adds its release notes.
🤖 Generated with Claude Code