diff --git a/frontend/src/i18n/locales/en-US.ts b/frontend/src/i18n/locales/en-US.ts index 5c0d877a..ff9675d0 100755 --- a/frontend/src/i18n/locales/en-US.ts +++ b/frontend/src/i18n/locales/en-US.ts @@ -3463,52 +3463,58 @@ export default { pageActions: 'Page actions', tabDocuments: 'Documents', tabGallery: 'Gallery', + tabDocumentsTip: 'Upload and manage the source documents', + tabWikiTip: 'Wiki pages compiled automatically from the documents', + tabGalleryTip: 'Browse every image extracted from the documents', + viewTabs: 'Knowledge base views', gallery: { - panelFilter: 'Filter', - panelSearch: 'Search', - enableFilter: 'Enable filter', - searchAll: 'Search all fields', - verdictDefault: '-', - verdictOff: 'off', - verdictOn: 'on', - searchScope: 'Search scope', - scopeAll: 'All', - scopeCustom: 'Custom', - filterScope: 'Filter', - filterOff: 'Show all', - filterOn: 'Custom', - editSearch: 'Open search settings', - editFilter: 'Open filter settings', - pin: 'Pin to the right', - unpin: 'Unpin', title: 'Gallery', - searchPlaceholder: 'Search image content', - sortByLabel: 'Sort by', + allImages: 'All images', + count: '{count} images', + countFiltered: '{count} matching', + searchPlaceholder: 'Search captions or image text', + filters: 'Filters', + clearFilters: 'Clear filters', + searchIn: 'Search in', + searchInHint: 'Keywords only match the ticked content', + attrSection: 'Image attributes', + attrHint: '"Hide" removes images with that value; "Always show" keeps them even when another rule hides them', + verdictDefault: 'Any', + verdictOff: 'Hide', + verdictOn: 'Always show', + keywordsPlaceholder: 'Separate keywords with commas', + noAttrs: 'No attributes to filter by', + sort: 'Sort', + sortField: 'Sort by', + sortOrder: 'Order', orderAsc: 'Ascending', orderDesc: 'Descending', - filtersTitle: 'Filters', - searchFields: 'Search fields', - modeAll: 'All fields', - modeCustom: 'Custom', - keywordsPlaceholder: 'Separate keywords with commas', - applyAll: 'Apply to all attributes', - count: '{count} images', - empty: 'No images in this knowledge base yet', - emptyFiltered: 'No images match the current filters', - attrSection: 'Image attributes', - noAttrs: 'No image attributes available', - attributes: 'Attributes', - caption: 'Caption', - ocr: 'OCR text', - source: 'Source', - noCaption: 'No caption', - noOcr: 'No OCR text', - chunkType: 'Type', - viewerClose: 'Close', - prev: 'Previous', - next: 'Next', - openSource: 'Open source document', + empty: 'No images to browse yet', + emptyHint: 'Images in your documents appear here once parsing finishes', + emptyFiltered: 'No images match these filters', imageLoadError: 'Image failed to load', + noCaption: 'No caption', + noOcr: 'No text recognized', + caption: 'Caption', + ocr: 'Text in image (OCR)', + attributes: 'Attributes', + source: 'Source document', + details: 'Details', + dimensions: 'Size', + status: 'Status', + openSource: 'Open source document', + copy: 'Copy', + zoomIn: 'Zoom in (+)', + zoomOut: 'Zoom out (-)', + zoomReset: 'Fit to window (0)', + actualSize: 'Actual size', + rotate: 'Rotate (R)', + download: 'Download', + openOriginal: 'Open in new tab', + toggleInfo: 'Image info (I)', + viewerClose: 'Close (Esc)', + prev: 'Previous (←)', + next: 'Next (→)', // Display names for the builtin attributes the gallery itself // declares. Attributes contributed by other sources fall back to the // pipeline's own wording (see the imageAttr namespace). diff --git a/frontend/src/i18n/locales/ja-JP.ts b/frontend/src/i18n/locales/ja-JP.ts index cb3c6938..df0c1562 100644 --- a/frontend/src/i18n/locales/ja-JP.ts +++ b/frontend/src/i18n/locales/ja-JP.ts @@ -3463,52 +3463,58 @@ export default { pageActions: 'ページ操作', tabDocuments: 'ドキュメント', tabGallery: 'ギャラリー', + tabDocumentsTip: '元のドキュメントをアップロード・管理', + tabWikiTip: 'ドキュメントから自動で整理された Wiki ページ', + tabGalleryTip: 'ドキュメントから抽出されたすべての画像を閲覧', + viewTabs: 'ナレッジベースのビュー', gallery: { - panelFilter: 'フィルター設定', - panelSearch: '検索設定', - enableFilter: 'フィルター有効', - searchAll: '全フィールド検索', - verdictDefault: '-', - verdictOff: 'off', - verdictOn: 'on', - searchScope: '検索範囲', - scopeAll: 'すべて', - scopeCustom: 'カスタム', - filterScope: 'フィルター', - filterOff: 'すべて表示', - filterOn: 'カスタム', - editSearch: '検索設定を開く', - editFilter: 'フィルター設定を開く', - pin: '右側に固定', - unpin: '固定を解除', title: 'ギャラリー', - searchPlaceholder: '画像の内容を検索', - sortByLabel: '並べ替え', + allImages: 'すべての画像', + count: '{count} 枚', + countFiltered: '{count} 枚が該当', + searchPlaceholder: '説明や画像内の文字を検索', + filters: 'フィルター', + clearFilters: 'フィルターをクリア', + searchIn: '検索対象', + searchInHint: 'キーワードはチェックした内容だけで照合します', + attrSection: '画像属性', + attrHint: '「非表示」はその値を持つ画像を除外し、「常に表示」は他の条件で非表示になっても残します', + verdictDefault: '指定なし', + verdictOff: '非表示', + verdictOn: '常に表示', + keywordsPlaceholder: 'キーワードはカンマで区切る', + noAttrs: '絞り込める属性はありません', + sort: '並べ替え', + sortField: '並べ替え基準', + sortOrder: '順序', orderAsc: '昇順', orderDesc: '降順', - filtersTitle: 'フィルター', - searchFields: '検索フィールド', - modeAll: 'すべてのフィールド', - modeCustom: 'カスタム', - keywordsPlaceholder: 'キーワードはカンマで区切る', - applyAll: '全属性に一括設定', - count: '{count} 枚の画像', - empty: 'このナレッジベースに画像はまだありません', - emptyFiltered: '現在のフィルターに一致する画像はありません', - attrSection: '画像属性', - noAttrs: '画像属性はありません', - attributes: '属性', - caption: '説明', - ocr: 'OCR テキスト', - source: 'ソース', - noCaption: '説明なし', - noOcr: 'OCR テキストなし', - chunkType: '種類', - viewerClose: '閉じる', - prev: '前へ', - next: '次へ', - openSource: 'ソース文書を開く', + empty: '閲覧できる画像はまだありません', + emptyHint: 'ドキュメント内の画像は解析完了後にここに表示されます', + emptyFiltered: '条件に一致する画像はありません', imageLoadError: '画像の読み込みに失敗しました', + noCaption: '説明なし', + noOcr: '文字は認識されませんでした', + caption: '説明', + ocr: '画像内の文字(OCR)', + attributes: '属性', + source: '元のドキュメント', + details: '詳細', + dimensions: 'サイズ', + status: '状態', + openSource: '元のドキュメントを開く', + copy: 'コピー', + zoomIn: '拡大 (+)', + zoomOut: '縮小 (-)', + zoomReset: 'ウィンドウに合わせる (0)', + actualSize: '実寸', + rotate: '回転 (R)', + download: 'ダウンロード', + openOriginal: '新しいタブで開く', + toggleInfo: '画像情報 (I)', + viewerClose: '閉じる (Esc)', + prev: '前へ (←)', + next: '次へ (→)', // Display names for the builtin attributes the gallery itself // declares. Attributes contributed by other sources fall back to the // pipeline's own wording (see the imageAttr namespace). diff --git a/frontend/src/i18n/locales/ko-KR.ts b/frontend/src/i18n/locales/ko-KR.ts index 32256a35..7d3a5f4a 100755 --- a/frontend/src/i18n/locales/ko-KR.ts +++ b/frontend/src/i18n/locales/ko-KR.ts @@ -4443,52 +4443,58 @@ export default { pageActions: '페이지 작업', tabDocuments: '문서', tabGallery: '갤러리', + tabDocumentsTip: '원본 문서를 업로드하고 관리합니다', + tabWikiTip: '문서에서 자동으로 정리된 Wiki 페이지', + tabGalleryTip: '문서에서 추출한 모든 이미지를 둘러봅니다', + viewTabs: '지식베이스 보기', gallery: { - panelFilter: '필터 설정', - panelSearch: '검색 설정', - enableFilter: '필터 사용', - searchAll: '전체 필드 검색', - verdictDefault: '-', - verdictOff: 'off', - verdictOn: 'on', - searchScope: '검색 범위', - scopeAll: '전체', - scopeCustom: '사용자 지정', - filterScope: '필터', - filterOff: '전체 표시', - filterOn: '사용자 지정', - editSearch: '검색 설정 열기', - editFilter: '필터 설정 열기', - pin: '오른쪽에 고정', - unpin: '고정 해제', title: '갤러리', - searchPlaceholder: '이미지 내용 검색', - sortByLabel: '정렬', + allImages: '모든 이미지', + count: '{count}장', + countFiltered: '{count}장 일치', + searchPlaceholder: '설명 또는 이미지 속 텍스트 검색', + filters: '필터', + clearFilters: '필터 지우기', + searchIn: '검색 범위', + searchInHint: '키워드는 체크한 내용에서만 일치 여부를 확인합니다', + attrSection: '이미지 속성', + attrHint: '"숨기기"는 해당 값을 가진 이미지를 제외하고, "항상 표시"는 다른 조건으로 숨겨져도 유지합니다', + verdictDefault: '전체', + verdictOff: '숨기기', + verdictOn: '항상 표시', + keywordsPlaceholder: '키워드는 쉼표로 구분', + noAttrs: '필터링할 속성이 없습니다', + sort: '정렬', + sortField: '정렬 기준', + sortOrder: '순서', orderAsc: '오름차순', orderDesc: '내림차순', - filtersTitle: '필터', - searchFields: '검색 필드', - modeAll: '전체 필드', - modeCustom: '사용자 지정', - keywordsPlaceholder: '쉼표로 키워드 구분', - applyAll: '모든 속성에 일괄 적용', - count: '{count}개의 이미지', - empty: '이 지식 베이스에는 아직 이미지가 없습니다', - emptyFiltered: '현재 필터와 일치하는 이미지가 없습니다', - attrSection: '이미지 속성', - noAttrs: '사용 가능한 이미지 속성이 없습니다', - attributes: '속성', - caption: '설명', - ocr: 'OCR 텍스트', - source: '출처', - noCaption: '설명 없음', - noOcr: 'OCR 텍스트 없음', - chunkType: '유형', - viewerClose: '닫기', - prev: '이전', - next: '다음', - openSource: '출처 문서 열기', + empty: '아직 볼 수 있는 이미지가 없습니다', + emptyHint: '문서 속 이미지는 파싱이 끝나면 여기에 표시됩니다', + emptyFiltered: '조건에 맞는 이미지가 없습니다', imageLoadError: '이미지를 불러오지 못했습니다', + noCaption: '설명 없음', + noOcr: '인식된 텍스트 없음', + caption: '설명', + ocr: '이미지 속 텍스트(OCR)', + attributes: '속성', + source: '원본 문서', + details: '상세 정보', + dimensions: '크기', + status: '상태', + openSource: '원본 문서 열기', + copy: '복사', + zoomIn: '확대 (+)', + zoomOut: '축소 (-)', + zoomReset: '창에 맞추기 (0)', + actualSize: '원본 크기', + rotate: '회전 (R)', + download: '다운로드', + openOriginal: '새 탭에서 열기', + toggleInfo: '이미지 정보 (I)', + viewerClose: '닫기 (Esc)', + prev: '이전 (←)', + next: '다음 (→)', // Display names for the builtin attributes the gallery itself // declares. Attributes contributed by other sources fall back to the // pipeline's own wording (see the imageAttr namespace). diff --git a/frontend/src/i18n/locales/ru-RU.ts b/frontend/src/i18n/locales/ru-RU.ts index b05603bf..916776d3 100755 --- a/frontend/src/i18n/locales/ru-RU.ts +++ b/frontend/src/i18n/locales/ru-RU.ts @@ -4443,52 +4443,58 @@ export default { pageActions: 'Действия со страницей', tabDocuments: 'Документы', tabGallery: 'Галерея', + tabDocumentsTip: 'Загрузка исходных документов и управление ими', + tabWikiTip: 'Wiki-страницы, автоматически составленные из документов', + tabGalleryTip: 'Все изображения, извлечённые из документов', + viewTabs: 'Представления базы знаний', gallery: { - panelFilter: 'Фильтр', - panelSearch: 'Поиск', - enableFilter: 'Включить фильтр', - searchAll: 'Искать во всех полях', - verdictDefault: '-', - verdictOff: 'off', - verdictOn: 'on', - searchScope: 'Область поиска', - scopeAll: 'Все', - scopeCustom: 'Вручную', - filterScope: 'Фильтр', - filterOff: 'Показывать все', - filterOn: 'Вручную', - editSearch: 'Открыть настройки поиска', - editFilter: 'Открыть настройки фильтра', - pin: 'Закрепить справа', - unpin: 'Открепить', title: 'Галерея', - searchPlaceholder: 'Поиск по содержимому изображений', - sortByLabel: 'Сортировка', + allImages: 'Все изображения', + count: 'Изображений: {count}', + countFiltered: 'Найдено: {count}', + searchPlaceholder: 'Поиск по описанию или тексту на изображении', + filters: 'Фильтры', + clearFilters: 'Сбросить фильтры', + searchIn: 'Где искать', + searchInHint: 'Ключевые слова ищутся только в отмеченных полях', + attrSection: 'Атрибуты изображений', + attrHint: '«Скрыть» убирает изображения с этим значением; «Всегда показывать» оставляет их, даже если другое правило их скрывает', + verdictDefault: 'Любое', + verdictOff: 'Скрыть', + verdictOn: 'Всегда показывать', + keywordsPlaceholder: 'Ключевые слова через запятую', + noAttrs: 'Нет атрибутов для фильтрации', + sort: 'Сортировка', + sortField: 'Сортировать по', + sortOrder: 'Порядок', orderAsc: 'По возрастанию', orderDesc: 'По убыванию', - filtersTitle: 'Фильтры', - searchFields: 'Поля поиска', - modeAll: 'Все поля', - modeCustom: 'Свои поля', - keywordsPlaceholder: 'Разделяйте ключевые слова запятыми', - applyAll: 'Применить ко всем атрибутам', - count: '{count} изображений', - empty: 'В этой базе знаний пока нет изображений', - emptyFiltered: 'Нет изображений, соответствующих фильтрам', - attrSection: 'Атрибуты изображения', - noAttrs: 'Атрибуты изображения отсутствуют', - attributes: 'Атрибуты', - caption: 'Описание', - ocr: 'OCR-текст', - source: 'Источник', - noCaption: 'Нет описания', - noOcr: 'Нет OCR-текста', - chunkType: 'Тип', - viewerClose: 'Закрыть', - prev: 'Назад', - next: 'Вперёд', - openSource: 'Открыть исходный документ', + empty: 'Изображений пока нет', + emptyHint: 'Изображения из документов появятся здесь после завершения разбора', + emptyFiltered: 'Нет изображений, подходящих под фильтры', imageLoadError: 'Не удалось загрузить изображение', + noCaption: 'Нет описания', + noOcr: 'Текст не распознан', + caption: 'Описание', + ocr: 'Текст на изображении (OCR)', + attributes: 'Атрибуты', + source: 'Исходный документ', + details: 'Подробности', + dimensions: 'Размер', + status: 'Статус', + openSource: 'Открыть исходный документ', + copy: 'Копировать', + zoomIn: 'Увеличить (+)', + zoomOut: 'Уменьшить (-)', + zoomReset: 'По размеру окна (0)', + actualSize: 'Исходный размер', + rotate: 'Повернуть (R)', + download: 'Скачать', + openOriginal: 'Открыть в новой вкладке', + toggleInfo: 'Сведения (I)', + viewerClose: 'Закрыть (Esc)', + prev: 'Назад (←)', + next: 'Вперёд (→)', // Display names for the builtin attributes the gallery itself // declares. Attributes contributed by other sources fall back to the // pipeline's own wording (see the imageAttr namespace). diff --git a/frontend/src/i18n/locales/zh-CN.ts b/frontend/src/i18n/locales/zh-CN.ts index 504cf33a..79fc6b96 100755 --- a/frontend/src/i18n/locales/zh-CN.ts +++ b/frontend/src/i18n/locales/zh-CN.ts @@ -4444,53 +4444,59 @@ export default { editingBadge: '编辑中', pageActions: '页面操作', tabDocuments: '文档', - tabGallery: '图库', + tabGallery: '画廊', + tabDocumentsTip: '上传和管理原始文档', + tabWikiTip: '由文档自动整理生成的 Wiki 页面', + tabGalleryTip: '浏览从文档中解析出的全部图片', + viewTabs: '知识库视图', gallery: { - panelFilter: '筛选设置', - panelSearch: '搜索设置', - enableFilter: '开启筛选', - searchAll: '搜索全部字段', - verdictDefault: '-', - verdictOff: 'off', - verdictOn: 'on', - searchScope: '搜索范围', - scopeAll: '全部', - scopeCustom: '自定义', - filterScope: '筛选', - filterOff: '全显示', - filterOn: '自定义', - editSearch: '打开搜索设置', - editFilter: '打开筛选设置', - pin: '固定到右侧', - unpin: '取消固定', - title: '图库', - searchPlaceholder: '搜索图片内容', - sortByLabel: '排序', + title: '画廊', + allImages: '全部图片', + count: '共 {count} 张', + countFiltered: '筛选出 {count} 张', + searchPlaceholder: '搜索图片描述或文字', + filters: '筛选', + clearFilters: '清除筛选', + searchIn: '搜索范围', + searchInHint: '关键词只在勾选的内容中匹配', + attrSection: '图片属性', + attrHint: '「隐藏」不显示带该属性的图片;「始终显示」即使被其他条件隐藏也保留', + verdictDefault: '不限', + verdictOff: '隐藏', + verdictOn: '始终显示', + keywordsPlaceholder: '多个关键词用逗号分隔', + noAttrs: '暂无可筛选的属性', + sort: '排序', + sortField: '排序依据', + sortOrder: '顺序', orderAsc: '升序', orderDesc: '降序', - filtersTitle: '筛选', - searchFields: '搜索字段', - modeAll: '全部字段', - modeCustom: '自定义', - keywordsPlaceholder: '多个关键词用逗号分隔', - applyAll: '全部属性统一设置', - count: '{count} 张图片', - empty: '该知识库暂无可浏览的图片', - emptyFiltered: '没有符合当前筛选条件的图片', - attrSection: '图片属性', - noAttrs: '暂无图片属性', - attributes: '属性', - caption: '描述', - ocr: 'OCR 文本', - source: '来源', - noCaption: '无描述', - noOcr: '无 OCR 文本', - chunkType: '类型', - viewerClose: '关闭', - prev: '上一张', - next: '下一张', - openSource: '打开来源文档', + empty: '还没有可浏览的图片', + emptyHint: '文档中的图片在解析完成后会出现在这里', + emptyFiltered: '没有符合条件的图片', imageLoadError: '图片加载失败', + noCaption: '暂无描述', + noOcr: '未识别到文字', + caption: '描述', + ocr: '图中文字(OCR)', + attributes: '属性', + source: '来源文档', + details: '详细信息', + dimensions: '尺寸', + status: '状态', + openSource: '打开来源文档', + copy: '复制', + zoomIn: '放大 (+)', + zoomOut: '缩小 (-)', + zoomReset: '适应窗口 (0)', + actualSize: '原始尺寸', + rotate: '旋转 (R)', + download: '下载', + openOriginal: '在新标签页打开', + toggleInfo: '图片信息 (I)', + viewerClose: '关闭 (Esc)', + prev: '上一张 (←)', + next: '下一张 (→)', // Display names for the builtin attributes the gallery itself // declares. Attributes contributed by other sources fall back to the // pipeline's own wording (see the imageAttr namespace). diff --git a/frontend/src/views/knowledge/KnowledgeBase.vue b/frontend/src/views/knowledge/KnowledgeBase.vue index d8170d67..116a2654 100644 --- a/frontend/src/views/knowledge/KnowledgeBase.vue +++ b/frontend/src/views/knowledge/KnowledgeBase.vue @@ -109,6 +109,27 @@ const wikiIndexingTip = computed(() => { if (!wikiIsIndexing.value) return '' return t('knowledgeEditor.wikiBrowser.queueStatus', { count: wikiStatus.value.pendingTasks || 0 }) }) +// The views of this knowledge base, in header order. Wiki and graph only +// exist on wiki KBs; a stale wiki/graph tab on another KB renders documents, +// so the header marks documents active then too. +const kbViewTabs = computed(() => { + const w = 'knowledgeEditor.wikiBrowser' + const tabs: Array<{ key: KbTab; icon: string; label: string; tip: string; indexing?: boolean }> = [ + { key: 'documents', icon: 'file', label: t(`${w}.tabDocuments`), tip: t(`${w}.tabDocumentsTip`) }, + ] + if (isWiki.value) { + const indexing = wikiIsIndexing.value + tabs.push( + { key: 'wiki', icon: 'book-open', label: 'Wiki', tip: indexing ? wikiIndexingTip.value : t(`${w}.tabWikiTip`), indexing }, + { key: 'graph', icon: 'relation', label: t(`${w}.tabGraph`), tip: indexing ? wikiIndexingTip.value : t(`${w}.tabGraphTip`), indexing }, + ) + } + tabs.push({ key: 'gallery', icon: 'image', label: t(`${w}.tabGallery`), tip: t(`${w}.tabGalleryTip`) }) + return tabs +}) +const shownKbTab = computed(() => + kbViewTabs.value.some((tab) => tab.key === activeKbTab.value) ? activeKbTab.value : 'documents', +) const onWikiStatusChange = (payload: { pendingTasks: number; isActive: boolean; pendingIssues: number }) => { wikiStatus.value = payload } @@ -2258,33 +2279,17 @@ const handleKBEditorSuccess = (kbIdValue: string) => { - {{ $t('knowledgeEditor.wikiBrowser.tabDocuments') }} - - - {{ $t('knowledgeEditor.wikiBrowser.tabGallery') }} - +
@@ -2322,7 +2327,7 @@ const handleKBEditorSuccess = (kbIdValue: string) => {
- + @@ -2643,44 +2648,59 @@ const handleKBEditorSuccess = (kbIdValue: string) => { box-sizing: border-box; } -// Breadcrumb tab switch (文档/Wiki in breadcrumb) -.breadcrumb-tab { - cursor: pointer; - color: var(--td-text-color-placeholder); - font-weight: 400; - transition: color var(--app-motion-fast); +// View switch (文档 / Wiki / 图谱 / 画廊): a segmented control after the +// breadcrumb, drawn like the documents tab's view toggle so the four views +// read as siblings rather than as another breadcrumb level. +.kb-view-tabs { display: inline-flex; align-items: center; - gap: 4px; + gap: 2px; + margin-left: 2px; + padding: 3px; + border-radius: var(--app-radius-lg); + background: var(--td-bg-color-secondarycontainer); +} + +.kb-view-tab { + display: inline-flex; + align-items: center; + gap: 6px; + height: 28px; + padding: 0 12px; + border: 0; + border-radius: var(--app-radius-md); + background: transparent; + color: var(--td-text-color-secondary); + font-family: var(--app-font-family); + font-size: var(--app-text-base); + font-weight: 500; + line-height: 1; + white-space: nowrap; + cursor: pointer; + transition: color var(--app-motion-fast) ease, background-color var(--app-motion-fast) ease; &:hover { color: var(--td-text-color-primary); } &.active { + background: var(--td-bg-color-container); color: var(--td-brand-color); font-weight: 600; + box-shadow: 0 1px 3px rgb(0 0 0 / 8%); } - &.indexing { + &:focus-visible { + outline: 2px solid var(--app-focus-border); + outline-offset: 1px; + } + + &__indicator { + display: inline-flex; color: var(--td-brand-color); } } -.breadcrumb-tab-indicator { - display: inline-flex; - align-items: center; - color: var(--td-brand-color); - font-size: var(--app-text-sm); - line-height: 1; -} - -.breadcrumb-tab-sep { - margin: 0 6px; - color: var(--td-text-color-disabled); - font-weight: 400; -} - .wiki-main-area { flex: 1; min-height: 0; @@ -3102,7 +3122,9 @@ const handleKBEditorSuccess = (kbIdValue: string) => { .document-breadcrumb { display: flex; align-items: center; + flex-wrap: wrap; gap: 6px; + row-gap: 8px; margin: 0; font-size: var(--app-text-3xl); font-weight: 600; @@ -3120,6 +3142,7 @@ const handleKBEditorSuccess = (kbIdValue: string) => { display: inline-flex; align-items: center; gap: 4px; + white-space: nowrap; border-radius: var(--app-radius-sm); transition: all var(--app-motion-instant) ease; diff --git a/frontend/src/views/knowledge/gallery/GalleryViewer.vue b/frontend/src/views/knowledge/gallery/GalleryViewer.vue new file mode 100644 index 00000000..48c6f8e3 --- /dev/null +++ b/frontend/src/views/knowledge/gallery/GalleryViewer.vue @@ -0,0 +1,816 @@ + + + + + diff --git a/frontend/src/views/knowledge/gallery/ImageGallery.vue b/frontend/src/views/knowledge/gallery/ImageGallery.vue index ba1c34e9..e5eeeaba 100644 --- a/frontend/src/views/knowledge/gallery/ImageGallery.vue +++ b/frontend/src/views/knowledge/gallery/ImageGallery.vue @@ -1,5 +1,5 @@ - + +