Repository navigation
fix(chat): keep the composer's status line to one row on a phone - #312
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: devswha/herdr-web-ui/.coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (5)
🚧 Files skipped from review as they are similar to previous changes (2)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 6 remain after this review. 📝 SummarySummary by CodeRabbit
WalkthroughThe background-task toggle and composer status layout now use compact displays on narrow screens. Browser QA checks that the composer status content remains within its row. ChangesCompact narrow-screen status layout
Priority: ➖ Normal Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to No concrete regression is identified in the supplied review context, and the reported checks cover the narrow-screen presentation. The PR appears ready for normal merge checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
…ask chip, and measure the real items in the chat QA
d30ea0d to
924ab25
Compare
Stacked on #310 (same component file); it retargets to main once that merges.
What was wrong
On a phone the status line above the message box wrapped. An OmO pane with background tasks, a model name and a reasoning level took two rows, three with the context text open, and that room came out of the conversation.
Measured on current main in headless Chrome, real app on a pane of the isolated test herdr session, 5 widths (320, 360, 390, 412, 430) x 4 languages (en, ko, ja, zh) x 4 states: 50 of 80 had more than one row.
Change
.composer-statusno longer wraps.display: contentson their wrapper), so the level cannot overlap what follows it.Checks
bun run typecheck,bun run build,omoTasks/i18n/motionunit tests (21) pass.