Skip to content

File tree: Escape focus, rename tooltip, focus after switching lists - #3663

Merged
backnotprop merged 3 commits into
mainfrom
fix/tree-after-release
Nov 18, 2026
Merged

backnotprop merged 3 commits into
mainfrom
fix/tree-after-release

Conversation

@backnotprop

Copy link
Copy Markdown
Owner

Three small file-tree fixes from the hands-on checks before 0.29.0, one commit each.

  • Escape in the tree's search box. Escape on an already empty box moved focus to the page body; in the review window the next ArrowDown then went to the next file. It now moves focus to the tree's current row. The change is in the shared search hook, so both review trees and the Inbox PR page's file list get it.
  • Renamed file tooltip. The row tooltip said only "Renamed from old". It now reads old → new, the same wording as the file's header.
  • Changes / All files switch on the Inbox PR page. Picking a list rebuilds the switch, which dropped focus to the page body. Focus now lands on the new switch's button for the list just picked. Only when focus was inside the rail and was lost.

Tests: one per fix, each failing first (the tooltip one updates the existing test). Local: typecheck clean; ChangesTreeView 21/21, pullAllFiles 6/6, four neighbouring files pass. No build or browser run.

Seen, not fixed: in the review window at phone width, tapping a file row also drops focus to the page body.

@backnotprop backnotprop added ci:e2e Run the full browser suite (Inbox window e2e) on this PR and removed ci:e2e Run the full browser suite (Inbox window e2e) on this PR labels Nov 18, 2026
@backnotprop
backnotprop merged commit 691475b into main Nov 18, 2026
59 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant