Android: polish workspace file navigation#104873
Conversation
|
Codex review: needs maintainer review before merge. Reviewed July 11, 2026, 11:54 PM ET / July 12, 2026, 03:54 UTC. Summary PR surface: Other +54. Total +54 across 3 files. Reproducibility: not applicable. This PR adds a small Android navigation affordance rather than repairing a defined broken behavior contract. The earlier branch race is source-reproducible from the first reviewed head and demonstrably repaired on the current head. Review metrics: none identified. Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Risk before merge
Maintainer options:
Next step before merge
Security Review detailsBest possible solution: Merge the focused screen-local improvement after the remaining exact-head build gate succeeds, retaining the common in-flight guard and the existing Gateway, navigation, preview, sharing, and pagination ownership. Do we have a high-confidence way to reproduce the issue? Not applicable; this PR adds a small Android navigation affordance rather than repairing a defined broken behavior contract. The earlier branch race is source-reproducible from the first reviewed head and demonstrably repaired on the current head. Is this the best way to solve the issue? Yes. Extending the established screen and canonical listing request is the narrowest maintainable approach, and the common in-flight guard protects the refresh/pagination invariant without duplicating behavior. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 630a8c256e01. Label changesLabel changes:
Label justifications:
Evidence reviewedPR surface: Other +54. Total +54 across 3 files. View PR surface stats
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
* fix(android): polish workspace file navigation * fix(android): serialize workspace file requests --------- Co-authored-by: IWhatsskill <[email protected]> Co-authored-by: Colin Johnson <[email protected]>
[AI-assisted]
What Problem This Solves
Workspace browsing loses context inside nested folders: the header only shows the leaf folder name, and users cannot refresh a listing without navigating away and back.
Why This Change Was Made
The Android Files screen now shows the relative workspace path below the folder title and adds a refresh action that reuses the existing listing request and loading state. Refresh and pagination share one in-flight guard, so they cannot launch concurrently or publish directory results out of order. Error handling, previews, sharing, Gateway APIs, and transport behavior remain unchanged. The native i18n inventory is synchronized for the accessibility label.
User Impact
Nested workspace navigation is easier to understand at a glance, changed files can be refreshed in place with one tap, and refresh cannot race pagination into stale, duplicated, or skipped rows.
Evidence
Focused Android validation passed after the review repair and current-main merge:
WorkspaceFilesTest, including request-in-flight regression coveragepnpm native:i18n:checkpnpm android:i18n:checkgit diff --checkThe visible behavior was tested on a lane-a Android emulator against an isolated, paired OpenClaw Gateway. The online gate showed Gateway online, Nodes
1/1, Approvals0, and no pending device or node requests. The concurrency repair does not change the demonstrated layout or interaction.After — navigate nested folders and refresh the current listing:
after-workspace-files-navigation-refresh-20260712-v1.mp4