Repository navigation
fix(ui): preserve Show in Files navigation - #182067
Merged
Merged
Conversation
Keep the explicit reveal folder and All filter when the workspace restores its catalog navigation. Reopen the tree before checking file selection, and explicitly repin after ordinary Unarchive in the operator-scope fixture. Regressions followed d25ac78 (#181903) and 5e2f560 (#181721). The intentional reader collapse and Unarchive pin behavior remain unchanged. Downloads are covered separately by #182056.
Contributor
|
🦞👀 Pull request received. I will update this pull request when review starts. |
steipete
marked this pull request as ready for review
October 24, 2026 00:57
Contributor
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
roboclaw-bot
added a commit
that referenced
this pull request
Oct 24, 2026
Integrate verified origin/main 377c0fc for the named failing UI gate. It contains the reports/download tree-toggle repair (#182056) and folder/file-link fixture repair (#182067). Regenerated and checked all prompt snapshots on the resulting tree; the 47 focused session inventory/Gateway/prefix tests and targeted TypeScript checks pass. The reviewed production repair is unchanged. Co-authored-by: steipete <[email protected]>
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Oct 24, 2026
After ae7ba5f, restoring Files catalog navigation overwrote the folder and filter that Show in Files had just requested. The workspace owner now preserves the requested destination; ordinary catalog restore is unchanged. The operator-scopes e2e now follows fd863c0 (Unarchive leaves pins cleared, then repins explicitly). Together with openclaw#182056 this clears the Control UI e2e reds on main.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What Problem This Solves
Show in Files can request the correct folder, then restore the old Changed filter when selecting Files. This also repairs the stale operator-scope E2E expectation after ordinary Unarchive clears personal pins.
User Impact
Show in Files reveals the selected file's folder with the All filter. Reader tree collapse and ordinary Unarchive's pin behavior stay intentional; no configuration or migration is needed.
Why This Change Was Made
The workspace reveal owner saves its explicit destination before selecting Files restores catalog navigation; the view no longer performs a separate selection afterward. The existing file-link regression retains its request-path, editor identity, alias, selected-row, saved-content, and search assertions, reopening the tree before checking the selected row.
Introducing commits:
d25ac789c15a(#181903) intentionally collapsed reader navigation and retained its catalog snapshot, exposing the reveal overwrite;5e2f560194b1(#181721) intentionally stopped ordinary Unarchive from restoring personal pins. The operator fixture now asserts the session remains unpinned and explicitly repins it before its existing local-persistence assertions.Downloads were reproduced and repaired locally, but #182056 expanded during this investigation to include the identical tree-toggle fix. That overlap was removed from this PR. #182056 remains the correct owner for downloads and directory-race.
Evidence
82b4c0c078b03a34612b0ac95a11224069b3b300: reproduced all three reported failures with the nativetest/vitest/vitest.ui-e2e.config.tsrunner. Download: hiddenlarge.txtrow; file links: expected Filter files: All, saw Changed; SESSION_WRITE: expected one pinned row, received zero. Each CI job log was fetched once: downloads, file links, operator scopes.sourceContentcapture warning inchat-detail-slot-view.tsx. Full check:changed/SQLite inventory omitted under the campaign's local gate budget; PR CI supplies broad proof.Before: Show in Files restores the stale Changed filter.
After: Show in Files retains All and the target folder.