fix(frontend): restore capture/drag overlay state vars
Same class of bug as cd982f2: 9878ab4 (extract FilesTab) also
removed 'let' declarations for capture/drag-drop state that's still
used by the inbox capture flow and CaptureDropOverlay:
captureDropActive, captureDropLabel, captureDragDepth,
lastCaptureDragOverAt, captureDragResetTimer,
dropRootValid, inboxDropValid
Without them, Svelte runtime throws ReferenceError on first render
('captureDropActive is not defined'), leaving the WebView empty.
Verified with headless render smoke: .app + .sidebar mount,
sidebar shows system views + workspace, welcome screen renders.
Rebuild embedded frontend bundle.
This commit is contained in:
parent
cd982f2f28
commit
2b3de296b9
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -19,7 +19,7 @@
|
||||||
background: #13131f;
|
background: #13131f;
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
<script type="module" crossorigin src="/assets/main-QJp1UtIq.js"></script>
|
<script type="module" crossorigin src="/assets/main-C0D__Sxo.js"></script>
|
||||||
<link rel="stylesheet" crossorigin href="/assets/main-Bl-yCbt2.css">
|
<link rel="stylesheet" crossorigin href="/assets/main-Bl-yCbt2.css">
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
|
||||||
|
|
@ -89,6 +89,14 @@
|
||||||
let previewContent = ''
|
let previewContent = ''
|
||||||
let previewLoading = false
|
let previewLoading = false
|
||||||
let previewError = ''
|
let previewError = ''
|
||||||
|
// Capture/drag-drop overlay state (kept in App.svelte; used by inbox capture flow)
|
||||||
|
let captureDropActive = false
|
||||||
|
let captureDropLabel = ''
|
||||||
|
let captureDragDepth = 0
|
||||||
|
let lastCaptureDragOverAt = 0
|
||||||
|
let captureDragResetTimer = null
|
||||||
|
let dropRootValid = false
|
||||||
|
let inboxDropValid = false
|
||||||
let notes = []
|
let notes = []
|
||||||
let noteEditor = null
|
let noteEditor = null
|
||||||
let noteEditorPanel = undefined; // bind:this ref for NoteEditorPanel
|
let noteEditorPanel = undefined; // bind:this ref for NoteEditorPanel
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue