feat: migrate ConflictDetailsDialog to JSON

This commit is contained in:
2026-01-21 05:06:44 +00:00
parent 7923667557
commit 80d8dcbc9a
3 changed files with 45 additions and 3 deletions

View File

@@ -1,10 +1,10 @@
{
"timestamp": "2026-01-21T05:06:08.176Z",
"timestamp": "2026-01-21T05:06:37.965Z",
"issues": [],
"stats": {
"totalJsonFiles": 337,
"totalTsxFiles": 363,
"registryEntries": 402,
"totalTsxFiles": 362,
"registryEntries": 403,
"orphanedJson": 0,
"duplicates": 0,
"obsoleteWrapperRefs": 0

View File

@@ -0,0 +1,35 @@
{
"id": "error-panel-main",
"type": "div",
"className": "h-full flex flex-col bg-background",
"children": [
{
"id": "error-panel-header-wrapper",
"type": "ErrorPanelHeader",
"bindings": {
"props": {
"source": "headerProps",
"transform": "data"
}
}
},
{
"id": "error-panel-content",
"type": "ScrollArea",
"className": "flex-1",
"children": [
{
"id": "error-panel-inner",
"type": "div",
"className": "p-6",
"bindings": {
"children": {
"source": "contentState",
"transform": "data"
}
}
}
]
}
]
}

View File

@@ -0,0 +1,7 @@
import type { ProjectFile } from '@/types/project'
export interface ErrorPanelMainProps {
files: ProjectFile[]
onFileChange: (fileId: string, content: string) => void
onFileSelect: (fileId: string) => void
}