From bc48c220a09798a7292b0785b70f057ca19398d7 Mon Sep 17 00:00:00 2001 From: TradeMate Dev Date: Wed, 27 May 2026 16:22:07 +0800 Subject: [PATCH] Add user-friendly loading feedback for all AI/long-running operations MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Discovery: show '搜索中约需30-60秒' message, auto-save to history, timeout hint - Discovery extract/outreach: show '正在分析网站/生成文案' loading message - Translate: inline '翻译中...' placeholder while waiting - Marketing: inline 'AI 生成中...' placeholder, success feedback - Quotations AI: inline progress text + ElMessage.info during generation - Analytics: add v-loading skeleton with '加载数据分析中...' - Notifications: add v-loading skeleton with '加载通知中...' - Followup: wire up '扫描跟进提醒' button with AI progress indicator --- user-frontend/src/views/Analytics.vue | 8 +++++-- user-frontend/src/views/Discovery.vue | 27 ++++++++++++++++++++--- user-frontend/src/views/Followup.vue | 21 ++++++++++++++++++ user-frontend/src/views/Marketing.vue | 16 +++++++++++--- user-frontend/src/views/Notifications.vue | 9 ++++++-- user-frontend/src/views/Quotations.vue | 10 ++++++++- user-frontend/src/views/Translate.vue | 19 +++++++++++++--- 7 files changed, 96 insertions(+), 14 deletions(-) diff --git a/user-frontend/src/views/Analytics.vue b/user-frontend/src/views/Analytics.vue index a195985..64b31c6 100644 --- a/user-frontend/src/views/Analytics.vue +++ b/user-frontend/src/views/Analytics.vue @@ -1,5 +1,5 @@