Walkthrough
Android workspace tabs now use a shared rendering path for split and standard layouts. Layout-specific clearance, safe-area, empty-state, pull-request, header, and navigation behavior remain distinct. A mounted-render test checks that Usage content retains its state as layouts change.
Changes: Android workspace layout
Layer / File(s) Summary Shared workspace rendering
apps/mobile/src/features/workspace/WorkspaceRootScreen.android.tsxSplit and standard layouts use a shared tab renderer. Clearance, safe-area insets, empty states, pull-request content, headers, and navigation vary by layout. Layout-switch persistence test
apps/mobile/src/features/workspace/workspace-tabs-state.test.ts,apps/mobile/vite.config.tsA mounted-render test alternates layout settings and checks that the Usage label and button instance persist. The React test project includes the test. Priority: External image Normal
Estimated code review effort: 2 (Simple) | ~12 minutes
Change: Bug fix
Suggested reviewers:
juliusmarminge
Merge Risk: External image Minimal · up to 0cce9
No actionable merge-blocking issue was identified. Android resize behavior was reported verified on an emulator.
Pre-merge checks: Passed 4
Check name Status Explanation Title check Passed The title clearly and concisely identifies the main change: preserving Android Usage state across workspace layout changes. Description check Passed The description includes the required Problem, Change, Scope and approval, and Verification sections. It explains the regression, implementation, test coverage, verification results, and remaining pla… Linked Issues check Passed Check skipped because no linked issues were found for this pull request. Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request. Full details: Description check
Explanation
The description includes the required Problem, Change, Scope and approval, and Verification sections. It explains the regression, implementation, test coverage, verification results, and remaining platform limits.
Finishing Touches
📝 Generate docstrings
- Commit to this branch
- Create a new PR
🧪 Generate unit tests (beta)
- Commit to this branch
- Create a new PR
- Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Comment @coderabbitai help to get the list of available commands.