Skip to content

Commit 32c0539

Browse files
committed
Indexing: Show replay progress, not blank "Scanning..."
- `get_index_status` IPC returns `scanning: true` during `IndexPhase::Initializing`, before the backend decides scan vs replay - When replay starts, `scanning` stayed `true`, hiding `ReplayStatusOverlay` (requires `!scanning`) and showing `ScanStatusOverlay` instead — with no progress bar, no event count, no ETA - Clear `scanning` on first `index-replay-progress` event so the correct overlay renders
1 parent 04bcce3 commit 32c0539

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

apps/desktop/src/lib/indexing/index-state.svelte.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ export async function initIndexState(): Promise<void> {
194194
}>('index-replay-progress', (event) => {
195195
if (!replaying) {
196196
replaying = true
197+
scanning = false
197198
replayStartedAt = Date.now()
198199
}
199200
replayEventsProcessed = event.payload.eventsProcessed

0 commit comments

Comments
 (0)