Skip to content

Commit 2485923

Browse files
claudesinelaw
authored andcommitted
docs: dashboard keyboard nav, explorer buffer-follow, review PR default branch
Eleven more commits landed on master since last rebase. User-visible additions worth surfacing: - features/dashboard.md: keyboard navigation (Tab/Down/j, Shift+Tab/ Up/k, Enter) for clickable rows. - features/file-explorer.md: buffers follow file/directory moves, delete closes the buffer, cancel a pending cut with Escape or a same-dir paste. - CHANGELOG: bullets for the above plus explorer poll fixes (no folder collapse, cursor reset only when path is gone), Review PR Branch default-branch detection via origin/HEAD, and PageUp/PageDown in review-branch mode. Skipped: pure-test refactors and the top-level CONTRIBUTING.md edits. https://claude.ai/code/session_01BryXehUaPx1534gN9jF8YH
1 parent 07df898 commit 2485923

3 files changed

Lines changed: 12 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,9 @@
1414

1515
* **Hot-exit restore split from session restore**: `editor.restore_previous_session` config and the `--no-restore` / `--restore` CLI flags now control workspace/tab restoration separately from hot-exit content — unsaved scratch buffers come back even when you opt out of full session restore (#1404).
1616

17-
* **File explorer — cut/copy/paste + multi-selection**: `Ctrl+C` / `Ctrl+X` / `Ctrl+V` in the explorer with same-dir auto-rename, per-file conflict prompt on cross-dir paste, and `Shift+Up/Down` multi-select. Cut-pending items are dimmed until pasted.
17+
* **File explorer — cut/copy/paste + multi-selection**: `Ctrl+C` / `Ctrl+X` / `Ctrl+V` in the explorer with same-dir auto-rename, per-file conflict prompt on cross-dir paste, and `Shift+Up/Down` multi-select. Cut-pending items are dimmed until pasted; cancel a pending cut with Escape or by pasting back into the same directory. Renaming a file or directory relocates any open buffers inside it; deleting a file closes its buffer.
18+
19+
* **Dashboard — keyboard navigation**: `Tab` / `Down` / `j` steps forward through clickable rows (PR numbers, repo URL, review-branch action, …), `Shift+Tab` / `Up` / `k` steps back, `Enter` activates the focused row. Mouse clicks continue to work.
1820

1921
* **File explorer — keyboard preview**: Moving the cursor with Up/Down in the explorer previews the highlighted file in a preview tab (#1570), so you can scan files without leaving the keyboard.
2022

@@ -92,6 +94,12 @@
9294

9395
* **Focus — tab clicks reset explorer context** (#1540): Clicking a tab or buffer no longer leaves the FileExplorer key context active.
9496

97+
* **File explorer poll fixes**: Background refresh no longer collapses folders you've expanded, and resets the cursor to the root only when the selected path is genuinely gone.
98+
99+
* **Review PR Branch — default-branch detection**: The prompt now pre-fills the repo's actual default branch (via `origin/HEAD`) instead of hard-coding `main`.
100+
101+
* **Review: PageUp/PageDown**: Paging in review-branch mode now scrolls the commit list instead of moving the cursor by one row.
102+
95103
### Under the Hood
96104

97105
* **Authority abstraction**: Filesystem, process-spawning, and LSP routing are now consolidated behind a single `Authority` slot, with plugin ops (`editor.setAuthority` / `clearAuthority` / `spawnHostProcess`) for plugins that want to target the host even while attached elsewhere. This is what makes the devcontainer and `ssh://` flows work uniformly.

docs/features/dashboard.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ The dashboard is off by default. Turn it on from the Settings UI (**Open Setting
2222
- Weather and GitHub widgets need network access; if either is unreachable, the section is quietly hidden rather than blocking the rest of the dashboard.
2323
- `git` must be on `PATH` for the git and "vs master" rows to populate.
2424
- The GitHub section shows open PRs for the *current repo* (detected from the `origin` remote). Outside a GitHub clone, it renders a short explanatory message instead.
25+
- **Keyboard navigation**`Tab` / `Down` / `j` step to the next clickable row, `Shift+Tab` / `Up` / `k` step back, `Enter` activates. Mouse clicks still work.
2526

2627
## Adding Your Own Sections
2728

docs/features/file-explorer.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,9 @@ Preview tabs are enabled by default. Turn them off in the Settings UI if you pre
1818
## Cut / Copy / Paste and Multi-Selection
1919

2020
- **`Ctrl+C` / `Ctrl+X` / `Ctrl+V`** — copy, cut, or paste the selection. Same-directory copy auto-appends ` copy` / ` copy 2` etc. Same-directory cut is a no-op. Paste into a different directory with a name conflict prompts per-file: (o)verwrite, (O) all, (s)kip, (S) all, (c)ancel.
21-
- **Cut-pending** items are visually dimmed until the paste finishes or is cancelled.
21+
- **Cut-pending** items are visually dimmed. Cancel a pending cut with Escape or by pasting back into the same directory.
2222
- **`Shift+Up` / `Shift+Down`** extend a multi-select range from the current anchor; all clipboard operations (and delete) act on the whole selection.
23+
- **Buffers follow files** — renaming or moving a file (via cut+paste) relocates any open buffers pointing at it; deleting a file closes its buffer. Renaming a directory relocates buffers for every file inside it.
2324

2425
## Width
2526

0 commit comments

Comments
 (0)