fix(tui): empty states, context, and minor improvements to diff viewer (#28878)

This commit is contained in:
James Long
2026-05-22 14:21:22 -04:00
committed by GitHub
parent d5068ba28e
commit ba746e36d8
13 changed files with 380 additions and 270 deletions

View File

@@ -1793,6 +1793,7 @@ export class Vcs extends HeyApiClient {
directory?: string
workspace?: string
mode: "git" | "branch"
context?: number
},
options?: Options<never, ThrowOnError>,
) {
@@ -1804,6 +1805,7 @@ export class Vcs extends HeyApiClient {
{ in: "query", key: "directory" },
{ in: "query", key: "workspace" },
{ in: "query", key: "mode" },
{ in: "query", key: "context" },
],
},
],

View File

@@ -4837,6 +4837,7 @@ export type VcsDiffData = {
directory?: string
workspace?: string
mode: "git" | "branch"
context?: number
}
url: "/vcs/diff"
}