Skip to content

refactor(mobile): reuse inbox transport#3634

Open
richardsolomou wants to merge 2 commits into
posthog-code/share-repository-integration-semanticsfrom
posthog-code/share-mobile-inbox-transport
Open

refactor(mobile): reuse inbox transport#3634
richardsolomou wants to merge 2 commits into
posthog-code/share-repository-integration-semanticsfrom
posthog-code/share-mobile-inbox-transport

Conversation

@richardsolomou

@richardsolomou richardsolomou commented Jul 21, 2026

Copy link
Copy Markdown
Member

Problem

Mobile maintained a separate 340-line HTTP implementation for inbox reports, artefacts, reviewers, signals, diffs, and state transitions.

Depends on #3633
Refs #2416

Changes

I switched the mobile inbox hooks to the existing PostHogAPIClient methods and reused core’s existing repository artefact selector. The remaining mobile api.ts function only composes those shared pieces.

How did you test this?

  • Ran 2,562 core tests and the core typecheck.
  • Ran the API client tests and 413 mobile tests.
  • Ran desktop and web typechecks, 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 408b0a2.

@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 9fa5d73 to d33f9fc Compare July 23, 2026 13:04
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from fcec203 to 407d084 Compare July 23, 2026 13:06
@richardsolomou richardsolomou changed the title refactor(mobile): reuse shared inbox transport refactor(mobile): reuse inbox transport Jul 23, 2026
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from d33f9fc to 34b58d2 Compare July 23, 2026 13:36
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 407d084 to e340cac Compare July 23, 2026 13:36
@greptile-apps

greptile-apps Bot commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Reviews (1): Last reviewed commit: "Merge posthog-code/share-repository-inte..." | Re-trigger Greptile

@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from dab3bbc to 29378f7 Compare July 23, 2026 16:34
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from 2c40bfe to a7ef739 Compare July 23, 2026 17:28
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 29378f7 to 9d2bd25 Compare July 23, 2026 17:28
richardsolomou and others added 2 commits July 23, 2026 21:47
Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
Generated-By: PostHog Code
Task-Id: c1bbe3cf-742b-4b24-bf96-d11a18b4cf22
@richardsolomou
richardsolomou force-pushed the posthog-code/share-repository-integration-semantics branch from a7ef739 to ac5fe9a Compare July 23, 2026 18:55
@richardsolomou
richardsolomou force-pushed the posthog-code/share-mobile-inbox-transport branch from 9d2bd25 to 408b0a2 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