Skip to content

Mobile presentation refactoring in preparation for other form factors - #48

Open
pflammertsma wants to merge 1 commit into
android:mainfrom
pflammertsma:pr/mobile-presentation-refactor
Open

pflammertsma wants to merge 1 commit into
android:mainfrom
pflammertsma:pr/mobile-presentation-refactor

Conversation

@pflammertsma

Copy link
Copy Markdown
Member

This PR modularizes the existing mobile screen implementations into dedicated layout composables (ui/mobile/) and introduces compile-time layout contracts for top-level screens. This establishes the architectural foundation required to support additional device form factors (such as Android TV) without bloating top-level screen routers.

Key Changes

  • Layout Decoupling: Moves UI declarations into dedicated mobile layout composables (MobileAgentDemoContent, MobileDebuggingContent, MobileSettingsContent, MobileConnectedAppsContent), using layout contracts for specific screens.
  • Debug Mode Toggle: Adds a debug mode toggle to control the display of AppFunction invocation details.
  • Troubleshooting Diagnostics: Improves troubleshooting information and compatibility guidance for unsupported apps or environments.
@pflammertsma
pflammertsma requested a review from a team as a code owner July 31, 2026 15:20
@pflammertsma

Copy link
Copy Markdown
Member Author

Please review #47 first as this PR includes the same commits.

@pflammertsma
pflammertsma force-pushed the pr/mobile-presentation-refactor branch 4 times, most recently from ec13895 to bbc99b8 Compare July 31, 2026 21:10
- Extract mobile screen composables into ui/mobile/ (MobileAgentDemoContent, MobileDebuggingContent, MobileSettingsContent, MobileConnectedAppsContent).
- Update top-level screen files (AgentDemoScreen, DebuggingScreen, SettingsScreen, ConnectedAppsScreen) to delegate UI rendering to ScreenLayoutFactory.
- Zero visual changes (100% parity with existing mobile UX).
@pflammertsma
pflammertsma force-pushed the pr/mobile-presentation-refactor branch from bbc99b8 to e68fd35 Compare October 13, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant