Add better messages for intent processing and update in progress

This commit is contained in:
khalid@traclabs.com
2026-04-23 08:40:15 -05:00
parent 46247b7733
commit 68ecaec76c
4 changed files with 11 additions and 3 deletions

View File

@@ -191,7 +191,8 @@ const wsUrl = (process.env.PUBLIC_LIVE_RELOAD_WS_URL ?? import.meta.env.PUBLIC_L
if (msg.type === 'update_status') {
if (msg.phase === 'request_received') setBanner(true, 'Processing update request');
else if (msg.phase === 'update_started') setBanner(true, 'Updating website');
else if (msg.phase === 'intent_processing') setBanner(true, 'Processing update request');
else if (msg.phase === 'updating') setBanner(true, 'Updating website');
else if (msg.phase === 'update_done') setBanner(false);
}
} catch {