feat(updater): "Pre-Release" label above the update banner - #76
Merged
Conversation
When the offered update is a pre-release, the teal sidebar banner now
shows three lines:
PRE-RELEASE
UPDATE AVAILABLE
v0.6.8-rc.X
The new label is text-[10px] uppercase bold with reduced opacity so the
existing "Update Available" headline keeps visual primacy. Stable
updates render unchanged (no extra label, amber palette).
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Nic-dorman
added a commit
that referenced
this pull request
May 1, 2026
Fourth internal-tester pre-release. Adds on top of rc.3: - "Pre-Release" header line above the teal "Update Available" banner (#76) -- testers see the channel of the offered update at a glance without having to parse the version string. Cut quickly after rc.3 so testers on rc.1/rc.2 (Linux/macOS) can exercise the V2-237 + #73 install path twice: once upgrading to rc.3, then again from rc.3 to rc.4 (verifies the fix is sticky across multiple upgrade cycles). Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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 small "Pre-Release" header line above the existing teal "Update Available" banner so testers can see the channel of the offered update at a glance, not just from the version string.
Visual
When the offered update is a pre-release (
isPrerelease === true), the sidebar banner stacks three lines:Stable update banners are unchanged — no extra label, amber palette as before.
Pairs with
Test plan
npx nuxi buildcleantext-[10px]andopacity-70to give the existing "Update Available" headline visual primacy — easy to bump up if the hierarchy feels wrong.