Skip to content

feat(inbox): remove scale-gated rollout for signals inbox#2533

Merged
k11kirky merged 1 commit into
mainfrom
posthog-code/remove-inbox-scale-gate
Jun 9, 2026
Merged

feat(inbox): remove scale-gated rollout for signals inbox#2533
k11kirky merged 1 commit into
mainfrom
posthog-code/remove-inbox-scale-gate

Conversation

@joshsny

@joshsny joshsny commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Problem

The signals Inbox was gated behind the inbox-gated-due-to-scale feature flag. Orgs flagged in were shown a "we're rolling out self-driving gradually" pane (GatedDueToScalePane) instead of their inbox, and the inbox data wasn't loaded for them. We no longer need this rollout gate — the inbox should be available to everyone.

Changes

Removed the scale gate end to end:

  • InboxView.tsx — dropped the useFeatureFlag(INBOX_GATED_DUE_TO_SCALE_FLAG) branch and the gate-only INBOX_VIEWED tracking effect; now always renders <InboxSignalsTab />.
  • InboxEmptyStates.tsx — deleted the now-unused GatedDueToScalePane component and its dangling imports.
  • constants.ts — removed the INBOX_GATED_DUE_TO_SCALE_FLAG constant.
  • Analytics — removed the gate-only is_gated_due_to_scale property from InboxViewedProperties and the INBOX_INTEREST_REGISTERED event (desktop analytics.ts, InboxSignalsTab.tsx, and the mobile equivalents).

No backend changes are needed in posthog/posthog — that repo never referenced this flag (the flag was configured purely in PostHog). The web Inbox there is gated by a separate product-autonomy flag, which is unrelated to this scale gate and left untouched.

How did you test this?

  • pnpm typecheck in apps/code — 0 errors.
  • biome check on all changed files — clean.
  • vitest run apps/mobile/src/features/inbox/utils.test.ts — 11/11 passing.

Automatic notifications

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

Created with PostHog Code

The inbox was gated behind the `inbox-gated-due-to-scale` feature flag, swapping the inbox for a "rolling out gradually" pane for large-scale orgs. Remove the gate so signals inbox is available to everyone, along with the now-dead GatedDueToScalePane, the flag constant, and the gate-only analytics (is_gated_due_to_scale property and INBOX_INTEREST_REGISTERED event) across the desktop and mobile apps.

Generated-By: PostHog Code
Task-Id: b79c45ea-0fdf-485e-8e13-3698a12bbf99
@github-actions

github-actions Bot commented Jun 8, 2026

Copy link
Copy Markdown

React Doctor found 2 issues in 1 file · 2 warnings.

2 warnings

src/renderer/features/inbox/components/InboxEmptyStates.tsx

Reviewed by React Doctor for commit 3e4fe97.

@greptile-apps

greptile-apps Bot commented Jun 8, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "feat(inbox): remove scale-gated rollout ..." | Re-trigger Greptile

@joshsny joshsny marked this pull request as ready for review June 9, 2026 10:21
@joshsny joshsny requested review from a team June 9, 2026 10:21
@k11kirky k11kirky merged commit dea0a5a into main Jun 9, 2026
20 checks passed
@k11kirky k11kirky deleted the posthog-code/remove-inbox-scale-gate branch June 9, 2026 14:23
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.

4 participants