feat(admin-web/articles): show partial-success publish status from records

ArticlePublishStatus now derives partial_success when both succeeded and
failed records are present, fetches publish_records eagerly with a 30s
stale window so the popover lights up without a click, and ArticleDetail
Drawer reuses the component instead of its own tag. Relabel partial_
success copy to 部分发布 / Partially Published to match the new bucket.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-04-29 21:02:36 +08:00
parent e8c4fedb45
commit 2f3055babd
4 changed files with 21 additions and 9 deletions
+1 -1
View File
@@ -596,7 +596,7 @@ const enUS = {
publishing: "Publishing",
success: "Published",
failed: "Failed",
partial_success: "Partial Success",
partial_success: "Partially Published",
published: "Published",
publish_success: "Published",
publish_failed: "Failed",
+1 -1
View File
@@ -596,7 +596,7 @@ const zhCN = {
publishing: "发布中",
success: "发布成功",
failed: "发布失败",
partial_success: "部分成功",
partial_success: "部分发布",
published: "发布成功",
publish_success: "发布成功",
publish_failed: "发布失败",