Skip to content

feat(mobile): improve native reading and composer layout - #2851

Merged
wgqqqqq merged 1 commit into
GCWing:mainfrom
wgqqqqq:wgq/native-mobile-ui-readability
Sep 7, 2026
Merged

wgqqqqq merged 1 commit into
GCWing:mainfrom
wgqqqqq:wgq/native-mobile-ui-readability

Conversation

@wgqqqqq

@wgqqqqq wgqqqqq commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator

Problem

Native Android, HarmonyOS, and iOS chat surfaces still used smaller reading text and several controls below the shared 48-unit mobile target. Multiline drafts and long model labels could be clipped, and iOS typography did not follow Dynamic Type.

Changes

  • use shared 16/24 reading typography across native chat and Markdown surfaces
  • make composer controls 48 units and let multiline input and model rows grow without clipping
  • add Dynamic Type scaling to generated iOS typography and enlarge the attachment-removal hit target
  • add narrow-phone, foldable-context, and long-reading preview scenarios across all native galleries
  • keep iOS preview state deterministic so scenario drafts are not overwritten

Validation

  • pnpm run mobile:ui:check
  • node --test src/apps/mobile/design-system/preview/preview-scenarios.smoke.test.mjs
  • pnpm run mobile:architecture
  • Android: ./gradlew :app:assembleDebug :app:testDebugUnitTest
  • HarmonyOS: HAP build and local unit tests
  • iOS: simulator build and ./Testing/run-pure-swift-tests.sh
  • Visual: HarmonyOS compact narrow-multiline; iPhone 16 Pro standard, XXL, and accessibility-medium Dynamic Type

Remote scenarios

No remote protocol or persisted shape changed. The UI was exercised with deterministic native preview state; Remote Workspace, live Remote Control, Peer Device Mode, and Detached Dispatch were not exercised.

@wgqqqqq
wgqqqqq merged commit 6b83466 into GCWing:main Sep 7, 2026
12 checks passed
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