Skip to content

Conversation

@lerouxb
Copy link
Contributor

@lerouxb lerouxb commented Jan 14, 2025

This also adds logging that will be super helpful in debugging auto-update. Especially during testing. And some data-testids we can use in the tests to address things in the relevant toasts.

@lerouxb lerouxb added the no release notes Fix or feature not for release notes label Jan 14, 2025
@github-actions github-actions bot added the feat label Jan 14, 2025
if (
semver.gt(APP_VERSION, state.previousVersion) &&
state.previousVersion !== DEFAULT_APP_VERSION
state.previousVersion !== DEFAULT_APP_VERSION &&
Copy link
Contributor Author

@lerouxb lerouxb Jan 14, 2025

Choose a reason for hiding this comment

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

<button
className={cx(buttonStyles, darkmode && buttonDarkStyles)}
onClick={onUpdateClicked}
data-testid="auto-update-restart-button"
Copy link
Contributor Author

Choose a reason for hiding this comment

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

As a drive-by I'm adding these test ids so the latest nightly dev release will end up with them and then the auto-update tests can use them.

@lerouxb lerouxb merged commit fc52bab into main Jan 14, 2025
27 of 29 checks passed
@lerouxb lerouxb deleted the toast-when-downgrade branch January 14, 2025 12:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat no release notes Fix or feature not for release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants