Repository navigation
Use a floating action button for new workspace on mobile - #6710
Conversation
Co-authored-by: Orca <help@stably.ai>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (3)
📝 WalkthroughWalkthroughA new 🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✨ Finishing Touches📝 Generate docstrings
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Co-authored-by: Orca <help@stably.ai>
Summary
Replaces the small toolbar "+" button on the mobile host (worktree list) screen with a phone-only floating action button (FAB) for creating a new workspace.
NewWorkspaceFabcomponent: absolutely-positioned circular "+" button, bottom-right, lifted above the home indicator via safe-area insets. Monochrome crisp near-white surface with a dark icon so it reads as the primary action against the dark canvas.mobile/app/h/[hostId]/index.tsx: removes the old toolbar "+" (phone), renders the FAB when!embedded, and reserves matching bottom padding on the list so the last row stays tappable above the FAB. Embedded sidebars keep their toolbar "+".mobile/src/theme/mobile-theme.ts: addssurfaceBrighttoken for the FAB surface.Notes
hitSlop.disabledstate wired to connection state.newButtonstyle left over from the old toolbar button.🤖 Generated with Claude Code
Made with Orca 🐋