Skip to content

refactor(mobile): finalize portability boundary#3642

Open
richardsolomou wants to merge 6 commits into
posthog-code/share-inbox-automation-presentationfrom
posthog-code/finalize-mobile-portability-boundary
Open

refactor(mobile): finalize portability boundary#3642
richardsolomou wants to merge 6 commits into
posthog-code/share-inbox-automation-presentationfrom
posthog-code/finalize-mobile-portability-boundary

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Mobile still duplicates canonical MCP, skill, and inbox contracts, and some shared behavior is interpreted differently from desktop. The shared packages also need to run against Expo's React Native renderer and fetch implementation.

Changes

I switched mobile to the API-client and core contracts already used by desktop, sharing only inbox labels and attribution consumed by both renderers. Mobile-specific MCP, diff, and native UI presentation stays in mobile. I also aligned React with the renderer embedded by React Native 0.81 and normalized URL inputs at the Expo fetch boundary.

How did you test this?

  • Full monorepo typecheck from the commit hook
  • Core suite: 2,578 tests
  • API-client suite: 129 tests
  • Mobile suite: 405 tests
  • UI and web typechecks
  • Biome on changed core and mobile files
  • Host-boundary check
  • Signed iOS simulator build on Xcode 26.6
  • Dev PHX authentication against project 2, including live task-list and task-stream loading

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 498fc78.

@richardsolomou richardsolomou changed the title refactor(mobile): finalize portability boundary refactor(mobile): finalize portability and activity semantics Jul 21, 2026
@richardsolomou
richardsolomou force-pushed the posthog-code/share-inbox-automation-presentation branch from 60ed26d to a7d966c Compare July 23, 2026 13:15
@richardsolomou
richardsolomou force-pushed the posthog-code/finalize-mobile-portability-boundary branch from e917fbd to 0f867aa Compare July 23, 2026 13:19
@richardsolomou richardsolomou changed the title refactor(mobile): finalize portability and activity semantics refactor(mobile): finalize portability boundary Jul 23, 2026
@richardsolomou
richardsolomou force-pushed the posthog-code/share-inbox-automation-presentation branch from d966683 to c326729 Compare July 23, 2026 13:43
@richardsolomou
richardsolomou force-pushed the posthog-code/finalize-mobile-portability-boundary branch from 0f867aa to c01f356 Compare July 23, 2026 13:44
@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: "Merge posthog-code/share-inbox-automatio..." | 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/finalize-mobile-portability-boundary branch 2 times, most recently from ff81e50 to c630011 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 4 commits July 23, 2026 21:51
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code
Task-Id: 11daf8d3-7830-436a-ab8f-99123586070d
Generated-By: PostHog Code
Task-Id: 11daf8d3-7830-436a-ab8f-99123586070d
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/finalize-mobile-portability-boundary branch from c630011 to 498fc78 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