Skip to content

feat: show one-time flash notification when newer version is available#10

Open
jason-p-pickering wants to merge 6 commits into
mainfrom
feature/version-update-notification
Open

feat: show one-time flash notification when newer version is available#10
jason-p-pickering wants to merge 6 commits into
mainfrom
feature/version-update-notification

Conversation

@jason-p-pickering

Copy link
Copy Markdown
Contributor

Summary

  • Surfaces the existing startup version check in the web UI as a one-time flash notification
  • On first page load after startup, users see an info banner: "A newer version (vX.Y.Z) is available. Download it here." with a link to the GitHub releases page
  • Banner appears once and is gone — Flask's flash system consumes it on render

Test Plan

  • Start the app with a newer version available (mock _available_update or trigger manually) — confirm the blue info banner appears on the first page loaded
  • Reload the page — confirm the banner does not appear again
  • All 8 tests in tests/test_web_index.py pass

🤖 Generated with Claude Code

@sonarqubecloud

Copy link
Copy Markdown

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.

1 participant