Skip to content

Prefetch the changelog details so that they can, hopefully, be shown straightaway - #596

Merged
agarny merged 2 commits into
opencor:mainfrom
agarny:cleaning-up
Nov 1, 2026
Merged

agarny merged 2 commits into
opencor:mainfrom
agarny:cleaning-up

Conversation

@agarny

@agarny agarny commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI balanced review requested due to automatic review settings November 1, 2026 23:33

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No active review issues remain for the changelog prefetching and update-dialog changes.

No open issues 🎉

What changed in this PR

This PR prefetches changelog details when the web app detects an update, reducing the wait when users open the update dialog.

Changes:

  • Cache completed and in-flight changelog requests by version, allowing retries after failures.
  • Add a three-second fetch timeout and loading and failure states in the update dialog.
  • Update both package versions to 1.20261102.0.
File Description
src/​renderer/​src/​components/​OpenCOR.vue Prefetch changelog details when an update becomes available.
src/​renderer/​src/​components/​dialogs/​UpdateAvailableDialog.vue Display loading and retrieval-failure states.
src/​renderer/​src/​common/​changelog.ts Add request caching, timeout handling, and retry support.
src/​renderer/​package.json Update the renderer package version.
package.json Update the root package version to match.

Review effort: Balanced

@agarny
agarny merged commit d3bd3c3 into opencor:main Nov 1, 2026
9 checks passed
@agarny
agarny deleted the cleaning-up branch November 1, 2026 23:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants