Skip to content

git_graph: Add basic keyboard navigation - #49051

Merged
Anthony-Eid merged 3 commits into
zed-industries:mainfrom
RemcoSmitsDev:git-graph-keyboard-navigation
Feb 12, 2026
Merged

git_graph: Add basic keyboard navigation#49051
Anthony-Eid merged 3 commits into
zed-industries:mainfrom
RemcoSmitsDev:git-graph-keyboard-navigation

Conversation

@RemcoSmitsDev

@RemcoSmitsDev RemcoSmitsDev commented Feb 12, 2026

Copy link
Copy Markdown
Collaborator

This PR adds basic support for keyboard navigation for the git graph panel.

Back and forward:

Screen.Recording.2026-02-12.at.19.06.56.mov

Scrolling:

Screen.Recording.2026-02-12.at.20.54.09.mov
  • Tests or screenshots needed?
  • Code Reviewed
  • Manual QA
  • Do we need to add keybinds for it, or is falling back to the default keybindings enough?

TODO:

  • Add auto scroll when you select the last visible item

Release Notes:

  • N/A (no release notes since its behind a feature flag)

@cla-bot cla-bot Bot added the cla-signed The user has signed the Contributor License Agreement label Feb 12, 2026
@github-actions github-actions Bot added the community champion Issues filed by our amazing community champions! 🫶 label Feb 12, 2026
@RemcoSmitsDev
RemcoSmitsDev marked this pull request as ready for review February 12, 2026 19:58
@Anthony-Eid

Copy link
Copy Markdown
Contributor

Thank you!

@Anthony-Eid
Anthony-Eid enabled auto-merge (squash) February 12, 2026 20:20
@Anthony-Eid
Anthony-Eid merged commit 45cd961 into zed-industries:main Feb 12, 2026
27 checks passed
@RemcoSmitsDev
RemcoSmitsDev deleted the git-graph-keyboard-navigation branch February 12, 2026 20:39
morgankrey added a commit that referenced this pull request Feb 14, 2026
Updates docs-suggest with release channel awareness:
- Auto-detects PR target branch (main vs release branch)
- PRs to main: batch mode with Preview callouts
- Cherry-picks: immediate mode without callouts

Adds two new scripts:
- docs-suggest-publish: Creates PR from batched suggestions
- docs-strip-preview-callouts: Removes Preview callouts for stable release

Workflow:
1. PRs to main → suggestions batched to docs/.suggestions/pending.md
2. At preview branch cut → run docs-suggest-publish to create docs PR
3. At stable release → run docs-strip-preview-callouts

Preview callout format:
> **Preview:** This feature is available in Zed Preview. It will be
> included in the next Stable release.

Tested on PRs #49064 (Mermaid) and #49051 (Git Graph keyboard nav).

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
morgankrey added a commit that referenced this pull request Feb 14, 2026
Updates docs-suggest with release channel awareness:
- Auto-detects PR target branch (main vs release branch)
- PRs to main: batch mode with Preview callouts
- Cherry-picks: immediate mode without callouts

Adds two new scripts:
- docs-suggest-publish: Creates PR from batched suggestions
- docs-strip-preview-callouts: Removes Preview callouts for stable release

Workflow:
1. PRs to main → suggestions batched to docs/.suggestions/pending.md
2. At preview branch cut → run docs-suggest-publish to create docs PR
3. At stable release → run docs-strip-preview-callouts

Preview callout format:
> **Preview:** This feature is available in Zed Preview. It will be
> included in the next Stable release.

Tested on PRs #49064 (Mermaid) and #49051 (Git Graph keyboard nav).

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
morgankrey added a commit that referenced this pull request Feb 19, 2026
Auto-applied queued documentation suggestions from:
- PR #48908
- PR #48909
- PR #48910
- PR #48912
- PR #48930
- PR #44794
- PR #48763
- PR #45073
- PR #48495
- PR #49374
- PR #49139
- PR #48780
- PR #48619
- PR #48978
- PR #48962
- PR #48988
- PR #47860
- PR #49015
- PR #47095
- PR #47475
- PR #48542
- PR #46766
- PR #47754
- PR #48807
- PR #44506
- PR #49051
- PR #49069
- PR #48842
- PR #48851
- PR #48736
- PR #47673
- PR #49094
- PR #49098
- PR #49622

Generated with script/docs-suggest-publish for human review in draft PR.
morgankrey added a commit that referenced this pull request Feb 25, 2026
Auto-applied queued documentation suggestions from:
- PR #48908
- PR #48909
- PR #48910
- PR #48912
- PR #48930
- PR #44794
- PR #48763
- PR #45073
- PR #48495
- PR #49374
- PR #49139
- PR #48780
- PR #48619
- PR #48978
- PR #48962
- PR #48988
- PR #47860
- PR #49015
- PR #47095
- PR #47475
- PR #48542
- PR #46766
- PR #47754
- PR #48807
- PR #44506
- PR #49051
- PR #49069
- PR #48842
- PR #48851
- PR #48736
- PR #47673
- PR #49094
- PR #49098
- PR #49622
- PR #49554
- PR #49710
- PR #49716
- PR #49732
- PR #49788
- PR #49876
- PR #49902
- PR #49910
- PR #49390
- PR #50027

Generated with script/docs-suggest-publish for human review in draft PR.
morgankrey added a commit that referenced this pull request Feb 25, 2026
Auto-applied documentation from:
- PR #48542: Bedrock extended context window
- PR #46766: LSP adapters in settings schema
- PR #47754: VSCode tasks.json label generation

Skipped (no target file exists):
- PR #49069: panel zoom state persistence

Already documented from prior batches:
- PR #48807, PR #44506, PR #49051, PR #48842, PR #48851, PR #48736
morgankrey added a commit that referenced this pull request Feb 25, 2026
Auto-applied queued documentation suggestions from:
- PR #48908
- PR #48909
- PR #48910
- PR #48912
- PR #48930
- PR #44794
- PR #48763
- PR #45073
- PR #48495
- PR #49374
- PR #49139
- PR #48780
- PR #48619
- PR #48978
- PR #48962
- PR #48988
- PR #47860
- PR #49015
- PR #47095
- PR #47475
- PR #48542
- PR #46766
- PR #47754
- PR #48807
- PR #44506
- PR #49051
- PR #49069
- PR #48842
- PR #48851
- PR #48736
- PR #47673
- PR #49094
- PR #49098
- PR #49622
- PR #49554
- PR #49710
- PR #49716
- PR #49732
- PR #49788
- PR #49876
- PR #49902
- PR #49910
- PR #49390
- PR #50027

Generated with script/docs-suggest-publish for human review in draft PR.
morgankrey added a commit that referenced this pull request Feb 25, 2026
Auto-applied documentation from:
- PR #48542: Bedrock extended context window
- PR #46766: LSP adapters in settings schema
- PR #47754: VSCode tasks.json label generation

Skipped (no target file exists):
- PR #49069: panel zoom state persistence

Already documented from prior batches:
- PR #48807, PR #44506, PR #49051, PR #48842, PR #48851, PR #48736
jonx pushed a commit to jonx/zed-aros that referenced this pull request Jul 17, 2026
This PR adds basic support for keyboard navigation for the git graph
panel.

**Back and forward**:


https://github.com/user-attachments/assets/5015b0d9-bf83-4944-8c9b-1c5b9badfdb4

**Scrolling**:


https://github.com/user-attachments/assets/451badb5-59df-48a2-aa73-be5188d28dae

- [x] Tests or screenshots needed?
- [x] Code Reviewed
- [x] Manual QA
- Do we need to add keybinds for it, or is falling back to the default
keybindings enough?
 
 **TODO**:
 - [x] Add auto scroll when you select the last visible item

Release Notes:

- N/A (no release notes since its behind a feature flag)
jolutz pushed a commit to jolutz/zed that referenced this pull request Aug 8, 2026
This PR adds basic support for keyboard navigation for the git graph
panel.

**Back and forward**:


https://github.com/user-attachments/assets/5015b0d9-bf83-4944-8c9b-1c5b9badfdb4

**Scrolling**:


https://github.com/user-attachments/assets/451badb5-59df-48a2-aa73-be5188d28dae

- [x] Tests or screenshots needed?
- [x] Code Reviewed
- [x] Manual QA
- Do we need to add keybinds for it, or is falling back to the default
keybindings enough?
 
 **TODO**:
 - [x] Add auto scroll when you select the last visible item

Release Notes:

- N/A (no release notes since its behind a feature flag)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla-signed The user has signed the Contributor License Agreement community champion Issues filed by our amazing community champions! 🫶

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants