Skip to content

Remove placeholder Inbox tab from channel canvas#3156

Open
k11kirky wants to merge 1 commit into
mainfrom
posthog-code/remove-channel-inbox-tab
Open

Remove placeholder Inbox tab from channel canvas#3156
k11kirky wants to merge 1 commit into
mainfrom
posthog-code/remove-channel-inbox-tab

Conversation

@k11kirky

@k11kirky k11kirky commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Problem

The channel header in the Channels (project-bluebird) space showed an Inbox tab that only rendered a "coming soon" placeholder. Until the channel inbox actually exists, the tab shouldn't be there.

Why

Requested in #project-bluebird: within a canvas the inbox tab should be removed rather than shipped as a placeholder.

Changes

  • Removed the Inbox tab, the inbox channel-section key, and the placeholder WebsiteChannelInbox component + its /website/$channelId/inbox route (route tree regenerated).
  • Persisted browser tabs that still carry channelSection: "inbox" now restore to the channel home.
  • The channel tab list and tab-restore navigation now derive from CHANNEL_SECTIONS instead of hand-maintained copies of the section→route mapping.
  • Dropped the now-unused channel_inbox/view_inbox analytics values.

The Global Inbox (/code/inbox) is untouched — this only affects the per-channel tab.

How did you test this?

  • pnpm --filter @posthog/shared --filter @posthog/ui typecheck
  • Unit tests: 432 passed in shared, 1232 passed in ui
  • Biome check on touched files

Automatic notifications

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

Created with PostHog Code

Drops the "coming soon" Inbox tab from the channel header, deletes its placeholder component and route, and derives the tab list and tab-restore navigation from CHANNEL_SECTIONS so the section-to-route mapping lives in one place.

Generated-By: PostHog Code
Task-Id: b48d2711-4347-408e-8076-2529f5361812
@trunk-io

trunk-io Bot commented Jul 5, 2026

Copy link
Copy Markdown

Merging to main in this repository is managed by Trunk.

  • To merge this pull request, check the box to the left or comment /trunk merge below.

After your PR is submitted to the merge queue, this comment will be automatically updated with its status. If the PR fails, failure details will also be posted here

@github-actions

github-actions Bot commented Jul 5, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 0d831ca.

@k11kirky k11kirky marked this pull request as ready for review July 5, 2026 22:30
@greptile-apps

greptile-apps Bot commented Jul 5, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Remove placeholder channel Inbox tab fro..." | Re-trigger Greptile

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.

2 participants