T19 Git: diffs unified and split with word marks and folds, three-way merge and conflict resolver, changes list and commit input, commit graph and list, branch selector, branch, tag and stash lists, blame with annotation, file history, pull request card, review thread, diff stat and status badge

This commit is contained in:
ZacharyZhang-NY committed 2026-09-26 01:59:27 -04:00
1 parent e79ab866c3
commit 950f17636c
31 files changed
+4166 -21

No files matched your search

+31
View File
@@ -0,0 +1,31 @@
mod diffs;
mod people;
mod work;
use gpui::{AnyElement, App, IntoElement, ParentElement, Window, div};
use super::Page;
use crate::script::Step;
pub const PAGE: Page = Page {
number: 19,
slug: "git",
title: "Git",
summary: "Diffs and merges, changes and commits, the commit graph, branches, blame and review.",
render,
script: SCRIPT,
};
const SCRIPT: &[Step] = &[Step::Rest];
fn render(window: &mut Window, cx: &mut App) -> AnyElement {
div()
.child(diffs::viewer(window, cx))
.child(diffs::merges(window, cx))
.child(work::changes(window, cx))
.child(work::commits(window, cx))
.child(work::refs(window, cx))
.child(people::blame(window, cx))
.child(people::review(window, cx))
.into_any_element()
}