feat(sidebar): teal "PRE-RELEASE" badge for prerelease builds - #70
Merged
Conversation
Adds a sidebar indicator that appears whenever the running version contains an -rc./-beta./-alpha. suffix. Distinct teal palette so it doesn't clash with the amber DEVNET / SEPOLIA TESTNET badge if both apply at once. Sits above the network badge, below the logo. Detection mirrors release.yml's prerelease tag rule and updater_channel::looks_like_prerelease so the three sources stay in sync. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
5 tasks
Nic-dorman
added a commit
that referenced
this pull request
Apr 30, 2026
Second internal-tester pre-release of the 0.6.8 cycle. Adds on top of rc.1: - Sidebar PRE-RELEASE indicator (#70) -- teal badge for rc/beta/alpha builds, distinct from the amber DEVNET badge. - refresh-release-notes workflow (#71) -- ~30s manual workflow_dispatch to push polished release notes into latest.json so the in-app UpdateDialog renders them. Tests V2-237 end-to-end: anyone on installed v0.6.8-rc.1 with Settings -> Advanced -> Pre-release builds toggled on should auto-detect rc.2. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
3 tasks
Nic-dorman
added a commit
that referenced
this pull request
May 1, 2026
Extends the teal prerelease accent established in #70 (the static "PRE-RELEASE" sidebar badge) to the updater UI, so when a tester on the prerelease channel sees an update offered, it's visually consistent with the rest of the prerelease styling instead of sharing the amber palette used by stable updates and the network badges. - Sidebar "Update Available" banner: teal-400 when the offered release is a prerelease, amber-400 (existing colour) for stable. Same shape, same dark text, same shadow/hover behaviour. - UpdateDialog "Pre-release" badge: teal-500/10 background + teal-400 text, matching the sidebar badge from #70. Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
4 tasks
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.
Summary
Adds a persistent sidebar badge that surfaces "this app is a pre-release build" to anyone running an rc/beta/alpha tag. Sits in the same slot as the existing DEVNET / SEPOLIA TESTNET badge, above the navigation links.
Why
A tester running v0.6.8-rc.1 against production is identical-looking to a stable v0.6.8 user from the sidebar. When something goes wrong in testing, that ambiguity makes triage slower. A persistent indicator makes the distinction obvious at all times — not just when an update happens to be offered.
Visual
bg-teal-500/10 / border-teal-500/20 / text-teal-400) — chosen to not collide with the amber DEVNET / SEPOLIA TESTNET badge when both apply (e.g. an RC build connected to a Sepolia devnet).PRE-RELEASE(uppercase, matches DEVNET conventions).Detection
Frontend regex
/-(?:rc|beta|alpha)\./matches the running version (fetched once on mount viaget_app_version). Mirrorsrelease.yml's prerelease tag rule andupdater_channel::looks_like_prereleasein Rust — three call sites, one rule.Test plan
npx nuxi buildcleanPRE-RELEASEbadge in the top-left.If you'd rather pink than teal, swap
teal-→pink-in three classnames; one-line tweak.