Skip to content

Show update prompt in Bluebird channels nav#2820

Merged
raquelmsmith merged 2 commits into
mainfrom
posthog-code/update-prompt-bluebird-nav
Jun 21, 2026
Merged

Show update prompt in Bluebird channels nav#2820
raquelmsmith merged 2 commits into
mainfrom
posthog-code/update-prompt-bluebird-nav

Conversation

@raquelmsmith

Copy link
Copy Markdown
Member

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 /> in ChannelsSidebar, pinned just above the Settings button — the closest mirror of where Code mode places it in SidebarContent. 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

  • Publish to changelog?
  • Alert Sales and Marketing teams?

Created with PostHog Code

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
@github-actions

github-actions Bot commented Jun 21, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit c3b6ca2.

@greptile-apps

greptile-apps Bot commented Jun 21, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Show update prompt in Bluebird channels ..." | Re-trigger Greptile

@raquelmsmith raquelmsmith marked this pull request as ready for review June 21, 2026 15:14
Comment thread packages/ui/src/features/canvas/components/ChannelsSidebar.tsx Outdated
@raquelmsmith raquelmsmith added the Stamphog This will request an autostamp by stamphog on small changes label Jun 21, 2026

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Trivial additive change rendering an existing UpdateBanner component in the channels sidebar. No business logic, no API contracts, no risk.

@raquelmsmith raquelmsmith merged commit 819b175 into main Jun 21, 2026
26 checks passed
@raquelmsmith raquelmsmith deleted the posthog-code/update-prompt-bluebird-nav branch June 21, 2026 15:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Stamphog This will request an autostamp by stamphog on small changes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant