From ab5a0a651b347d2388f61d52bb8a93a8b39b5a6a Mon Sep 17 00:00:00 2001 From: matevip Date: Tue, 25 Aug 2026 04:12:19 -0400 Subject: [PATCH] fix(live): speed up live status loading (#615) --- mateclaw-ui/src/components/live/LivePanel.vue | 139 +++++++++++++++++- .../__tests__/useAgentRunGroups.test.ts | 22 ++- .../__tests__/useLiveSnapshot.test.ts | 22 +++ .../src/composables/useAgentRunGroups.ts | 9 ++ .../src/composables/useLiveSnapshot.ts | 1 + mateclaw-ui/src/i18n/locales/en-US.ts | 12 ++ mateclaw-ui/src/i18n/locales/zh-CN.ts | 12 ++ .../utils/__tests__/agentsPageLoading.test.ts | 34 +++++ .../utils/__tests__/livePanelLoading.test.ts | 70 +++++++++ mateclaw-ui/src/utils/agentsPageLoading.ts | 24 +++ mateclaw-ui/src/utils/livePanelLoading.ts | 36 +++++ mateclaw-ui/src/views/Agents.vue | 75 +++++++--- 12 files changed, 429 insertions(+), 27 deletions(-) create mode 100644 mateclaw-ui/src/utils/__tests__/agentsPageLoading.test.ts create mode 100644 mateclaw-ui/src/utils/__tests__/livePanelLoading.test.ts create mode 100644 mateclaw-ui/src/utils/agentsPageLoading.ts create mode 100644 mateclaw-ui/src/utils/livePanelLoading.ts diff --git a/mateclaw-ui/src/components/live/LivePanel.vue b/mateclaw-ui/src/components/live/LivePanel.vue index 47cccb98..c47a15af 100644 --- a/mateclaw-ui/src/components/live/LivePanel.vue +++ b/mateclaw-ui/src/components/live/LivePanel.vue @@ -65,14 +65,22 @@ - -
-
- +
+ +
+ {{ t(initialLoadingCopy.title) }} + {{ t(initialLoadingCopy.hint) }}
+