Skip to content

refactor(mobile): share composer control semantics#3637

Draft
richardsolomou wants to merge 1 commit into
posthog-code/share-mobile-mcp-skill-transportfrom
posthog-code/share-composer-control-semantics
Draft

refactor(mobile): share composer control semantics#3637
richardsolomou wants to merge 1 commit into
posthog-code/share-mobile-mcp-skill-transportfrom
posthog-code/share-composer-control-semantics

Conversation

@richardsolomou

Copy link
Copy Markdown
Member

Problem

Desktop and mobile interpret cloud composer model options, restricted selections, reasoning compatibility, and primary actions through separate code paths. This allows the same task configuration to behave differently across hosts.

Changes

Move model-option presentation, restricted-model fallback, reasoning compatibility, labels, and send/stop/microphone action selection into portable core helpers. Adopt those helpers in desktop and mobile immediately, and remove the mobile-only options module.

How did you test this?

  • Focused core composer tests
  • Focused mobile config tests
  • Core and UI typechecks
  • Biome on changed files
  • Host-boundary check

Automatic notifications

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

Created with PostHog Code

Generated-By: PostHog Code
Task-Id: 40c57a59-b4e1-4760-8e56-ecd03e9c2f0f
@github-actions

Copy link
Copy Markdown

React Doctor found 10 issues in 2 files · 10 warnings.

10 warnings

src/app/task/index.tsx

src/features/tasks/composer/TaskChatComposer.tsx

Reviewed by React Doctor for commit 2f7181a.

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