T19 round 1 fixes

- merges keep each line's ending and the last newline; resolve keeps every other byte
- the split view numbers each side from its own file
- hunk headers come from similar's UnifiedHunkHeader: an empty side starts before its range
- the commit subject counter sits in the input's suffix
- clipped code rows in diffs, merges, blame and review set their line height
- gallery: scripted split view and a long subject
This commit is contained in:
ZacharyZhang-NY committed 2026-09-26 02:19:11 -04:00
1 parent d083e87493
commit 3abcd5cc87
11 files changed
+173 -73

No files matched your search

+14 -1
View File
@@ -16,7 +16,20 @@ pub const PAGE: Page = Page {
script: SCRIPT,
};
const SCRIPT: &[Step] = &[Step::Rest];
const SCRIPT: &[Step] = &[
Step::Rest,
Step::DownAt("git-diff", 800.0, 21.0),
Step::UpAt("git-diff", 800.0, 21.0),
Step::Wait(300),
Step::Shot("split"),
Step::DownAt("git-commit", 40.0, 20.0),
Step::UpAt("git-commit", 40.0, 20.0),
Step::Wait(200),
Step::Key("cmd-a"),
Step::Type("Blend every accent toward white by lift, clamped in gamma"),
Step::Wait(300),
Step::Shot("subject"),
];
fn render(window: &mut Window, cx: &mut App) -> AnyElement {
div()