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

Add sidebar banner when new release is available #147

Merged
merged 19 commits into from
Dec 16, 2023
Merged

Conversation

esimkowitz
Copy link
Member

@esimkowitz esimkowitz commented Dec 15, 2023

Adds a banner to notify users when a new release is available. Clicking the button will navigate users to the Downloads page. Checking for updates will be tied to the telemetry upload timer so it will run once on launch and then again every 8 hours. The check calls the GitHub API unauthenticated and requests the latest release entry for the repo. This check can be disabled in Settings. When the check is disabled, the banner will not show. It can still be run manually using the /releasecheck command.

image

@esimkowitz esimkowitz marked this pull request as ready for review December 15, 2023 20:01
src/app/sidebar/sidebar.tsx Outdated Show resolved Hide resolved
wavesrv/cmd/main-server.go Outdated Show resolved Hide resolved
@sawka sawka merged commit b733724 into main Dec 16, 2023
4 checks passed
@esimkowitz esimkowitz deleted the evan/update-notify branch December 16, 2023 01:44
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