feat: Add project file tree viewer to Git page

Add Files tab with browsable project structure and file content viewer.
New components: ProjectTree for navigation, FileViewer for content display.
Backend endpoints: /api/git/tree and /api/git/file.
This commit is contained in:
2026-02-14 10:51:17 -06:00
parent a856fefd98
commit 6167dfa440
8 changed files with 968 additions and 7 deletions

View File

@@ -68,3 +68,18 @@ export interface CompareResult {
deletions: number
}
}
export interface TreeNode {
name: string
path: string
type: 'file' | 'directory'
children?: TreeNode[]
}
export interface FileContent {
path: string
isBinary: boolean
content: string | null
size: number
extension?: string
}