SAAS-20168 Fix Gregorian Date Widget fields losing focus in landscape edit mode - #3901
SAAS-20168 Fix Gregorian Date Widget fields losing focus in landscape edit mode#3901avazirna wants to merge 2 commits into
Conversation
The day and year fields set flagNoExtractUi, which suppressed the IME's extracted editor without stopping it from going fullscreen. In landscape adjustResize leaves the question pane 47px tall, so the fields were unreachable while the keyboard was up.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Advanced Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe Gregorian date widget now uses Priority: ⬇️ Low — Defer this two-attribute Gregorian date widget layout change because it is a narrow landscape keyboard-behavior adjustment with no broader product-impact evidence. Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to Gregorian day and year fields now present the keyboard Done action and allow extracted editing in landscape mode, with no data-handling or runtime code-path changes identified. 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Description checkExplanation The description explains the user-visible defect, technical cause, fix, ticket, and manual testing. It omits the required Automated test coverage section and leaves several Labels and Review confirmations unchecked. Resolution Add an Automated test coverage section that states no automated tests were added and identifies the manual test conditions. Complete the Risk label and reviewer confirmation checkboxes, and clarify whether additional manual QA coverage is required.
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 |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3901 +/- ##
============================================
- Coverage 34.07% 34.06% -0.02%
Complexity 6148 6148
============================================
Files 1022 1022
Lines 60518 60518
Branches 7264 7264
============================================
- Hits 20623 20616 -7
- Misses 37543 37547 +4
- Partials 2352 2355 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
d0e70f3 to
e5954a0
Compare
SAAS-20168
Product Description
In landscape, the
dayandyearfields of the Gregorian Date Widget could not be edited as expected. Tapping either field brought up the keyboard, which left the form a thin strip tall and causing the question pane to collapse to a zero-height state. A zero-sized ancestor strips the focus from its children. As a result, anything entered via the keyboard would not be reflected in the view.Now tapping either field brings up the keyboard's own full-width editor with a
DONEkey — the same behaviour the stock date widget (DateWidget) already has in landscape.Technical Summary
Both fields declared
android:imeOptions="flagNoExtractUi". That flag suppresses the IME's extracted-text editor, but it does not stop the IME entering fullscreen mode. So the IME went fullscreen, drew no editor of its own, and left the app to host the editing whileadjustResizeshrank it to nothing.The fix was to set the
imeOptionsof both fields toIME_ACTION_DONE. This ensures that the extracted editor is triggered correctly.Safety Assurance
Safety story
Labels and Review
🤖 Generated with Claude Code