fix(genui): Fix DateTimeInput calendar modal layout#2737
Conversation
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (5)
💤 Files with no reviewable changes (2)
📝 WalkthroughWalkthroughDateTimeInput removes its dialog header (title and close icon), eliminates the ChangesDateTimeInput Header Removal and Compact Layout
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 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 |
a7f55f7 to
f84c48e
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Merging this PR will not alter performance
Comparing Footnotes
|
Summary
getDateTimeDialogTitlehelper.Why
The DateTimeInput modal was visually too tall in the playground phone preview and its header was no longer needed. The previous overlay centering also used
inset, which the Lynx template encoder drops.Validation
pnpm -C packages/genui/a2ui test test/dateTimeInput.test.tspnpm -C packages/genui/a2ui buildpnpm -C packages/genui/a2ui-playground build:lynxNote: the playground build still reports an existing
Modal.cssinsetwarning unrelated to this DateTimeInput change.Summary by CodeRabbit
Documentation
Style
Tests