From fee16d3ea996df069470acb37ce896e99f0fb225 Mon Sep 17 00:00:00 2001 From: liangxu Date: Mon, 27 Apr 2026 12:50:56 +0800 Subject: [PATCH] refactor(publish): tighten publish management list layout Collapse the hero card into a compact header with inline metrics, and rework the table with denser rows, fixed action column, and tooltip-backed time/title cells so more tasks fit on screen without losing the error popover and platform context. Co-Authored-By: Claude Opus 4.7 (1M context) --- .../renderer/views/PublishManagementView.vue | 838 ++++++++++-------- 1 file changed, 470 insertions(+), 368 deletions(-) diff --git a/apps/desktop-client/src/renderer/views/PublishManagementView.vue b/apps/desktop-client/src/renderer/views/PublishManagementView.vue index bf2c373..73eca11 100644 --- a/apps/desktop-client/src/renderer/views/PublishManagementView.vue +++ b/apps/desktop-client/src/renderer/views/PublishManagementView.vue @@ -390,247 +390,246 @@ const historyTotal = computed(() => taskPage.value?.history_total ?? 0); const totalCount = computed(() => taskPage.value?.total ?? 0); const tableColumns = [ - { title: "文章标题", key: "title", dataIndex: "title", width: 280 }, - { title: "账号 / 平台", key: "account", dataIndex: "account", width: 180 }, - { title: "状态", key: "status", dataIndex: "status", width: 130 }, - { title: "任务信息", key: "meta", dataIndex: "meta", width: 360 }, - { title: "时间", key: "time", dataIndex: "time", width: 210 }, - { title: "操作", key: "actions", align: "right" as const, width: 112 }, + { title: "文章", key: "title", dataIndex: "title", width: 260, ellipsis: true }, + { title: "账号 / 平台", key: "account", dataIndex: "account", width: 168 }, + { title: "状态", key: "status", dataIndex: "status", width: 96 }, + { title: "任务信息", key: "meta", dataIndex: "meta", width: 280 }, + { title: "时间", key: "time", dataIndex: "time", width: 132 }, + { title: "", key: "actions", align: "right" as const, width: 64, fixed: "right" as const }, ]; + +const tableScroll = { x: 1000 } as const;