Make the app manager usable in landscape - #3896
Conversation
4ca13a3 to
01f15c6
Compare
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (3)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe app manager now places its banner, instructions, and install button in a ListView header. These elements scroll with the app list instead of occupying fixed layout space. Estimated code review effort: 3 (Moderate) | ~20 minutes Merge Risk: ⚪ Minimal · up to The app manager header now scrolls with the app list in landscape while app selections continue to target the correct app. The change is ready to merge. Sequence Diagram(s)sequenceDiagram
participant AppManagerActivity
participant apps_list_view
participant SingleAppManagerActivity
AppManagerActivity->>apps_list_view: Add app_manager_header
apps_list_view->>AppManagerActivity: Report clicked position
AppManagerActivity->>AppManagerActivity: Subtract header count
AppManagerActivity->>SingleAppManagerActivity: Open selected app
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 2 functions across 1 files. (2 skipped: 2 unsupported.) Full details: Description checkExplanation The description covers the user impact, technical rationale, safety story, and manual test scenarios. It is mostly complete, but it omits the required Automated test coverage section, leaves the ticket link as TODO, and leaves review checklist items unchecked.
✨ Finishing Touches 💡 1📝 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 |
01f15c6 to
4ca13a3
Compare
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #3896 +/- ##
============================================
+ Coverage 33.73% 33.76% +0.02%
- Complexity 6015 6017 +2
============================================
Files 1008 1008
Lines 59806 59812 +6
Branches 7151 7151
============================================
+ Hits 20175 20193 +18
+ Misses 37333 37318 -15
- Partials 2298 2301 +3 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Product Description
This PR fixes an issue with landscape mode on the App Manager in which is would show no apps list at all, and the Install button would be clipped by the bottom edge of the screen. Both are fixed: the full list is reachable in either orientation, and the logo keeps its full-width and consistent with other screens.
Technical Summary
ListViewwas alsowrap_content, so it measured to its content height and was clipped by theparent rather than scrolling inside a viewport.
app_manager_header.xmland are attached withaddHeaderView, so they scroll away with the list instead of standing over it. TheListViewnowfills everything below the toolbar.
Safety Assurance
Safety story
Labels and Review
🤖 Generated with Claude Code