feat: enhance platform management and synchronization in ArticleEditor and PublishArticle components

This commit is contained in:
2026-04-06 15:41:49 +08:00
parent fe124b0ba4
commit 08ace0a9e0
7 changed files with 209 additions and 88 deletions
+6 -5
View File
@@ -401,7 +401,7 @@ const enUS = {
saveAndLeave: "Save and leave",
},
platformsTitle: "Publish platforms",
platformsHint: "This uses the shared publish-platform selector. For now it shows placeholder bound platforms on the frontend.",
platformsHint: "This stays in sync with Media Management so you can edit the article's publish platforms directly.",
coverTitle: "Cover image",
coverHint: "Upload a cover asset before publishing. This is local preview only for now.",
coverUpload: "Upload cover image",
@@ -516,7 +516,7 @@ const enUS = {
subtitle: "Multi-platform Dispatch",
description: "Choose tenant-bound accounts that are currently signed in locally. The extension executes the real publish flow and writes back the resulting links.",
platformsTitle: "Target platforms",
platformsHint: "Only tenant-bound accounts are listed here. Accounts with missing or mismatched local sessions are disabled automatically.",
platformsHint: "Previously selected and bound accounts are prefilled first. Unbound or locally unavailable platforms stay disabled.",
coverTitle: "Cover image",
coverHint: "This version uses a cover asset URL. Upload and crop can be wired later.",
coverPlaceholder: "Enter an optional cover asset URL",
@@ -646,10 +646,11 @@ const enUS = {
promptPlaceholder: "Select a prompt",
createPrompt: "New Prompt",
platforms: "Publish platforms",
platformsHint: "Choose one or more publish platforms. Only bound platforms are shown here.",
platformsHint: "Synced from Media Management. This field is optional and supports multiple selection.",
platformConnected: "Connected",
platformEmptyTitle: "Publish platforms are coming",
platformEmptyHint: "Once the media integration is wired, bound tenant platforms will appear here automatically.",
platformUnauthorized: "Unauthorized",
platformEmptyTitle: "No publish platforms",
platformEmptyHint: "No platform data is available yet. Please verify the Media Management setup first.",
cover: "Cover image",
coverHint: "Keep the cover clear, complete, and visually polished.",
coverUpload: "Upload cover image",
+5 -5
View File
@@ -408,7 +408,7 @@ const zhCN = {
saveAndLeave: "保存并返回",
},
platformsTitle: "发布平台",
platformsHint: "这里会复用统一的发布平台组件,当前先展示前端占位的已绑定平台。",
platformsHint: "这里会同步媒体管理中的平台和绑定状态,支持直接编辑文章的发布平台。",
coverTitle: "封面图",
coverHint: "发布前可先上传封面素材,当前只做本地预览。",
coverUpload: "上传封面图",
@@ -523,7 +523,7 @@ const zhCN = {
subtitle: "Multi-platform Dispatch",
description: "选择当前浏览器已登录且租户已绑定的平台,插件会逐个平台执行真实发布并回写链接。",
platformsTitle: "发布平台",
platformsHint: "仅展示当前租户已绑定的账号。插件本地登录态异常的平台会自动禁用。",
platformsHint: "会优先回填文章里已选择且已绑定的账号,未绑定或本地登录态异常的平台不可选。",
coverTitle: "封面图",
coverHint: "当前版本先使用封面素材 URL,后续可以接入上传与裁剪。",
coverPlaceholder: "请输入封面素材 URL(可选)",
@@ -654,11 +654,11 @@ const zhCN = {
promptPlaceholder: "请选择Prompt",
createPrompt: "新建Prompt",
platforms: "发布平台",
platformsHint: "请选择需要发布的平台,支持多选",
platformsHint: "同步媒体管理中的平台和绑定状态,可不选,支持多选",
platformConnected: "已绑定",
platformUnauthorized: "未授权",
platformEmptyTitle: "发布平台接入中",
platformEmptyHint: "媒体平台接口接入后,这里会自动展示当前租户已绑定的平台。",
platformEmptyTitle: "暂无发布平台",
platformEmptyHint: "当前还没有可用的平台数据,请先检查媒体管理配置。",
cover: "封面图",
coverHint: "请保证封面清晰、美观和完整",
coverUpload: "上传封面图",