fix(ui): only show overlay when starting, not on error

The overlay covered the whole window in error phase too, blocking
access to the sidebar and Settings page where the user needs to
read the sidecar logs to diagnose the failure.

Now in error phase the sidebar status dot turns red, the start
button is back in the sidebar, and the Settings page is reachable
to inspect the in-app log buffer.
This commit is contained in:
syoul
2026-04-26 00:13:47 +02:00
parent 45174ebe7d
commit 9fe24c72cb

View File

@@ -126,8 +126,8 @@ async function handleStop() {
</main> </main>
<StartupOverlay <StartupOverlay
v-if="phase !== 'ready' && phase !== 'idle'" v-if="phase === 'starting'"
:phase="phase as 'starting' | 'error'" phase="starting"
:error="error" :error="error"
@start="handleStart" @start="handleStart"
@retry="handleStart" @retry="handleStart"