Repository navigation
fix(wework): default composer to two lines - #2732
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan includes up to 4 reviews per rolling hour; 2 remain after this review. 📝 WalkthroughWalkthroughThe desktop composer now starts at two rows with a 12rem minimum height. Compact composers remain single-row inputs. Tests and the Composer specification reflect these sizing rules. ChangesComposer sizing
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This change only adjusts the desktop composer’s default height while preserving compact mode behavior and adds regression coverage; no actionable merge-blocking risk remains. Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
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 |
Summary
Root cause
The desktop project composer explicitly used one row and a 32px minimum height, so it rendered with the same initial density as compact mode.
Validation
pnpm --filter wework test src/components/chat/ChatInput.test.tsx(109 passed)rows=2and 48px heightSummary by CodeRabbit