From 0ff11db1119a5368da1056d23af24ddefa62e488 Mon Sep 17 00:00:00 2001 From: Ryan Wang Date: Tue, 16 May 2023 18:16:55 +0800 Subject: [PATCH] refactor: improve the accessibility of action items in some data list (#3919) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit #### What type of PR is this? /kind improvement /area console /milestone 2.6.x #### What this PR does / why we need it: 1. 移除 Entity 组件最外层容器的手型样式,避免出现可点击性的误导。 2. 为部分数据列表项操作提供更多的访问选项。 1. 文章 / 页面列表添加编辑按钮。 2. 插件列表项添加详情按钮。 3. 附件列表项添加详情按钮。 #### Which issue(s) this PR fixes: Fixes #3914 #### Does this PR introduce a user-facing change? ```release-note 优化 Console 端部分数据列表的可访问性 ``` --- .../components/src/components/entity/Entity.vue | 2 +- console/src/locales/en.yaml | 1 + console/src/locales/zh-CN.yaml | 1 + console/src/locales/zh-TW.yaml | 1 + .../contents/attachments/AttachmentList.vue | 15 +++++++++------ .../src/modules/contents/pages/SinglePageList.vue | 12 ++++++++++++ console/src/modules/contents/posts/PostList.vue | 12 ++++++++++++ .../system/plugins/components/PluginListItem.vue | 12 ++++++++++++ 8 files changed, 49 insertions(+), 7 deletions(-) diff --git a/console/packages/components/src/components/entity/Entity.vue b/console/packages/components/src/components/entity/Entity.vue index 90be3ee1d..f57ea6d81 100644 --- a/console/packages/components/src/components/entity/Entity.vue +++ b/console/packages/components/src/components/entity/Entity.vue @@ -57,7 +57,7 @@ const classes = computed(() => {