Skip to content

refactor(mobile): reuse inbox semantics#3641

Open
richardsolomou wants to merge 5 commits into
posthog-code/share-session-presentation-semanticsfrom
posthog-code/share-inbox-automation-presentation
Open

refactor(mobile): reuse inbox semantics#3641
richardsolomou wants to merge 5 commits into
posthog-code/share-session-presentation-semanticsfrom
posthog-code/share-inbox-automation-presentation

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Mobile duplicated inbox-view analytics and report membership decisions already used by UI. Desktop and mobile analytics inputs have different valid shapes, so one optional-field contract could silently emit incorrect desktop counts.

Depends on #3640
Refs #2416

Changes

I switched mobile inbox consumers to the existing core engagement and membership policies. The analytics boundary uses discriminated desktop and mobile inputs, with desktop tab counts required and mobile defaults kept explicit. Platform-specific presentation remains in mobile.

How did you test this?

  • Ran the full core and mobile suites.
  • Ran the monorepo typecheck.
  • Ran repo-wide Biome and the host-boundary check.

Automatic notifications

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

Created with PostHog Code

@github-actions

github-actions Bot commented Jul 21, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 4a5f3c4.

@richardsolomou
richardsolomou marked this pull request as ready for review July 23, 2026 15:48
@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "fix(core): require desktop inbox tab cou..." | Re-trigger Greptile

@richardsolomou
richardsolomou force-pushed the posthog-code/share-inbox-automation-presentation branch from b409081 to 82384e6 Compare July 23, 2026 16:34
@richardsolomou
richardsolomou force-pushed the posthog-code/share-session-presentation-semantics branch 2 times, most recently from 9563ac8 to 9bc670c Compare July 23, 2026 17:28
@richardsolomou
richardsolomou force-pushed the posthog-code/share-inbox-automation-presentation branch from 82384e6 to 637acc8 Compare July 23, 2026 17:28
richardsolomou and others added 5 commits July 23, 2026 21:51
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-inbox-automation-presentation branch from 637acc8 to 4a5f3c4 Compare July 23, 2026 18:55
@richardsolomou
richardsolomou force-pushed the posthog-code/share-session-presentation-semantics branch from 9bc670c to 6638011 Compare July 23, 2026 18:55
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.

1 participant