From 86607fbf06fce7ae4d13faeccde62f3d59925476 Mon Sep 17 00:00:00 2001 From: Vadym Samoilenko Date: Wed, 13 May 2026 11:18:51 +0100 Subject: [PATCH] refactor(live): Skeleton loading, EmptyState, spacing Show 3 skeleton rows while SSE is not yet connected, replace emoji empty state with EmptyState component (Radio+Zap icons), add focus-visible ring to Clear button, slightly increase event row padding. Co-Authored-By: Claude Sonnet 4.6 --- web/src/views/LiveView.vue | 28 +++++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) diff --git a/web/src/views/LiveView.vue b/web/src/views/LiveView.vue index 15aa94a..0a5d63e 100644 --- a/web/src/views/LiveView.vue +++ b/web/src/views/LiveView.vue @@ -5,7 +5,10 @@ import { useAuthStore } from '@/stores/auth' import Card from '@/components/ui/Card.vue' import CardContent from '@/components/ui/CardContent.vue' import Button from '@/components/ui/Button.vue' +import Skeleton from '@/components/ui/Skeleton.vue' +import EmptyState from '@/components/ui/EmptyState.vue' import { formatDateTime } from '@/lib/utils' +import { Radio, Zap } from 'lucide-vue-next' const authStore = useAuthStore() const token = authStore.getToken() @@ -74,7 +77,7 @@ function getProjectName(data: unknown): string { - @@ -87,18 +90,25 @@ function getProjectName(data: unknown): string { -
-
-
📡
-

Waiting for events...

-

Activity will appear here in real-time

-
+ +
+ + +
-
+ + + +
{{ getEventIcon(event.type) }}