fix(ui): remove redundant file-preview Escape hint#100528
Merged
Merged
Conversation
Co-authored-by: 咸士山 0668001391 <[email protected]>
Contributor
Author
|
Land-ready maintainer pass complete on Verification:
No known proof gaps for the touched file-preview surface. |
Contributor
Author
|
Merged via squash.
|
This was referenced Jul 6, 2026
github-actions Bot
pushed a commit
to Desicool/openclaw
that referenced
this pull request
Jul 6, 2026
Co-authored-by: 咸士山 0668001391 <[email protected]>
giodl73-repo
pushed a commit
to giodl73-repo/openclaw
that referenced
this pull request
Jul 8, 2026
Co-authored-by: 咸士山 0668001391 <[email protected]>
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
The Control UI file preview modal displayed the Escape shortcut twice: once beside the file-count header and again on the Close button.
Fixes #99027. Supersedes #99029 after its contributor fork could not retain clean rebased ancestry; contributor credit is preserved through co-authorship and the maintainer release-note batch.
Why This Change Was Made
The header-only badge and its orphaned style are removed. The Close button remains the single visible shortcut hint beside the action it documents, and the existing document-level Escape handler remains unchanged. A focused regression test asserts that only the Close button contains the hint.
User Impact
File previews show one clear Escape shortcut hint without changing keyboard behavior.
Evidence
tbx_01kwtdcpm4pefrxn940m0gy2mf: 5 focused file-preview component tests passed.pnpm check:changedpassed.escbadges, Close button textClose esc, and Escape close behavior retained.git diff --checkpassed.One focused maintainer commit; original contributor preserved with
Co-authored-by: 咸士山 0668001391 <[email protected]>.AI-assisted: Yes (Codex).