Skip to content

Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.

feat(i18n): enhance localization for task management and queue descriptions

wizardchen1eae475a1f17
diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts
index e19b3ad35..77b023a55 100755
--- a/frontend/src/i18n/locales/en-US.ts
+++ b/frontend/src/i18n/locales/en-US.ts
@@ -3564,6 +3564,7 @@ export default {
poolUtilization: "{value}% utilized",
queueCount: "{value} queues",
weight: "Pool weight {value}",
+ weightShort: "Weight {value}",
footnote: "Card values show cluster active/live capacity; per-process configuration requires restart. The shared elastic pool only consumes core and enrichment queues.",
updatedAt: "Updated at {value}",
errors: {
@@ -3596,23 +3597,34 @@ export default {
paused: "Paused",
},
failedNotice: {
- title: "{count} tasks have stopped retrying",
- description: "Select a red count to view the cause. Fix model, storage, or network issues before running a task again.",
+ title: "{count} failed tasks need attention",
+ description: "Open a red Failed count in the table below to inspect causes, then retry after fixing the root issue.",
},
failedTasks: {
title: "Failed tasks · {queue}",
description: "Tasks that stopped after exceeding their automatic retry limit, newest failure first.",
guideTitle: "Fix the cause before running again",
guideDescription: "Run once performs one immediate attempt without resetting the retry counter. Clear record only removes it from this queue; it does not complete the original task, and historical logs remain.",
+ listTitle: "Failed records",
openAria: "View {count} failed tasks in {queue}",
unavailable: "Failed-task details are unavailable in this deployment",
empty: "This queue has no stopped failed tasks",
loadError: "Failed to load task details",
loadMore: "Load more",
- attempts: "{count} attempts",
+ loadedSummary: "{count} loaded — scroll or tap to load more",
+ loadedAll: "All {count} loaded",
+ loadingMore: "Loading more…",
+ attempts: "Retry count {count}",
+ attemptsShort: "{count}×",
+ showError: "View error",
+ hideError: "Hide error",
lastError: "Last error",
noError: "No error details recorded",
unknownTarget: "No related object identified",
+ knowledgeBaseLabel: "Knowledge base ID",
+ knowledgeLabel: "Document ID",
+ taskIDLabel: "Business task ID",
+ tenantLabel: "Tenant ID",
tenant: "Workspace {id}",
knowledgeBase: "Knowledge base {id}",
knowledge: "Document {id}",
@@ -3673,26 +3685,26 @@ export default {
wiki: "Wiki content generation and global finalization",
},
queueNames: {
- default: "Default (document parse)",
- postprocess: "Post-process orchestration",
- summary: "Summary generation",
+ default: "Document parsing",
+ postprocess: "Post-process",
+ summary: "Summaries",
sync: "Source sync",
- low: "Maintenance & batch jobs",
- multimodal: "Multimodal (images)",
+ low: "Maintenance & batch",
+ multimodal: "Multimodal",
graph: "Graph extraction",
- question: "Question generation",
- wiki: "Wiki ingest",
+ question: "Questions",
+ wiki: "Wiki pipeline",
},
queueDescriptions: {
- default: "Document parsing and manual updates",
- postprocess: "Parse finalization and enrichment task fan-out",
- summary: "Document and data-table summaries",
- sync: "Manual and scheduled data-source sync",
- low: "FAQ import, clone/move, batch reparse, and deletion cleanup",
- multimodal: "Image OCR and multimodal descriptions",
- graph: "Knowledge graph extraction from document chunks",
- question: "Question generation from document chunks",
- wiki: "Wiki content generation and index sync",
+ default: "Document parse, manual reparse",
+ postprocess: "Parse finalization, enrichment fan-out",
+ summary: "Document & table summaries",
+ sync: "Manual & scheduled sync",
+ low: "FAQ import, batch reparse, cleanup",
+ multimodal: "Image OCR, vision captions",
+ graph: "Chunk-level graph extraction",
+ question: "Chunk-level question generation",
+ wiki: "Content generation, index finalize",
},
},
keyLabels: {
diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts
index 1d55a1ab8..93fb52265 100755
--- a/frontend/src/i18n/locales/ko-KR.ts
+++ b/frontend/src/i18n/locales/ko-KR.ts
@@ -2549,6 +2549,7 @@ export default {
poolUtilization: "사용률 {value}%",
queueCount: "큐 {value}개",
weight: "풀 내 가중치 {value}",
+ weightShort: "가중치 {value}",
footnote: "카드는 클러스터 실행 중/실시간 용량을 표시합니다. 프로세스별 설정은 재시작 후 적용되며 공유 풀은 핵심 파싱과 보강 큐만 처리합니다.",
updatedAt: "{value} 업데이트됨",
errors: {
@@ -2581,23 +2582,34 @@ export default {
paused: "일시중지됨",
},
failedNotice: {
- title: "{count}개 작업의 자동 재시도가 중지됨",
- description: "빨간 숫자를 눌러 실패 원인을 확인하세요. 모델, 저장소 또는 네트워크 문제를 해결한 뒤 다시 실행하세요.",
+ title: "처리 대기 중인 실패 작업 {count}개",
+ description: "아래 표의 빨간색 '최종 실패' 숫자를 눌러 원인을 확인한 뒤, 수정 후 수동으로 재시도하세요.",
},
failedTasks: {
title: "최종 실패 · {queue}",
description: "자동 재시도 한도를 초과하여 중지된 작업이며 최근 실패 순으로 표시됩니다.",
guideTitle: "원인을 해결한 뒤 다시 실행하세요",
guideDescription: "‘한 번 다시 실행’은 재시도 횟수를 초기화하지 않고 즉시 한 번 실행합니다. ‘기록 지우기’는 현재 큐에서만 제거하며 원래 작업을 완료하지 않고 기록 로그는 유지됩니다.",
+ listTitle: "실패 기록",
openAria: "{queue}의 최종 실패 작업 {count}개 보기",
unavailable: "현재 배포에서는 실패 작업 상세 정보를 볼 수 없습니다",
empty: "이 큐에는 최종 실패 작업이 없습니다",
loadError: "실패 작업 상세 정보를 불러오지 못했습니다",
loadMore: "더 보기",
- attempts: "{count}회 시도",
+ loadedSummary: "{count}개 로드됨 · 스크롤하거나 눌러 더 보기",
+ loadedAll: "총 {count}개 모두 로드됨",
+ loadingMore: "더 불러오는 중…",
+ attempts: "재시도 횟수 {count}",
+ attemptsShort: "{count}회",
+ showError: "오류 보기",
+ hideError: "오류 접기",
lastError: "마지막 오류",
noError: "기록된 오류 상세 정보 없음",
unknownTarget: "연결된 대상을 확인할 수 없음",
+ knowledgeBaseLabel: "지식 베이스 ID",
+ knowledgeLabel: "문서 ID",
+ taskIDLabel: "비즈니스 작업 ID",
+ tenantLabel: "테넌트 ID",
tenant: "공간 {id}",
knowledgeBase: "지식 베이스 {id}",
knowledge: "문서 {id}",
@@ -2658,26 +2670,26 @@ export default {
wiki: "Wiki 콘텐츠 생성 및 전체 마무리",
},
queueNames: {
- default: "기본(문서 파싱)",
+ default: "문서 파싱",
postprocess: "후처리 오케스트레이션",
summary: "요약 생성",
sync: "데이터 소스 동기화",
- low: "백그라운드 유지 관리 및 일괄 작업",
- multimodal: "멀티모달(이미지)",
+ low: "유지 관리 및 일괄 작업",
+ multimodal: "멀티모달 처리",
graph: "그래프 추출",
question: "질문 생성",
- wiki: "Wiki 동기화",
+ wiki: "Wiki 처리",
},
queueDescriptions: {
- default: "문서 파싱 및 수동 업데이트",
- postprocess: "파싱 마무리 및 보강 작업 분배",
- summary: "문서 및 데이터 테이블 요약",
- sync: "수동 및 예약 데이터 소스 동기화",
- low: "FAQ 가져오기, 복제/이동, 일괄 재파싱 및 삭제 정리",
- multimodal: "이미지 OCR 및 멀티모달 설명",
- graph: "문서 청크에서 지식 그래프 추출",
- question: "문서 청크를 기반으로 질문 생성",
- wiki: "Wiki 콘텐츠 생성 및 인덱스 동기화",
+ default: "문서 파싱, 수동 재파싱",
+ postprocess: "파싱 마무리, 보강 분배",
+ summary: "문서 요약, 테이블 요약",
+ sync: "수동 및 예약 동기화",
+ low: "FAQ 가져오기, 일괄 재파싱, 삭제 정리",
+ multimodal: "이미지 OCR, 시각 설명",
+ graph: "청크 단위 그래프 추출",
+ question: "청크 단위 질문 생성",
+ wiki: "콘텐츠 생성, 인덱스 마무리",
},
},
keyLabels: {
diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts
index 479585500..b87e536ff 100755
--- a/frontend/src/i18n/locales/ru-RU.ts
+++ b/frontend/src/i18n/locales/ru-RU.ts
@@ -2246,6 +2246,7 @@ export default {
poolUtilization: "Загрузка {value}%",
queueCount: "Очередей: {value}",
weight: "Вес в пуле {value}",
+ weightShort: "Вес {value}",
footnote: "Карточки показывают активные задачи/живую ёмкость кластера. Настройки на процесс требуют перезапуска; общий пул обслуживает только разбор и обогащение.",
updatedAt: "Обновлено в {value}",
errors: {
@@ -2278,23 +2279,34 @@ export default {
paused: "Приостановлено",
},
failedNotice: {
- title: "Задач без дальнейших повторов: {count}",
- description: "Нажмите красное число, чтобы увидеть причину. Перед новым запуском исправьте проблемы модели, хранилища или сети.",
+ title: "{count} сбойных задач требуют внимания",
+ description: "Нажмите красное число в столбце «Окончательные сбои», чтобы увидеть причину, затем повторите после исправления.",
},
failedTasks: {
title: "Окончательные сбои · {queue}",
description: "Задачи, остановленные после исчерпания автоматических повторов; новые сбои показаны первыми.",
guideTitle: "Сначала устраните причину",
guideDescription: "«Запустить один раз» выполняет одну попытку без сброса счётчика повторов. «Очистить запись» удаляет её только из этой очереди, не завершает исходную задачу и сохраняет исторические журналы.",
+ listTitle: "Сбойные записи",
openAria: "Показать сбоев в очереди {queue}: {count}",
unavailable: "Подробности сбоев недоступны в этой конфигурации",
empty: "В этой очереди нет остановленных задач",
loadError: "Не удалось загрузить сведения о сбоях",
loadMore: "Показать ещё",
- attempts: "Попыток: {count}",
+ loadedSummary: "Загружено {count} · прокрутите или нажмите, чтобы загрузить ещё",
+ loadedAll: "Загружены все {count}",
+ loadingMore: "Загрузка…",
+ attempts: "Число повторов {count}",
+ attemptsShort: "×{count}",
+ showError: "Показать ошибку",
+ hideError: "Скрыть ошибку",
lastError: "Последняя ошибка",
noError: "Подробности ошибки не записаны",
unknownTarget: "Связанный объект не определён",
+ knowledgeBaseLabel: "ID базы знаний",
+ knowledgeLabel: "ID документа",
+ taskIDLabel: "ID бизнес-задачи",
+ tenantLabel: "ID тенанта",
tenant: "Пространство {id}",
knowledgeBase: "База знаний {id}",
knowledge: "Документ {id}",
@@ -2355,26 +2367,26 @@ export default {
wiki: "Создание содержимого Wiki и финальная обработка",
},
queueNames: {
- default: "По умолчанию (парсинг документов)",
- postprocess: "Оркестрация постобработки",
- summary: "Создание сводок",
+ default: "Разбор документов",
+ postprocess: "Постобработка",
+ summary: "Сводки",
sync: "Синхронизация источников",
- low: "Фоновое обслуживание и пакетные задачи",
- multimodal: "Мультимодальные (изображения)",
+ low: "Обслуживание и пакеты",
+ multimodal: "Мультимодальные",
graph: "Извлечение графа",
- question: "Генерация вопросов",
- wiki: "Синхронизация Wiki",
+ question: "Вопросы",
+ wiki: "Wiki-конвейер",
},
queueDescriptions: {
- default: "Разбор документов и ручные обновления",
- postprocess: "Завершение разбора и запуск задач обогащения",
- summary: "Сводки документов и таблиц данных",
- sync: "Ручная и плановая синхронизация источников",
- low: "Импорт FAQ, клонирование/перемещение, пакетный повторный разбор и удаление",
- multimodal: "OCR изображений и мультимодальные описания",
- graph: "Извлечение графа знаний из фрагментов документов",
- question: "Генерация вопросов по фрагментам документов",
- wiki: "Создание содержимого Wiki и синхронизация индекса",
+ default: "Разбор документов, ручной повторный разбор",
+ postprocess: "Завершение разбора, запуск обогащения",
+ summary: "Сводки документов и таблиц",
+ sync: "Ручная и плановая синхронизация",
+ low: "Импорт FAQ, пакетный повторный разбор, очистка",
+ multimodal: "OCR изображений, визуальные описания",
+ graph: "Извлечение графа по фрагментам",
+ question: "Генерация вопросов по фрагментам",
+ wiki: "Создание контента, финализация индекса",
},
},
keyLabels: {
diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts
index 80b96783b..9a5037a12 100755
--- a/frontend/src/i18n/locales/zh-CN.ts
+++ b/frontend/src/i18n/locales/zh-CN.ts
@@ -2552,6 +2552,7 @@ export default {
poolUtilization: "利用率 {value}%",
queueCount: "{value} 个队列",
weight: "池内权重 {value}",
+ weightShort: "权重 {value}",
footnote: "卡片主值为集群运行中/实时容量;单实例配置修改后需重启。共享弹性池只消费核心解析和内容富化队列。",
updatedAt: "更新于 {value}",
errors: {
@@ -2584,23 +2585,34 @@ export default {
paused: "已暂停",
},
failedNotice: {
- title: "{count} 个任务已停止自动重试",
- description: "点击红色数字查看失败原因。请先修复模型、存储或网络等问题,再重新执行任务。",
+ title: "{count} 个任务待处理",
+ description: "点击下方表中红色「最终失败」数字查看原因,修复后可手动重试。",
},
failedTasks: {
title: "最终失败 · {queue}",
description: "这里展示超过自动重试上限后停止的任务,按最近失败时间排序。",
guideTitle: "先修复原因,再重新执行",
guideDescription: "“重新执行一次”只会立即再运行一次,不会重置自动重试次数;“清除记录”只从当前队列移除记录,不会完成原任务,历史日志仍会保留。",
+ listTitle: "失败记录",
openAria: "查看{queue}的 {count} 个最终失败任务",
unavailable: "当前部署不支持查看失败任务明细",
empty: "这个队列当前没有最终失败任务",
loadError: "获取失败任务明细失败",
loadMore: "加载更多",
- attempts: "已尝试 {count} 次",
+ loadedSummary: "已加载 {count} 条,继续下滑或点击加载",
+ loadedAll: "已全部加载,共 {count} 条",
+ loadingMore: "正在加载更多…",
+ attempts: "重试次数 {count}",
+ attemptsShort: "{count} 次",
+ showError: "查看错误",
+ hideError: "收起错误",
lastError: "最后错误",
noError: "未记录错误详情",
unknownTarget: "未识别到关联对象",
+ knowledgeBaseLabel: "知识库 ID",
+ knowledgeLabel: "文档 ID",
+ taskIDLabel: "业务任务 ID",
+ tenantLabel: "租户 ID",
tenant: "空间 {id}",
knowledgeBase: "知识库 {id}",
knowledge: "文档 {id}",
@@ -2661,26 +2673,26 @@ export default {
wiki: "Wiki 内容生成与全局收尾",
},
queueNames: {
- default: "默认(文档解析)",
+ default: "文档解析",
postprocess: "后处理编排",
summary: "摘要生成",
sync: "数据源同步",
- low: "后台维护与批处理",
- multimodal: "多模态(图片)",
+ low: "维护与批处理",
+ multimodal: "多模态处理",
graph: "图谱抽取",
question: "问题生成",
- wiki: "Wiki 同步",
+ wiki: "Wiki 处理",
},
queueDescriptions: {
- default: "文档解析与手工更新",
- postprocess: "解析完成后的状态收尾与富化任务扇出",
- summary: "文档摘要与表格摘要",
- sync: "手动与定时数据源同步",
- low: "FAQ 导入、复制移动、批量重解析与删除清理",
- multimodal: "图片 OCR 与多模态描述",
- graph: "从文档分块提取知识图谱",
- question: "基于文档分块生成问题",
- wiki: "Wiki 内容生成与索引同步",
+ default: "文档解析、手工重解析",
+ postprocess: "解析收尾、富化扇出",
+ summary: "文档摘要、表格摘要",
+ sync: "手动与定时同步",
+ low: "FAQ 导入、批量重解析、删除清理",
+ multimodal: "图片 OCR、视觉描述",
+ graph: "分块图谱抽取",
+ question: "分块问题生成",
+ wiki: "内容生成、索引收尾",
},
},
keyLabels: {
diff --git a/frontend/src/views/system/RuntimeQueues.vue b/frontend/src/views/system/RuntimeQueues.vue
index 390fc440e..0e2f2099a 100644
--- a/frontend/src/views/system/RuntimeQueues.vue
+++ b/frontend/src/views/system/RuntimeQueues.vue
@@ -97,7 +97,7 @@
<section class="rq-pools">
<div class="rq-pools-header">
<div>
- <h3>{{ t('system.globalSettings.runtime.poolsTitle') }}</h3>
+ <h3 class="rq-section-title">{{ t('system.globalSettings.runtime.poolsTitle') }}</h3>
<p>{{ t('system.globalSettings.runtime.poolsDescription') }}</p>
</div>
<span class="rq-pools-note">{{ t('system.globalSettings.runtime.perInstance') }}</span>
@@ -128,7 +128,7 @@
<section class="rq-details">
<div class="rq-details-header">
<div>
- <h3>{{ t('system.globalSettings.runtime.detailsTitle') }}</h3>
+ <h3 class="rq-section-title">{{ t('system.globalSettings.runtime.detailsTitle') }}</h3>
<p>{{ t('system.globalSettings.runtime.detailsDescription') }}</p>
</div>
<span v-if="updatedAt" class="rq-updated-at">
@@ -137,14 +137,19 @@
</span>
</div>
- <t-alert v-if="totalArchived > 0" theme="warning" class="rq-failed-alert">
- <template #message>
- <div class="rq-failed-alert-copy">
- <strong>{{ t('system.globalSettings.runtime.failedNotice.title', { count: totalArchived }) }}</strong>
- <span>{{ t('system.globalSettings.runtime.failedNotice.description') }}</span>
- </div>
- </template>
- </t-alert>
+ <div v-if="totalArchived > 0" class="rq-failed-notice" role="status">
+ <span class="rq-failed-notice__icon" aria-hidden="true">
+ <t-icon name="error-circle" />
+ </span>
+ <div class="rq-failed-notice__text">
+ <p class="rq-failed-notice__title">
+ {{ t('system.globalSettings.runtime.failedNotice.title', { count: totalArchived }) }}
+ </p>
+ <p class="rq-failed-notice__desc">
+ {{ t('system.globalSettings.runtime.failedNotice.description') }}
+ </p>
+ </div>
+ </div>
<div v-if="queues.length === 0" class="rq-empty">
<t-icon name="queue" size="28px" />
@@ -162,12 +167,7 @@
<template #name="{ row }">
<div class="rq-queue-cell">
<span class="rq-queue-name">{{ queueLabel(row.name) }}</span>
- <span class="rq-queue-meta">
- {{ queueDescription(row.name) }} · {{ poolLabel(row.pool) }}
- <template v-if="poolQueueCount(row.pool) > 1">
- · {{ t('system.globalSettings.runtime.weight', { value: row.weight }) }}
- </template>
- </span>
+ <span class="rq-queue-meta">{{ queueMeta(row) }}</span>
</div>
</template>
<template #active="{ row }">
@@ -214,7 +214,7 @@
<section class="rq-details rq-models">
<div class="rq-details-header">
<div>
- <h3>{{ t('system.globalSettings.runtime.models.title') }}</h3>
+ <h3 class="rq-section-title">{{ t('system.globalSettings.runtime.models.title') }}</h3>
<p>{{ t('system.globalSettings.runtime.models.description') }}</p>
</div>
<span class="rq-pools-note">{{ t('system.globalSettings.runtime.models.scope') }}</span>
@@ -253,29 +253,38 @@
<p class="rq-footnote">{{ t('system.globalSettings.runtime.footnote') }}</p>
</template>
- <t-drawer
+ <SettingDrawer
v-model:visible="failedTasksVisible"
- :header="t('system.globalSettings.runtime.failedTasks.title', { queue: failedTaskQueueLabel })"
- drawer-class-name="rq-failed-drawer"
- size="680px"
- :footer="false"
- :close-btn="true"
- placement="right"
- destroy-on-close
+ class="rq-failed-drawer"
+ :title="t('system.globalSettings.runtime.failedTasks.title', { queue: failedTaskQueueLabel })"
+ :description="t('system.globalSettings.runtime.failedTasks.description')"
+ icon="error-circle"
+ width="680px"
+ :min-width="520"
+ :max-width="960"
+ storage-key="setting-drawer:width:runtime-failed-tasks"
+ hide-footer
>
- <div class="rq-failed-drawer-inner">
- <t-alert theme="warning" class="rq-failed-drawer-guide">
- <template #message>
- <div class="rq-failed-guide-copy">
- <strong>{{ t('system.globalSettings.runtime.failedTasks.guideTitle') }}</strong>
- <span>{{ t('system.globalSettings.runtime.failedTasks.guideDescription') }}</span>
- </div>
- </template>
- </t-alert>
+ <section class="setting-drawer__section">
+ <h4 class="setting-drawer__section-title">
+ {{ t('system.globalSettings.runtime.failedTasks.guideTitle') }}
+ </h4>
+ <p class="rq-failed-guide-desc">
+ {{ t('system.globalSettings.runtime.failedTasks.guideDescription') }}
+ </p>
+ </section>
- <div class="rq-failed-toolbar">
- <span>{{ t('system.globalSettings.runtime.failedTasks.description') }}</span>
- <t-button variant="text" size="small" :loading="failedTasksLoading" @click="reloadFailedTasks">
+ <section class="setting-drawer__section">
+ <div class="rq-failed-section-head">
+ <h4 class="setting-drawer__section-title">
+ {{ t('system.globalSettings.runtime.failedTasks.listTitle') }}
+ </h4>
+ <t-button
+ variant="text"
+ size="small"
+ :loading="failedTasksLoading && !failedTasksLoadingMore"
+ @click="reloadFailedTasks"
+ >
<template #icon><t-icon name="refresh" /></template>
{{ t('system.globalSettings.runtime.refresh') }}
</t-button>
@@ -285,47 +294,63 @@
<t-loading size="small" />
<span>{{ t('system.globalSettings.runtime.loading') }}</span>
</div>
- <t-alert v-else-if="failedTasksError" theme="error" :message="failedTasksError">
- <template #operation>
- <t-button size="small" @click="reloadFailedTasks">
- {{ t('system.globalSettings.runtime.retry') }}
- </t-button>
- </template>
- </t-alert>
+ <div v-else-if="failedTasksError" class="rq-failed-error-state">
+ <span>{{ failedTasksError }}</span>
+ <t-button size="small" variant="outline" @click="reloadFailedTasks">
+ {{ t('system.globalSettings.runtime.retry') }}
+ </t-button>
+ </div>
<t-empty
v-else-if="failedTasks.length === 0"
:description="t('system.globalSettings.runtime.failedTasks.empty')"
/>
- <div v-else class="rq-failed-list">
- <article v-for="task in failedTasks" :key="task.id" class="rq-failed-card">
- <div class="rq-failed-card-head">
- <div class="rq-failed-card-title">
- <strong>{{ failedTaskTypeLabel(task.type) }}</strong>
- <code>{{ task.type }}</code>
+ <div v-else class="rq-failed-list-panel">
+ <article
+ v-for="task in failedTasks"
+ :key="task.id"
+ class="rq-failed-row"
+ >
+ <div class="rq-failed-row-content">
+ <div class="rq-failed-row-summary">
+ <span class="rq-failed-row-type">{{ failedTaskTypeLabel(task.type) }}</span>
+ <span class="rq-failed-row-sep" aria-hidden="true">·</span>
+ <span class="rq-failed-row-stat">
+ {{ t('system.globalSettings.runtime.failedTasks.attempts', { count: task.retried + 1 }) }}
+ </span>
+ <span class="rq-failed-row-sep" aria-hidden="true">·</span>
+ <time :datetime="task.last_failed_at">{{ formatFailedAt(task.last_failed_at) }}</time>
</div>
- <time :datetime="task.last_failed_at">{{ formatFailedAt(task.last_failed_at) }}</time>
- </div>
- <div class="rq-failed-meta">
- <span>{{ failedTaskTarget(task) }}</span>
- <span>{{ t('system.globalSettings.runtime.failedTasks.attempts', { count: task.retried + 1 }) }}</span>
+ <dl v-if="failedTaskRefs(task).length > 0" class="rq-failed-row-refs">
+ <div v-for="ref in failedTaskRefs(task)" :key="ref.key" class="rq-failed-ref">
+ <dt>{{ ref.label }}</dt>
+ <dd :title="ref.value">{{ ref.value }}</dd>
+ </div>
+ </dl>
+ <p v-else class="rq-failed-row-unknown">
+ {{ t('system.globalSettings.runtime.failedTasks.unknownTarget') }}
+ </p>
+ <p class="rq-failed-row-error">
+ {{ task.last_error || t('system.globalSettings.runtime.failedTasks.noError') }}
+ </p>
</div>
- <div class="rq-failed-error">
- <span>{{ t('system.globalSettings.runtime.failedTasks.lastError') }}</span>
- <p>{{ task.last_error || t('system.globalSettings.runtime.failedTasks.noError') }}</p>
- </div>
- <div class="rq-failed-actions">
+
+ <div class="rq-failed-row-actions">
<t-popconfirm
theme="warning"
:content="t('system.globalSettings.runtime.failedTasks.retryConfirm')"
@confirm="retryFailedTask(task)"
>
<t-button
+ shape="square"
+ variant="text"
size="small"
+ class="rq-failed-icon-btn"
+ :title="t('system.globalSettings.runtime.failedTasks.retryOnce')"
+ :aria-label="t('system.globalSettings.runtime.failedTasks.retryOnce')"
:loading="failedTaskActionID === task.id && failedTaskAction === 'retry'"
:disabled="Boolean(failedTaskActionID)"
>
- <template #icon><t-icon name="refresh" /></template>
- {{ t('system.globalSettings.runtime.failedTasks.retryOnce') }}
+ <t-icon name="refresh" />
</t-button>
</t-popconfirm>
<t-popconfirm
@@ -334,37 +359,57 @@
@confirm="removeFailedTask(task)"
>
<t-button
- size="small"
+ shape="square"
variant="text"
+ size="small"
theme="danger"
+ class="rq-failed-icon-btn"
+ :title="t('system.globalSettings.runtime.failedTasks.deleteRecord')"
+ :aria-label="t('system.globalSettings.runtime.failedTasks.deleteRecord')"
:loading="failedTaskActionID === task.id && failedTaskAction === 'delete'"
:disabled="Boolean(failedTaskActionID)"
>
- {{ t('system.globalSettings.runtime.failedTasks.deleteRecord') }}
+ <t-icon name="delete" />
</t-button>
</t-popconfirm>
</div>
</article>
- <t-button
- v-if="failedTasksHasMore"
- variant="outline"
- class="rq-failed-load-more"
- :loading="failedTasksLoading"
- @click="loadMoreFailedTasks"
- >
- {{ t('system.globalSettings.runtime.failedTasks.loadMore') }}
- </t-button>
+ <div ref="failedTasksSentinelRef" class="rq-failed-load-sentinel" aria-hidden="true" />
+
+ <div class="rq-failed-list-footer">
+ <span class="rq-failed-list-status">
+ <template v-if="failedTasksLoadingMore">
+ {{ t('system.globalSettings.runtime.failedTasks.loadingMore') }}
+ </template>
+ <template v-else-if="!failedTasksHasMore">
+ {{ t('system.globalSettings.runtime.failedTasks.loadedAll', { count: failedTasks.length }) }}
+ </template>
+ <template v-else>
+ {{ t('system.globalSettings.runtime.failedTasks.loadedSummary', { count: failedTasks.length }) }}
+ </template>
+ </span>
+ <t-button
+ v-if="failedTasksHasMore"
+ variant="outline"
+ block
+ :loading="failedTasksLoadingMore"
+ @click="loadMoreFailedTasks"
+ >
+ {{ t('system.globalSettings.runtime.failedTasks.loadMore') }}
+ </t-button>
+ </div>
</div>
- </div>
- </t-drawer>
+ </section>
+ </SettingDrawer>
</div>
</template>
<script setup lang="ts">
-import { ref, computed, onMounted, onUnmounted, watch } from 'vue'
+import { ref, computed, onMounted, onUnmounted, watch, nextTick } from 'vue'
import { useI18n } from 'vue-i18n'
import { MessagePlugin } from 'tdesign-vue-next'
+import SettingDrawer from '@/components/settings/SettingDrawer.vue'
import {
deleteRuntimeFailedTask,
getRuntimeFailedTasks,
@@ -394,9 +439,11 @@ const failedTasksVisible = ref(false)
const failedTaskQueue = ref<QueueStat | null>(null)
const failedTasks = ref<RuntimeFailedTask[]>([])
const failedTasksLoading = ref(false)
+const failedTasksLoadingMore = ref(false)
const failedTasksError = ref('')
const failedTasksPage = ref(1)
const failedTasksHasMore = ref(false)
+const failedTasksSentinelRef = ref<HTMLElement | null>(null)
const failedTaskActionID = ref('')
const failedTaskAction = ref<'retry' | 'delete' | ''>('')
@@ -423,20 +470,21 @@ const failedTaskTypeKeys: Record<string, string> = {
}
let pollTimer: ReturnType<typeof setInterval> | null = null
+let failedTasksScrollObserver: IntersectionObserver | null = null
const columns = computed(() => [
{ colKey: 'name', title: t('system.globalSettings.runtime.columns.queue'), minWidth: 188 },
- { colKey: 'active', title: t('system.globalSettings.runtime.columns.active'), width: 74, align: 'right' as const },
- { colKey: 'pending', title: t('system.globalSettings.runtime.columns.pending'), width: 84, align: 'right' as const },
- { colKey: 'retry', title: t('system.globalSettings.runtime.columns.retry'), width: 68, align: 'right' as const },
- { colKey: 'archived', title: t('system.globalSettings.runtime.columns.archived'), width: 96, align: 'right' as const },
- { colKey: 'latency_ms', title: t('system.globalSettings.runtime.columns.latency'), width: 104, align: 'right' as const },
+ { colKey: 'active', title: t('system.globalSettings.runtime.columns.active'), width: 74, align: 'center' as const },
+ { colKey: 'pending', title: t('system.globalSettings.runtime.columns.pending'), width: 84, align: 'center' as const },
+ { colKey: 'retry', title: t('system.globalSettings.runtime.columns.retry'), width: 68, align: 'center' as const },
+ { colKey: 'archived', title: t('system.globalSettings.runtime.columns.archived'), width: 96, align: 'center' as const },
+ { colKey: 'latency_ms', title: t('system.globalSettings.runtime.columns.latency'), width: 104, align: 'center' as const },
{ colKey: 'status', title: t('system.globalSettings.runtime.columns.status'), width: 96 },
])
const modelColumns = computed(() => [
{ colKey: 'model_id', title: t('system.globalSettings.runtime.models.columns.model'), minWidth: 240 },
- { colKey: 'active', title: t('system.globalSettings.runtime.models.columns.active'), width: 86, align: 'right' as const },
- { colKey: 'waiting', title: t('system.globalSettings.runtime.models.columns.waiting'), width: 86, align: 'right' as const },
+ { colKey: 'active', title: t('system.globalSettings.runtime.models.columns.active'), width: 86, align: 'center' as const },
+ { colKey: 'waiting', title: t('system.globalSettings.runtime.models.columns.waiting'), width: 86, align: 'center' as const },
{ colKey: 'usage', title: t('system.globalSettings.runtime.models.columns.usage'), width: 190 },
{ colKey: 'status', title: t('system.globalSettings.runtime.columns.status'), width: 96 },
])
@@ -471,6 +519,14 @@ function queueDescription(name: string): string {
return te(path) ? (t(path) as string) : name
}
+function queueMeta(row: QueueStat): string {
+ const scope = queueDescription(row.name)
+ if (poolQueueCount(row.pool) > 1) {
+ return `${scope} · ${t('system.globalSettings.runtime.weightShort', { value: row.weight })}`
+ }
+ return scope
+}
+
function failedTaskTypeLabel(type: string): string {
const key = failedTaskTypeKeys[type]
if (!key) return type
@@ -478,27 +534,57 @@ function failedTaskTypeLabel(type: string): string {
return te(path) ? (t(path) as string) : type
}
-function failedTaskTarget(task: RuntimeFailedTask): string {
- const parts: string[] = []
+interface FailedTaskRef {
+ key: string
+ label: string
+ value: string
+}
+
+function failedTaskRefs(task: RuntimeFailedTask): FailedTaskRef[] {
+ const refs: FailedTaskRef[] = []
if (task.knowledge_base_id) {
- parts.push(t('system.globalSettings.runtime.failedTasks.knowledgeBase', { id: task.knowledge_base_id }))
+ refs.push({
+ key: 'kb',
+ label: t('system.globalSettings.runtime.failedTasks.knowledgeBaseLabel'),
+ value: task.knowledge_base_id,
+ })
}
if (task.knowledge_id) {
- parts.push(t('system.globalSettings.runtime.failedTasks.knowledge', { id: task.knowledge_id }))
+ refs.push({
+ key: 'knowledge',
+ label: t('system.globalSettings.runtime.failedTasks.knowledgeLabel'),
+ value: task.knowledge_id,
+ })
}
if (task.task_id) {
- parts.push(t('system.globalSettings.runtime.failedTasks.taskID', { id: task.task_id }))
+ refs.push({
+ key: 'task',
+ label: t('system.globalSettings.runtime.failedTasks.taskIDLabel'),
+ value: task.task_id,
+ })
}
- if (parts.length === 0 && task.tenant_id) {
- parts.push(t('system.globalSettings.runtime.failedTasks.tenant', { id: task.tenant_id }))
+ if (refs.length === 0 && task.tenant_id) {
+ refs.push({
+ key: 'tenant',
+ label: t('system.globalSettings.runtime.failedTasks.tenantLabel'),
+ value: String(task.tenant_id),
+ })
}
- return parts.join(' · ') || t('system.globalSettings.runtime.failedTasks.unknownTarget')
+ return refs
}
function formatFailedAt(value: string): string {
const date = new Date(value)
if (Number.isNaN(date.getTime())) return '—'
- return date.toLocaleString(locale.value, { hour12: false })
+ return date.toLocaleString(locale.value, {
+ year: 'numeric',
+ month: '2-digit',
+ day: '2-digit',
+ hour: '2-digit',
+ minute: '2-digit',
+ second: '2-digit',
+ hour12: false,
+ })
}
function poolLabel(pool: string): string {
@@ -551,27 +637,61 @@ function queueState(row: QueueStat): { label: string; tone: string } {
async function fetchFailedTasks(reset: boolean) {
const queue = failedTaskQueue.value?.name
if (!queue) return
+ if (!reset && (failedTasksLoadingMore.value || !failedTasksHasMore.value)) return
+
+ const page = reset ? 1 : failedTasksPage.value + 1
if (reset) {
failedTasksPage.value = 1
failedTasks.value = []
+ failedTasksLoading.value = true
+ } else {
+ failedTasksLoadingMore.value = true
}
- failedTasksLoading.value = true
failedTasksError.value = ''
try {
- const response = await getRuntimeFailedTasks(queue, failedTasksPage.value, FAILED_TASK_PAGE_SIZE)
+ const response = await getRuntimeFailedTasks(queue, page, FAILED_TASK_PAGE_SIZE)
if (!response.available) {
failedTasksError.value = t('system.globalSettings.runtime.failedTasks.unavailable')
return
}
failedTasks.value = reset ? response.tasks : [...failedTasks.value, ...response.tasks]
+ failedTasksPage.value = page
failedTasksHasMore.value = response.has_more
} catch (err: any) {
failedTasksError.value = err?.message || t('system.globalSettings.runtime.failedTasks.loadError')
} finally {
- failedTasksLoading.value = false
+ if (reset) {
+ failedTasksLoading.value = false
+ } else {
+ failedTasksLoadingMore.value = false
+ }
+ await nextTick()
+ attachFailedTasksScrollObserver()
}
}
+function detachFailedTasksScrollObserver() {
+ failedTasksScrollObserver?.disconnect()
+ failedTasksScrollObserver = null
+}
+
+function attachFailedTasksScrollObserver() {
+ detachFailedTasksScrollObserver()
+ const sentinel = failedTasksSentinelRef.value
+ if (!sentinel || !failedTasksVisible.value || !failedTasksHasMore.value) return
+ const root = sentinel.closest('.t-drawer__body') as HTMLElement | null
+ if (!root) return
+ failedTasksScrollObserver = new IntersectionObserver(
+ (entries) => {
+ if (entries.some((entry) => entry.isIntersecting)) {
+ void loadMoreFailedTasks()
+ }
+ },
+ { root, rootMargin: '96px 0px', threshold: 0 },
+ )
+ failedTasksScrollObserver.observe(sentinel)
+}
+
function openFailedTasks(row: QueueStat) {
failedTaskQueue.value = row
failedTasksVisible.value = true
@@ -583,7 +703,7 @@ function reloadFailedTasks() {
}
function loadMoreFailedTasks() {
- failedTasksPage.value += 1
+ if (failedTasksLoading.value || failedTasksLoadingMore.value || !failedTasksHasMore.value) return
return fetchFailedTasks(false)
}
@@ -666,12 +786,30 @@ watch(autoRefresh, (on) => {
else stopPolling()
})
+watch(failedTasksVisible, async (open) => {
+ if (!open) {
+ detachFailedTasksScrollObserver()
+ return
+ }
+ await nextTick()
+ attachFailedTasksScrollObserver()
+}, { flush: 'post' })
+
+watch(failedTasksHasMore, async () => {
+ if (!failedTasksVisible.value) return
+ await nextTick()
+ attachFailedTasksScrollObserver()
+})
+
onMounted(() => {
load(true)
startPolling()
})
-onUnmounted(() => stopPolling())
+onUnmounted(() => {
+ stopPolling()
+ detachFailedTasksScrollObserver()
+})
</script>
<style lang="less" scoped>
@@ -895,6 +1033,27 @@ onUnmounted(() => stopPolling())
margin-bottom: 30px;
}
+.rq-section-title {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ margin: 0 0 6px;
+ color: var(--td-text-color-primary);
+ font-size: 15px;
+ font-weight: 600;
+ line-height: 1.35;
+ user-select: none;
+
+ &::before {
+ content: '';
+ flex-shrink: 0;
+ width: 3px;
+ height: 15px;
+ border-radius: 2px;
+ background: var(--td-brand-color);
+ }
+}
+
.rq-pools-header {
display: flex;
align-items: flex-start;
@@ -902,13 +1061,6 @@ onUnmounted(() => stopPolling())
gap: 20px;
margin-bottom: 14px;
- h3 {
- margin: 0 0 6px;
- color: var(--td-text-color-primary);
- font-size: 16px;
- font-weight: 600;
- }
-
p {
margin: 0;
color: var(--td-text-color-secondary);
@@ -996,13 +1148,6 @@ onUnmounted(() => stopPolling())
gap: 20px;
margin-bottom: 14px;
- h3 {
- margin: 0 0 6px;
- color: var(--td-text-color-primary);
- font-size: 16px;
- font-weight: 600;
- }
-
p {
margin: 0;
color: var(--td-text-color-secondary);
@@ -1021,23 +1166,96 @@ onUnmounted(() => stopPolling())
font-variant-numeric: tabular-nums;
}
-.rq-failed-alert {
+.rq-failed-notice {
+ display: flex;
+ align-items: flex-start;
+ gap: 12px;
margin-bottom: 14px;
+ padding: 12px 14px;
+ border: 1px solid var(--td-component-stroke);
+ border-radius: 10px;
+ background: var(--td-bg-color-container);
+}
+
+.rq-failed-notice__icon {
+ display: grid;
+ flex-shrink: 0;
+ width: 28px;
+ height: 28px;
+ place-items: center;
+ border-radius: 8px;
+ color: var(--td-error-color);
+ font-size: 16px;
+ background: color-mix(in srgb, var(--td-error-color) 10%, transparent);
}
-.rq-failed-alert-copy,
-.rq-failed-guide-copy {
+.rq-failed-notice__text {
display: flex;
+ min-width: 0;
+ flex: 1;
flex-direction: column;
- gap: 4px;
+ gap: 2px;
+}
+
+.rq-failed-notice__title {
+ margin: 0;
+ color: var(--td-text-color-primary);
+ font-size: 13px;
+ font-weight: 600;
+ line-height: 1.45;
+ font-variant-numeric: tabular-nums;
+}
+
+.rq-failed-notice__desc {
+ margin: 0;
+ color: var(--td-text-color-secondary);
+ font-size: 12px;
line-height: 1.55;
+}
- strong {
- color: var(--td-text-color-primary);
- font-weight: 600;
+.rq-failed-guide-desc {
+ margin: 0;
+ color: var(--td-text-color-secondary);
+ font-size: 13px;
+ line-height: 1.6;
+}
+
+.rq-failed-section-head {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 12px;
+ margin-bottom: 4px;
+
+ .setting-drawer__section-title {
+ margin-bottom: 0;
}
}
+.rq-failed-loading {
+ display: flex;
+ min-height: 180px;
+ align-items: center;
+ justify-content: center;
+ gap: 10px;
+ color: var(--td-text-color-secondary);
+ font-size: 13px;
+}
+
+.rq-failed-error-state {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 12px;
+ padding: 12px 14px;
+ border: 1px solid var(--td-component-stroke);
+ border-radius: 10px;
+ color: var(--td-text-color-secondary);
+ font-size: 13px;
+ line-height: 1.55;
+ background: var(--td-bg-color-container);
+}
+
.rq-empty {
display: flex;
min-height: 180px;
@@ -1069,9 +1287,13 @@ onUnmounted(() => stopPolling())
}
.rq-queue-meta {
+ display: -webkit-box;
+ overflow: hidden;
+ -webkit-box-orient: vertical;
+ -webkit-line-clamp: 2;
color: var(--td-text-color-placeholder);
font-size: 12px;
- line-height: 1.4;
+ line-height: 1.45;
}
.rq-number,
@@ -1111,7 +1333,7 @@ onUnmounted(() => stopPolling())
.rq-backlog {
display: flex;
- align-items: flex-end;
+ align-items: center;
flex-direction: column;
gap: 1px;
@@ -1172,6 +1394,7 @@ onUnmounted(() => stopPolling())
font-size: 12px;
font-weight: 500;
letter-spacing: 0.01em;
+ white-space: nowrap;
background-color: var(--td-bg-color-secondarycontainer) !important;
}
@@ -1183,6 +1406,16 @@ onUnmounted(() => stopPolling())
font-variant-numeric: tabular-nums;
}
+ /* Metric columns: center short numbers under multi-char headers. */
+ &:deep(.t-table th.t-align-center),
+ &:deep(.t-table td.t-align-center) {
+ text-align: center;
+ }
+
+ &:deep(td.t-align-center .rq-failed-count) {
+ margin-inline: auto;
+ }
+
&:deep(.t-table__body tr:last-child td) {
border-bottom: 0;
}
@@ -1195,127 +1428,145 @@ onUnmounted(() => stopPolling())
line-height: 1.55;
}
-.rq-failed-drawer-inner {
+.rq-failed-list-panel {
+ overflow: hidden;
+ border: 1px solid var(--td-component-stroke);
+ border-radius: 10px;
+ background: var(--td-bg-color-container);
+}
+
+.rq-failed-row {
display: flex;
- min-height: 100%;
- flex-direction: column;
- gap: 16px;
+ align-items: flex-start;
+ gap: 8px;
+ padding: 12px 12px 12px 16px;
+ border-bottom: 1px solid var(--td-component-stroke);
+
+ &:last-of-type {
+ border-bottom: 0;
+ }
}
-.rq-failed-toolbar {
+.rq-failed-row-content {
display: flex;
- align-items: center;
- justify-content: space-between;
- gap: 16px;
- color: var(--td-text-color-secondary);
- font-size: 13px;
- line-height: 1.55;
+ min-width: 0;
+ flex: 1;
+ flex-direction: column;
+ gap: 4px;
}
-.rq-failed-loading {
+.rq-failed-row-summary {
display: flex;
- min-height: 180px;
align-items: center;
- justify-content: center;
- gap: 10px;
+ flex-wrap: wrap;
+ gap: 6px;
+ min-width: 0;
color: var(--td-text-color-secondary);
+ font-size: 12px;
+ line-height: 1.45;
+}
+
+.rq-failed-row-type {
+ color: var(--td-text-color-primary);
font-size: 13px;
+ font-weight: 600;
}
-.rq-failed-list {
- display: flex;
- flex-direction: column;
- gap: 12px;
+.rq-failed-row-sep {
+ color: var(--td-text-color-placeholder);
+}
+
+.rq-failed-row-stat,
+.rq-failed-row-summary time {
+ font-variant-numeric: tabular-nums;
}
-.rq-failed-card {
+.rq-failed-row-refs {
display: flex;
flex-direction: column;
- gap: 12px;
- padding: 16px;
- border: 1px solid var(--td-component-stroke);
- border-radius: 10px;
- background: var(--td-bg-color-container);
+ gap: 4px;
+ margin: 2px 0 0;
}
-.rq-failed-card-head {
- display: flex;
- align-items: flex-start;
- justify-content: space-between;
- gap: 16px;
+.rq-failed-ref {
+ display: grid;
+ grid-template-columns: 72px minmax(0, 1fr);
+ gap: 8px;
+ align-items: baseline;
+ margin: 0;
- time {
- flex-shrink: 0;
+ dt {
+ margin: 0;
color: var(--td-text-color-placeholder);
font-size: 12px;
- font-variant-numeric: tabular-nums;
- }
-}
-
-.rq-failed-card-title {
- display: flex;
- min-width: 0;
- flex-direction: column;
- gap: 3px;
-
- strong {
- color: var(--td-text-color-primary);
- font-size: 14px;
- font-weight: 600;
+ line-height: 1.45;
+ white-space: nowrap;
}
- code {
+ dd {
+ margin: 0;
overflow: hidden;
- color: var(--td-text-color-placeholder);
+ color: var(--td-text-color-secondary);
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
font-size: 11px;
+ line-height: 1.45;
text-overflow: ellipsis;
white-space: nowrap;
}
}
-.rq-failed-meta {
- display: flex;
- flex-wrap: wrap;
- gap: 6px 16px;
- color: var(--td-text-color-secondary);
+.rq-failed-row-unknown {
+ margin: 2px 0 0;
+ color: var(--td-text-color-placeholder);
font-size: 12px;
- line-height: 1.5;
- overflow-wrap: anywhere;
+ line-height: 1.45;
}
-.rq-failed-error {
- padding: 12px;
- border-radius: 8px;
+.rq-failed-row-error {
+ margin: 8px 0 0;
+ padding: 8px 10px;
+ border-radius: 6px;
+ color: var(--td-text-color-primary);
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
+ font-size: 11px;
+ line-height: 1.55;
+ overflow-wrap: anywhere;
+ white-space: pre-wrap;
background: var(--td-bg-color-secondarycontainer);
+}
- > span {
- color: var(--td-text-color-secondary);
- font-size: 12px;
- font-weight: 500;
- }
+.rq-failed-row-actions {
+ display: flex;
+ flex-shrink: 0;
+ align-items: center;
+ gap: 0;
+ margin-top: -2px;
+}
- p {
- margin: 6px 0 0;
- color: var(--td-text-color-primary);
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
- font-size: 12px;
- line-height: 1.55;
- overflow-wrap: anywhere;
- white-space: pre-wrap;
- }
+.rq-failed-icon-btn {
+ width: 28px;
+ height: 28px;
}
-.rq-failed-actions {
+.rq-failed-load-sentinel {
+ height: 1px;
+}
+
+.rq-failed-list-footer {
display: flex;
- align-items: center;
- justify-content: flex-end;
- gap: 8px;
+ flex-direction: column;
+ gap: 10px;
+ padding: 12px 16px 14px;
+ border-top: 1px solid var(--td-component-stroke);
+ background: var(--td-bg-color-secondarycontainer);
}
-.rq-failed-load-more {
- align-self: center;
- min-width: 120px;
+.rq-failed-list-status {
+ color: var(--td-text-color-placeholder);
+ font-size: 12px;
+ line-height: 1.5;
+ text-align: center;
+ font-variant-numeric: tabular-nums;
}
@media (max-width: 860px) {
@@ -1374,22 +1625,12 @@ onUnmounted(() => stopPolling())
}
}
- .rq-failed-toolbar,
- .rq-failed-card-head {
- align-items: flex-start;
- flex-direction: column;
+ .rq-failed-row {
+ padding: 12px;
}
- .rq-failed-actions {
- justify-content: flex-start;
+ .rq-failed-row-summary {
+ gap: 4px;
}
}
</style>
-
-<style lang="less">
-.t-drawer.rq-failed-drawer.t-drawer--right .t-drawer__content-wrapper--right {
- box-sizing: border-box;
- width: min(680px, 100vw) !important;
- max-width: 100vw;
-}
-</style>