Show update prompt in Bluebird channels nav#2820
Merged
Merged
Conversation
Render the UpdateBanner in ChannelsSidebar, pinned above Settings, mirroring how the Code-mode sidebar (SidebarContent) surfaces a ready update. The banner is self-contained and renders nothing unless an update is downloading/ready, so the Channels/Website space now offers the same "Restart to apply" prompt as Code mode. Generated-By: PostHog Code Task-Id: 7879ab74-a78b-4b73-812f-382106b905ec
|
React Doctor found no issues in the changed files. 🎉 Reviewed by React Doctor for commit |
Contributor
|
Reviews (1): Last reviewed commit: "Show update prompt in Bluebird channels ..." | Re-trigger Greptile |
raquelmsmith
commented
Jun 21, 2026
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.
Problem
The "update available / restart" prompt (
UpdateBanner) shows in the Code-mode nav but not in the Bluebird (Channels / Website space) nav, which renders its own chrome. A user living in the Channels space would never be offered a ready update.Why: Make the update prompt that shows in the Code-mode nav also show up in the Bluebird nav.
Changes
Render
<UpdateBanner />inChannelsSidebar, pinned just above the Settings button — the closest mirror of where Code mode places it inSidebarContent. The component is self-contained (reads update state from the store via hooks) and renders nothing unless an update is downloading/ready/installing, so there's no behavioral change when no update is pending.How did you test this?
Not run. The shallow clone has no installed dependencies, so a package typecheck can't resolve modules. The change reuses the exact import path and self-contained component already used by the Code-mode
SidebarContent.Automatic notifications
Created with PostHog Code