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
commit ba746e36d8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
13 changed files with 377 additions and 267 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"
}