mirror of
https://github.com/zed-industries/zed.git
synced 2026-05-25 14:44:28 +00:00
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)
48 lines
1.2 KiB
TOML
48 lines
1.2 KiB
TOML
[package]
|
|
name = "git_graph"
|
|
version = "0.1.0"
|
|
edition.workspace = true
|
|
publish.workspace = true
|
|
license = "GPL-3.0-or-later"
|
|
|
|
[lints]
|
|
workspace = true
|
|
|
|
[lib]
|
|
path = "src/git_graph.rs"
|
|
|
|
[features]
|
|
default = []
|
|
test-support = [
|
|
"project/test-support",
|
|
"gpui/test-support",
|
|
]
|
|
|
|
[dependencies]
|
|
anyhow.workspace = true
|
|
collections.workspace = true
|
|
db.workspace = true
|
|
feature_flags.workspace = true
|
|
git.workspace = true
|
|
git_ui.workspace = true
|
|
gpui.workspace = true
|
|
menu.workspace = true
|
|
project.workspace = true
|
|
settings.workspace = true
|
|
smallvec.workspace = true
|
|
theme.workspace = true
|
|
time.workspace = true
|
|
ui.workspace = true
|
|
workspace.workspace = true
|
|
|
|
[dev-dependencies]
|
|
db = { workspace = true, features = ["test-support"] }
|
|
fs = { workspace = true, features = ["test-support"] }
|
|
git = { workspace = true, features = ["test-support"] }
|
|
gpui = { workspace = true, features = ["test-support"] }
|
|
project = { workspace = true, features = ["test-support"] }
|
|
rand.workspace = true
|
|
recent_projects = { workspace = true, features = ["test-support"] }
|
|
serde_json.workspace = true
|
|
settings = { workspace = true, features = ["test-support"] }
|
|
workspace = { workspace = true, features = ["test-support"] }
|