ADFA-3070 | Fix agent chat unscrollable in landscape - #64
Conversation
There was a problem hiding this comment.
Claude Code Review
This repository is configured for manual code reviews. Comment @claude review for a one-time review, or @claude review always to subscribe this PR to a review on every future push.
Tip: disable this comment in your organization's Code Review settings.
Code reviewFound 1 issue:
The KDoc on Suggested fix: in 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
17a4173 to
3d873f6
Compare
d959d7b to
3793da9
Compare
Code reviewFound 1 issue:
The KDoc on But On a compact screen this is reachable on exactly the screen class the PR targets: Recovery is a single tap on the still-visible Reviewed against base 🤖 Generated with Claude Code - If this code review was useful, please react with 👍. Otherwise, react with 👎. |
|
@hal-eisen-adfa Good catch on the mismatch. Keeping the manual path as-is and fixing the doc instead: folding the composer to read streaming output on a short landscape screen is a reasonable thing to want mid-run, and gating the tap would leave a visible button that does nothing. Reworded the KDoc so it only promises what the code does, the run opens the composer and suppresses the idle countdown; an explicit Hide still folds it, with Stop one tap away on the reopen tab. |
3505241 to
3c1b4de
Compare
638fcf8 to
4e1d431
Compare
4e1d431 to
2e66175
Compare
In landscape the composer claimed nearly the whole screen, leaving no room to read the transcript. Auto-hide it as the chat scrolls and give it a reopen tab, folding it only on a screen that still carries that tab so a running agent is never stranded behind a composer that can't be recovered after process death.
2e66175 to
4f97f44
Compare
Description
Fixed an issue where the agent chat is not scrollable on shorter screens, such as in landscape orientation. The previous
LinearLayoutsetup caused theRecyclerViewto be measured at zero height once the UI chrome exceeded the container's height. The layout has been updated to bound the chrome elements and float the composer toggle over the list. Additionally, an auto-hide controller was introduced to fold the composer away on compact screens, ensuring maximum space for the chat history.Details
ComposerAutoHideControllerto manage visibility state and auto-hide countdowns.RecyclerViewaround display cutouts in landscape orientation.Screen_Recording_20260807_093529_Code.on.the.Go.mp4
Ticket
ADFA-3070
Observation
The auto-hide functionality includes explicit safeguards to ensure the composer remains visible if the user is typing, the input is not empty, the agent is actively running, or if touch exploration accessibility services are enabled.