Repository navigation
fix(android): make offline chat actionable - #94566
Conversation
|
Thanks for the contribution. ClawSweeper proposes closing this for now: the implementation may be reasonable, but passing review and proof does not establish that OpenClaw should add this product surface. Close as unconfirmed product direction: the patch is focused and proof-backed, but it adds a new Android Chat recovery surface without a linked issue, maintainer request, or maintainer-confirmed product direction. This is a proposal only until the separate default-off apply policy is enabled and all live maintainer-signal checks pass. A maintainer can sponsor the direction, request a narrower version, or apply Review detailsBest possible solution: Close this branch for now; an Android owner can sponsor or reopen a narrower Chat recovery direction if they want this product surface in core. Do we have a high-confidence way to reproduce the issue? Not applicable as a bug reproduction: this PR proposes a new Android Chat recovery affordance. Current-main source and before/after emulator screenshots establish the baseline and changed behavior. Is this the best way to solve the issue? No for conservative cleanup: the implementation is a plausible focused solution, but adding a new Chat recovery surface should wait for maintainer sponsorship or a narrower approved direction. Security review: Security review cleared: Security review cleared: the diff is limited to Android Compose UI, app-side diagnostics helper logic, and unit tests, with no dependency, workflow, permission, secret, package, or host-command change. AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against a1828110704f. |
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
@obviyus could you advise whether this offline Chat recovery UX is something you want in core? ClawSweeper did not find a concrete patch defect and marked the proof sufficient, but flagged that the product direction needs maintainer sponsorship. Happy to narrow this if you prefer a smaller surface. |
|
Prepared and validated on exact head What changed during maintainer preparation:
Local proof: All passed. After the final clean rebase, exact-head CI passed 48/48 jobs: https://github.com/openclaw/openclaw/actions/runs/28575663612. An earlier run's sole first-attempt failure was an unrelated 120-second timeout in Emulator before/after proof and the Gateway Settings navigation result are attached here: #94566 (comment). Known proof boundary: clipboard content is covered by focused unit tests rather than emulator shell readback. Thanks @Tosko4 for identifying and implementing the recovery UX. |
|
Merged via squash.
|
|
🦞👀 Reason: structured ClawSweeper close marker: close-required (sha=9745afc1f52d08c82e1ad514bf30abc9e2a8be50) Usage: |
* fix(android): make offline chat actionable * fix(android): use structured offline recovery state * chore(i18n): sync native string inventory --------- Co-authored-by: Peter Steinberger <[email protected]>
* fix(android): make offline chat actionable * fix(android): use structured offline recovery state * chore(i18n): sync native string inventory --------- Co-authored-by: Peter Steinberger <[email protected]>


What Problem This Solves
Android Chat disabled its composer while the Gateway was offline, but the screen offered no direct recovery action. Users had to leave Chat and discover Gateway Settings themselves.
Why This Change Was Made
This adds one shared offline recovery panel below the conversation.
Fix connectionopens the existing Gateway Settings surface, andCopy diagnosticscopies the current structured Gateway problem/status. The implementation consumesGatewayConnectionProblemdirectly instead of reclassifying freeform status text, so Android has one owner for connection diagnosis and one recovery path for empty and existing conversations.User Impact
Disconnected Chat is no longer a dead end. Users can open the canonical connection settings or copy concise diagnostics from the blocked composer state. Connected Gateway/chat-health bootstrap behavior is unchanged.
Evidence
Prepared against current
mainat71ccc9a487d8778ab015ced2789350e7dc2015fa.Fix connectionandCopy diagnostics.Emulator interaction proof: tapping
Fix connectionopened Gateway Settings.Commands run:
Results: focused Android tests, formatting, Play debug assembly, native i18n inventory, diff validation, and fresh autoreview passed. Exact-head GitHub CI passed 48/48 jobs: https://github.com/openclaw/openclaw/actions/runs/28575663612.
Known proof boundary: emulator proof covers the recovery panel and settings navigation. Clipboard contents are covered by focused unit tests rather than shell readback.