From 0f681462831bee926e982de2661f8d3b30874d9f Mon Sep 17 00:00:00 2001 From: Jerry Yan <792602257@qq.com> Date: Fri, 9 Jan 2026 18:38:55 +0800 Subject: [PATCH] =?UTF-8?q?feat(annotation):=20=E6=9B=B4=E6=96=B0=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=B7=A5=E4=BD=9C=E5=AE=A4=E6=96=87=E6=9C=AC=E7=BC=96?= =?UTF-8?q?=E8=BE=91=E5=99=A8=E7=95=8C=E9=9D=A2=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 修改标注接口配置,启用当前标注和历史记录功能 - 替换提交按钮为标注标签页和菜单功能 - 优化文件卡片布局样式,调整高度和溢出处理 - 更新编辑器卡片样式,改进响应式布局结构 --- frontend/public/lsf/lsf.html | 16 ++++++++++++++++ .../Annotate/LabelStudioTextEditor.tsx | 17 +++++++++++------ 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/frontend/public/lsf/lsf.html b/frontend/public/lsf/lsf.html index e646ff6..b0d89f8 100644 --- a/frontend/public/lsf/lsf.html +++ b/frontend/public/lsf/lsf.html @@ -17,6 +17,22 @@ } + diff --git a/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx b/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx index 238f481..8c06248 100644 --- a/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx +++ b/frontend/src/pages/DataAnnotation/Annotate/LabelStudioTextEditor.tsx @@ -126,12 +126,12 @@ export default function LabelStudioTextEditor() { interfaces: [ "panel", "update", - "submit", "controls", "side-column", + "annotations:tabs", "annotations:menu", - "annotations:add-new", - "annotations:delete", + "annotations:current", + "annotations:history", ], selectedAnnotationIndex: 0, allowCreateEmptyAnnotation: true, @@ -291,8 +291,13 @@ export default function LabelStudioTextEditor() { -
- +
+ - +
{loadingTaskDetail && (