From 46d0a7aea0c78e20c94c3845de43bc6cefd0a035 Mon Sep 17 00:00:00 2001 From: liangxu Date: Sat, 25 Apr 2026 18:09:12 +0800 Subject: [PATCH] feat(admin-web): surface queued publish hint in media view Restores publish hints for queued and immediate states so operators know when a task will wait for the desktop client to come back online. Co-Authored-By: Claude Opus 4.7 (1M context) --- apps/admin-web/src/views/MediaView.vue | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/apps/admin-web/src/views/MediaView.vue b/apps/admin-web/src/views/MediaView.vue index 79a3004..bbc8102 100644 --- a/apps/admin-web/src/views/MediaView.vue +++ b/apps/admin-web/src/views/MediaView.vue @@ -159,6 +159,12 @@ function resolvePublishState(account: DesktopAccountInfo): PublishState { } function resolvePublishHint(account: DesktopAccountInfo, publishState: PublishState): string { + if (publishState === "immediate") { + return ""; + } + if (publishState === "queued") { + return "客户端当前离线,任务会先进入发布队列,等桌面端上线后自动继续。"; + } if (account.health !== "live") { return "授权状态异常,先在桌面端重新校验后再发布。"; }