Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix(web): improve dataset document segment accessibility (#42833)
Joel67c0157d0082
diff --git a/web/app/components/datasets/documents/detail/completed/common/__tests__/chunk-content.spec.tsx b/web/app/components/datasets/documents/detail/completed/common/__tests__/chunk-content.spec.tsxindex 3a7dc85cc6d..51dd7d40874 100644--- a/web/app/components/datasets/documents/detail/completed/common/__tests__/chunk-content.spec.tsx+++ b/web/app/components/datasets/documents/detail/completed/common/__tests__/chunk-content.spec.tsx@@ -77,6 +77,26 @@ describe('ChunkContent', () => {})})+ it('names the editable content', () => {+ render(<ChunkContent {...defaultProps} isEditMode={true} />)+ expect(+ screen.getByRole('textbox', { name: 'datasetDocuments.segment.contentPlaceholder' }),+ ).toBeInTheDocument()+ })++ it('names the question and answer fields', () => {+ render(+ <ChunkContent+ {...defaultProps}+ docForm={ChunkingMode.qa}+ answer="Test answer"+ isEditMode={true}+ />,+ )+ expect(screen.getByRole('textbox', { name: 'QUESTION' })).toBeInTheDocument()+ expect(screen.getByRole('textbox', { name: 'ANSWER' })).toBeInTheDocument()+ })+// QA mode testsdescribe('QA Mode', () => {it('should render QA layout when docForm is qa', () => {diff --git a/web/app/components/datasets/documents/detail/completed/common/__tests__/summary-text.spec.tsx b/web/app/components/datasets/documents/detail/completed/common/__tests__/summary-text.spec.tsxindex 47ca7b56f53..63b7b74c75d 100644--- a/web/app/components/datasets/documents/detail/completed/common/__tests__/summary-text.spec.tsx+++ b/web/app/components/datasets/documents/detail/completed/common/__tests__/summary-text.spec.tsx@@ -1,14 +1,7 @@-import type * as React from 'react'import { fireEvent, render, screen } from '@testing-library/react'import { beforeEach, describe, expect, it, vi } from 'vite-plus/test'import SummaryText from '../summary-text'-vi.mock('react-textarea-autosize', () => ({- default: (props: React.TextareaHTMLAttributes<HTMLTextAreaElement>) => (- <textarea data-testid="textarea" {...props} />- ),-}))-describe('SummaryText', () => {const onChange = vi.fn()@@ -23,22 +16,28 @@ describe('SummaryText', () => {it('should render value in textarea', () => {render(<SummaryText value="My summary" onChange={onChange} />)- expect(screen.getByTestId('textarea')).toHaveValue('My summary')+ expect(screen.getByRole('textbox', { name: 'datasetDocuments.segment.summary' })).toHaveValue(+ 'My summary',+ )})it('should render empty string when value is undefined', () => {render(<SummaryText onChange={onChange} />)- expect(screen.getByTestId('textarea')).toHaveValue('')+ expect(screen.getByRole('textbox', { name: 'datasetDocuments.segment.summary' })).toHaveValue(+ '',+ )})it('should call onChange when text changes', () => {render(<SummaryText value="" onChange={onChange} />)- fireEvent.change(screen.getByTestId('textarea'), { target: { value: 'new summary' } })+ fireEvent.change(screen.getByRole('textbox', { name: 'datasetDocuments.segment.summary' }), {+ target: { value: 'new summary' },+ })expect(onChange).toHaveBeenCalledWith('new summary')})it('should disable textarea when disabled', () => {render(<SummaryText value="text" disabled />)- expect(screen.getByTestId('textarea')).toBeDisabled()+ expect(screen.getByRole('textbox', { name: 'datasetDocuments.segment.summary' })).toBeDisabled()})})diff --git a/web/app/components/datasets/documents/detail/completed/common/chunk-content.tsx b/web/app/components/datasets/documents/detail/completed/common/chunk-content.tsxindex 92860eb74f3..ace2f36547e 100644--- a/web/app/components/datasets/documents/detail/completed/common/chunk-content.tsx+++ b/web/app/components/datasets/documents/detail/completed/common/chunk-content.tsx@@ -1,39 +1,21 @@-import type { ComponentProps, FC } from 'react'+import type { TextareaProps } from '@langgenius/dify-ui/textarea'+import type { FC } from 'react'import { cn } from '@langgenius/dify-ui/cn'+import { Textarea } from '@langgenius/dify-ui/textarea'import * as React from 'react'import { useEffect, useRef, useState } from 'react'import { useTranslation } from 'react-i18next'import { Markdown } from '@/app/components/base/markdown'import { ChunkingMode } from '@/models/datasets'--type IContentProps = ComponentProps<'textarea'>--const Textarea: FC<IContentProps> = React.memo(- ({ value, placeholder, className, disabled, ...rest }) => {- return (- <textarea- className={cn(- 'inset-0 w-full resize-none appearance-none overflow-y-auto border-none bg-transparent outline-hidden',- className,- )}- placeholder={placeholder}- value={value}- disabled={disabled}- {...rest}- />- )- },-)--Textarea.displayName = 'Textarea'--type IAutoResizeTextAreaProps = ComponentProps<'textarea'> & {+type IAutoResizeTextAreaProps = Omit<TextareaProps, 'defaultValue' | 'onValueChange' | 'value'> & {+ value: string+ onValueChange: (value: string) => voidcontainerRef: React.RefObject<HTMLDivElement | null>labelRef: React.RefObject<HTMLDivElement | null>}const AutoResizeTextArea: FC<IAutoResizeTextAreaProps> = React.memo(- ({ className, placeholder, value, disabled, containerRef, labelRef, ...rest }) => {+ ({ className, placeholder, value, onValueChange, disabled, containerRef, labelRef, ...rest }) => {const textareaRef = useRef<HTMLTextAreaElement>(null)const observerRef = useRef<ResizeObserver>(null)const [maxHeight, setMaxHeight] = useState(0)@@ -68,10 +50,10 @@ const AutoResizeTextArea: FC<IAutoResizeTextAreaProps> = React.memo(}, [])return (- <textarea+ <Textarearef={textareaRef}className={cn(- 'inset-0 w-full resize-none appearance-none border-none bg-transparent outline-hidden',+ 'min-h-0 resize-none rounded-none border-none bg-transparent p-0 hover:border-none hover:bg-transparent focus:border-none focus:bg-transparent focus:shadow-none focus-visible:ring-2 focus-visible:ring-state-accent-solid focus-visible:ring-inset disabled:bg-transparent disabled:text-text-secondary disabled:hover:bg-transparent',className,)}style={{@@ -79,6 +61,7 @@ const AutoResizeTextArea: FC<IAutoResizeTextAreaProps> = React.memo(}}placeholder={placeholder}value={value}+ onValueChange={onValueChange}disabled={disabled}{...rest}/>@@ -101,27 +84,37 @@ const QATextArea: FC<IQATextAreaProps> = React.memo(const { t } = useTranslation(['datasetDocuments'])const containerRef = useRef<HTMLDivElement>(null)const labelRef = useRef<HTMLDivElement>(null)+ const questionLabelId = React.useId()+ const answerLabelId = React.useId()return (<div ref={containerRef} className="h-full overflow-hidden">- <div ref={labelRef} className="mb-1 text-xs font-medium text-text-tertiary">+ <div+ id={questionLabelId}+ ref={labelRef}+ className="mb-1 text-xs font-medium text-text-tertiary"+ >QUESTION</div><AutoResizeTextAreaclassName="text-sm tracking-[-0.07px] text-text-secondary caret-[#295EFF]"value={question}+ aria-labelledby={questionLabelId}placeholder={t(($) => $['segment.questionPlaceholder'], { ns: 'datasetDocuments' }) || ''}- onChange={(e) => onQuestionChange(e.target.value)}+ onValueChange={(value) => onQuestionChange(value)}disabled={!isEditMode}containerRef={containerRef}labelRef={labelRef}/>- <div className="mt-6 mb-1 text-xs font-medium text-text-tertiary">ANSWER</div>+ <div id={answerLabelId} className="mt-6 mb-1 text-xs font-medium text-text-tertiary">+ ANSWER+ </div><AutoResizeTextAreaclassName="text-sm tracking-[-0.07px] text-text-secondary caret-[#295EFF]"- value={answer}+ value={answer ?? ''}+ aria-labelledby={answerLabelId}placeholder={t(($) => $['segment.answerPlaceholder'], { ns: 'datasetDocuments' }) || ''}- onChange={(e) => onAnswerChange?.(e.target.value)}+ onValueChange={(value) => onAnswerChange?.(value)}disabled={!isEditMode}autoFocuscontainerRef={containerRef}@@ -177,10 +170,11 @@ const ChunkContent: FC<IChunkContentProps> = ({return (<Textarea- className="h-full w-full pb-6 body-md-regular tracking-[-0.07px] text-text-secondary caret-[#295EFF]"+ className="h-full min-h-0 w-full resize-none rounded-none border-none bg-transparent p-0 pb-6 body-md-regular tracking-[-0.07px] text-text-secondary caret-[#295EFF] hover:border-none hover:bg-transparent focus:border-none focus:bg-transparent focus:shadow-none focus-visible:ring-2 focus-visible:ring-state-accent-solid focus-visible:ring-inset disabled:bg-transparent disabled:text-text-secondary disabled:hover:bg-transparent"value={question}+ aria-label={t(($) => $['segment.contentPlaceholder'], { ns: 'datasetDocuments' }) || ''}placeholder={t(($) => $['segment.contentPlaceholder'], { ns: 'datasetDocuments' }) || ''}- onChange={(e) => onQuestionChange(e.target.value)}+ onValueChange={(value) => onQuestionChange(value)}disabled={!isEditMode}autoFocus/>diff --git a/web/app/components/datasets/documents/detail/completed/common/segment-index-tag.tsx b/web/app/components/datasets/documents/detail/completed/common/segment-index-tag.tsxindex 4277627dd49..98260f7384f 100644--- a/web/app/components/datasets/documents/detail/completed/common/segment-index-tag.tsx+++ b/web/app/components/datasets/documents/detail/completed/common/segment-index-tag.tsx@@ -26,7 +26,7 @@ export const SegmentIndexTag: FC<ISegmentIndexTagProps> = ({return `${labelPrefix}-${positionIdStr.padStart(2, '0')}`}, [positionId, labelPrefix])return (- <div className={cn('flex items-center', className)}>+ <span className={cn('flex items-center', className)}><spanaria-hiddenclassName={cn(@@ -34,10 +34,10 @@ export const SegmentIndexTag: FC<ISegmentIndexTagProps> = ({iconClassName,)}/>- <div className={cn('system-xs-medium text-text-tertiary', labelClassName)}>+ <span className={cn('system-xs-medium text-text-tertiary', labelClassName)}>{label || localPositionId}- </div>- </div>+ </span>+ </span>)}diff --git a/web/app/components/datasets/documents/detail/completed/common/summary-text.tsx b/web/app/components/datasets/documents/detail/completed/common/summary-text.tsxindex 5d602ac747b..68cf9ac6dc6 100644--- a/web/app/components/datasets/documents/detail/completed/common/summary-text.tsx+++ b/web/app/components/datasets/documents/detail/completed/common/summary-text.tsx@@ -1,7 +1,6 @@-import { cn } from '@langgenius/dify-ui/cn'-import { memo } from 'react'+import { Textarea } from '@langgenius/dify-ui/textarea'+import { memo, useId } from 'react'import { useTranslation } from 'react-i18next'-import Textarea from 'react-textarea-autosize'type SummaryTextProps = {value?: string@@ -10,20 +9,20 @@ type SummaryTextProps = {}const SummaryText = ({ value, onChange, disabled }: SummaryTextProps) => {const { t } = useTranslation(['datasetDocuments'])+ const labelId = useId()return (<div className="space-y-1">- <div className="system-xs-medium-uppercase text-text-tertiary">+ <div id={labelId} className="system-xs-medium-uppercase text-text-tertiary">{t(($) => $['segment.summary'], { ns: 'datasetDocuments' })}</div><Textarea- className={cn(- 'w-full resize-none bg-transparent body-sm-regular leading-6 text-text-secondary outline-hidden',- )}+ aria-labelledby={labelId}+ className="field-sizing-content min-h-6 w-full resize-none rounded-none border-none bg-transparent p-0 body-sm-regular leading-6 text-text-secondary hover:border-none hover:bg-transparent focus:border-none focus:bg-transparent focus:shadow-none focus-visible:ring-2 focus-visible:ring-state-accent-solid focus-visible:ring-inset disabled:bg-transparent disabled:text-text-secondary disabled:hover:bg-transparent"placeholder={t(($) => $['segment.summaryPlaceholder'], { ns: 'datasetDocuments' })}- minRows={1}+ rows={1}value={value ?? ''}- onChange={(e) => onChange?.(e.target.value)}+ onValueChange={(value) => onChange?.(value)}disabled={disabled}/></div>diff --git a/web/app/components/datasets/documents/detail/completed/components/__tests__/menu-bar.spec.tsx b/web/app/components/datasets/documents/detail/completed/components/__tests__/menu-bar.spec.tsxindex fd629470272..7961e764fec 100644--- a/web/app/components/datasets/documents/detail/completed/components/__tests__/menu-bar.spec.tsx+++ b/web/app/components/datasets/documents/detail/completed/components/__tests__/menu-bar.spec.tsx@@ -94,7 +94,9 @@ describe('MenuBar', () => {it('should render the selected status in the trigger', () => {renderMenuBar()- expect(screen.getByText('All')).toBeInTheDocument()+ expect(+ screen.getByRole('combobox', { name: 'datasetDocuments.segment.statusFilterLabel' }),+ ).toHaveTextContent('All')})it('should render status options when dropdown is opened', async () => {diff --git a/web/app/components/datasets/documents/detail/completed/components/menu-bar.tsx b/web/app/components/datasets/documents/detail/completed/components/menu-bar.tsxindex 070f03c9356..9dc4f0ecbd5 100644--- a/web/app/components/datasets/documents/detail/completed/components/menu-bar.tsx+++ b/web/app/components/datasets/documents/detail/completed/components/menu-bar.tsx@@ -43,7 +43,7 @@ function MenuBar({isCollapsed,toggleCollapsed,}: MenuBarProps) {- const { t } = useTranslation(['common'])+ const { t } = useTranslation(['common', 'datasetDocuments'])const selectedStatus = statusList.find((item) => item.value === selectDefaultValue) ?? nullreturn (@@ -69,7 +69,10 @@ function MenuBar({if (nextItem) onChangeStatus(nextItem)}}>- <SelectTrigger className="mr-2 w-25 shrink-0 shadow-none">+ <SelectTrigger+ aria-label={t(($) => $['segment.statusFilterLabel'], { ns: 'datasetDocuments' })}+ className="mr-2 w-25 shrink-0 shadow-none"+ >{selectedStatus?.name ?? ''}</SelectTrigger><SelectContent className="w-40">diff --git a/web/app/components/datasets/documents/detail/completed/segment-card/__tests__/index.spec.tsx b/web/app/components/datasets/documents/detail/completed/segment-card/__tests__/index.spec.tsxindex 21fd0951e12..9b87c5ac2e9 100644--- a/web/app/components/datasets/documents/detail/completed/segment-card/__tests__/index.spec.tsx+++ b/web/app/components/datasets/documents/detail/completed/segment-card/__tests__/index.spec.tsx@@ -352,6 +352,28 @@ describe('SegmentCard', () => {})describe('Callbacks', () => {+ it('opens a chunk from its keyboard-accessible detail button', async () => {+ const user = userEvent.setup()+ const onClick = vi.fn()++ render(+ <SegmentCard+ loading={false}+ detail={createMockSegmentDetail()}+ onClick={onClick}+ focused={defaultFocused}+ />,+ )++ const detailButton = screen.getByRole('button', {+ name: 'datasetDocuments.segment.chunk-01 datasetDocuments.segment.chunkDetail',+ })+ detailButton.focus()+ await user.keyboard('{Enter}')++ expect(onClick).toHaveBeenCalledTimes(1)+ })+it('should call onClick when card is clicked in general mode', () => {const onClick = vi.fn()const detail = createMockSegmentDetail()diff --git a/web/app/components/datasets/documents/detail/completed/segment-card/index.tsx b/web/app/components/datasets/documents/detail/completed/segment-card/index.tsxindex dbea2fe7809..a3dd3487e01 100644--- a/web/app/components/datasets/documents/detail/completed/segment-card/index.tsx+++ b/web/app/components/datasets/documents/detail/completed/segment-card/index.tsx@@ -140,6 +140,17 @@ const SegmentCard: FC<ISegmentCardProps> = ({if (loading) return <ParentChunkCardSkeleton />+ const segmentIndex = (+ <SegmentIndexTag+ className={cn(contentOpacity)}+ iconClassName={focused.segmentIndex ? 'text-text-accent' : ''}+ labelClassName={focused.segmentIndex ? 'text-text-accent' : ''}+ positionId={position}+ label={isFullDocMode ? labelPrefix : ''}+ labelPrefix={labelPrefix}+ />+ )+return (<divdata-testid="segment-card"@@ -154,14 +165,21 @@ const SegmentCard: FC<ISegmentCardProps> = ({<div className="relative flex h-5 items-center justify-between"><><div className="flex items-center gap-x-2">- <SegmentIndexTag- className={cn(contentOpacity)}- iconClassName={focused.segmentIndex ? 'text-text-accent' : ''}- labelClassName={focused.segmentIndex ? 'text-text-accent' : ''}- positionId={position}- label={isFullDocMode ? labelPrefix : ''}- labelPrefix={labelPrefix}- />+ {isFullDocMode ? (+ segmentIndex+ ) : (+ <button+ type="button"+ aria-label={`${labelPrefix}-${String(position).padStart(2, '0')} ${t(($) => $['segment.chunkDetail'], { ns: 'datasetDocuments' })}`}+ className="rounded-sm border-0 bg-transparent p-0 text-left focus-visible:ring-2 focus-visible:ring-state-accent-solid focus-visible:outline-hidden"+ onClick={(event) => {+ event.stopPropagation()+ handleClickCard()+ }}+ >+ {segmentIndex}+ </button>+ )}<Dot /><div className={cn('system-xs-medium text-text-tertiary', contentOpacity)}>{wordCountText}@@ -189,7 +207,7 @@ const SegmentCard: FC<ISegmentCardProps> = ({textCls="text-text-tertiary system-xs-regular"/>{embeddingAvailable && (- <div className="absolute -top-2 -right-2.5 z-20 hidden items-center gap-x-0.5 rounded-[10px] border-[0.5px] border-components-actionbar-border bg-components-actionbar-bg p-1 shadow-md backdrop-blur-[5px] group-hover/card:flex">+ <div className="absolute -top-2 -right-2.5 z-20 hidden items-center gap-x-0.5 rounded-[10px] border-[0.5px] border-components-actionbar-border bg-components-actionbar-bg p-1 shadow-md backdrop-blur-[5px] group-focus-within/card:flex group-hover/card:flex">{!archived && (<><Tooltip>diff --git a/web/app/components/datasets/documents/status-item/__tests__/index.spec.tsx b/web/app/components/datasets/documents/status-item/__tests__/index.spec.tsxindex 18511f652c1..7181879688a 100644--- a/web/app/components/datasets/documents/status-item/__tests__/index.spec.tsx+++ b/web/app/components/datasets/documents/status-item/__tests__/index.spec.tsx@@ -149,9 +149,7 @@ describe('StatusItem', () => {canEdit/>,)- // Switch component should be present in detail scene- const switchElement = document.querySelector('[role="switch"]')- expect(switchElement).toBeInTheDocument()+ expect(screen.getByRole('switch', { name: 'Available' })).toBeInTheDocument()})it('should not show switch in list scene', () => {diff --git a/web/app/components/datasets/documents/status-item/index.tsx b/web/app/components/datasets/documents/status-item/index.tsxindex 773e4ab4974..758f34a0dca 100644--- a/web/app/components/datasets/documents/status-item/index.tsx+++ b/web/app/components/datasets/documents/status-item/index.tsx@@ -128,6 +128,7 @@ const StatusItem = ({render={<span className="flex"><Switch+ aria-labelledby={statusLabelId}checked={archived ? false : enabled}onCheckedChange={(v) =>!archived && canEdit && handleSwitch(v ? 'enable' : 'disable')diff --git a/web/i18n/locales/ar-TN/dataset-documents.json b/web/i18n/locales/ar-TN/dataset-documents.jsonindex e5ce0f59f04..2bc37817994 100644--- a/web/i18n/locales/ar-TN/dataset-documents.json+++ b/web/i18n/locales/ar-TN/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "نتيجة","segment.searchResults_other": "نتائج","segment.searchResults_zero": "نتيجة",+ "segment.statusFilterLabel": "تصفية المقاطع حسب الحالة","segment.summary": "ملخص","segment.summaryPlaceholder": "اكتب ملخصًا موجزًا لاسترجاع أفضل…"}diff --git a/web/i18n/locales/az-AZ/dataset-documents.json b/web/i18n/locales/az-AZ/dataset-documents.jsonindex 7134b5a30d8..0c0fe37e1af 100644--- a/web/i18n/locales/az-AZ/dataset-documents.json+++ b/web/i18n/locales/az-AZ/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "nəticə","segment.searchResults_other": "nəticə","segment.searchResults_zero": "nəticə",+ "segment.statusFilterLabel": "Seqmentləri statusa görə filtrləyin","segment.summary": "Xülasə","segment.summaryPlaceholder": "Axtarışda daha yaxşı nəticələr üçün qısa xülasə yazın…"}diff --git a/web/i18n/locales/de-DE/dataset-documents.json b/web/i18n/locales/de-DE/dataset-documents.jsonindex 4e527bc6726..8ae5eaac08e 100644--- a/web/i18n/locales/de-DE/dataset-documents.json+++ b/web/i18n/locales/de-DE/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "ERGEBNIS","segment.searchResults_other": "BEFUND","segment.searchResults_zero": "ERGEBNIS",+ "segment.statusFilterLabel": "Segmente nach Status filtern","segment.summary": "ZUSAMMENFASSUNG","segment.summaryPlaceholder": "Schreiben Sie eine kurze Zusammenfassung für bessere Abrufbarkeit…"}diff --git a/web/i18n/locales/en-US/dataset-documents.json b/web/i18n/locales/en-US/dataset-documents.jsonindex 1ef93b8b5fe..721e4aa4ea0 100644--- a/web/i18n/locales/en-US/dataset-documents.json+++ b/web/i18n/locales/en-US/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "RESULT","segment.searchResults_other": "RESULTS","segment.searchResults_zero": "RESULT",+ "segment.statusFilterLabel": "Filter segments by status","segment.summary": "SUMMARY","segment.summaryPlaceholder": "Write a brief summary for better retrieval…"}diff --git a/web/i18n/locales/es-ES/dataset-documents.json b/web/i18n/locales/es-ES/dataset-documents.jsonindex 1343f4d5a67..7e147d59684 100644--- a/web/i18n/locales/es-ES/dataset-documents.json+++ b/web/i18n/locales/es-ES/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "RESULTADO","segment.searchResults_other": "RESULTADOS","segment.searchResults_zero": "RESULTADO",+ "segment.statusFilterLabel": "Filtrar segmentos por estado","segment.summary": "RESUMEN","segment.summaryPlaceholder": "Escriba un breve resumen para una mejor recuperación…"}diff --git a/web/i18n/locales/fa-IR/dataset-documents.json b/web/i18n/locales/fa-IR/dataset-documents.jsonindex f87d1edc656..bf2a3d47b06 100644--- a/web/i18n/locales/fa-IR/dataset-documents.json+++ b/web/i18n/locales/fa-IR/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "نتیجه","segment.searchResults_other": "نتیجه","segment.searchResults_zero": "نتیجه",+ "segment.statusFilterLabel": "فیلتر بخشها بر اساس وضعیت","segment.summary": "خلاصه","segment.summaryPlaceholder": "خلاصهای کوتاه برای بازیابی بهتر بنویسید…"}diff --git a/web/i18n/locales/fr-FR/dataset-documents.json b/web/i18n/locales/fr-FR/dataset-documents.jsonindex d13b96d26d9..29a9585a788 100644--- a/web/i18n/locales/fr-FR/dataset-documents.json+++ b/web/i18n/locales/fr-FR/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "RÉSULTAT","segment.searchResults_other": "RÉSULTATS","segment.searchResults_zero": "RÉSULTAT",+ "segment.statusFilterLabel": "Filtrer les segments par statut","segment.summary": "RÉSUMÉ","segment.summaryPlaceholder": "Rédigez un bref résumé pour une meilleure récupération…"}diff --git a/web/i18n/locales/hi-IN/dataset-documents.json b/web/i18n/locales/hi-IN/dataset-documents.jsonindex c74ec2bcbdc..d6ba71ed75f 100644--- a/web/i18n/locales/hi-IN/dataset-documents.json+++ b/web/i18n/locales/hi-IN/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "परिणाम","segment.searchResults_other": "परिणाम","segment.searchResults_zero": "परिणाम",+ "segment.statusFilterLabel": "स्थिति के अनुसार सेगमेंट फ़िल्टर करें","segment.summary": "सारांश","segment.summaryPlaceholder": "बेहतर पुनर्प्राप्ति के लिए संक्षिप्त सारांश लिखें…"}diff --git a/web/i18n/locales/id-ID/dataset-documents.json b/web/i18n/locales/id-ID/dataset-documents.jsonindex 51000f1ac09..f0dd544f7d5 100644--- a/web/i18n/locales/id-ID/dataset-documents.json+++ b/web/i18n/locales/id-ID/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "HASIL","segment.searchResults_other": "HASIL","segment.searchResults_zero": "HASIL",+ "segment.statusFilterLabel": "Filter segmen berdasarkan status","segment.summary": "RINGKASAN","segment.summaryPlaceholder": "Tulis ringkasan singkat untuk pencarian yang lebih baik…"}diff --git a/web/i18n/locales/it-IT/dataset-documents.json b/web/i18n/locales/it-IT/dataset-documents.jsonindex 2e2120ba78a..5e5b8a4368d 100644--- a/web/i18n/locales/it-IT/dataset-documents.json+++ b/web/i18n/locales/it-IT/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "RISULTATO","segment.searchResults_other": "RISULTATI","segment.searchResults_zero": "RISULTATO",+ "segment.statusFilterLabel": "Filtra i segmenti per stato","segment.summary": "RIEPILOGO","segment.summaryPlaceholder": "Scrivi un breve riepilogo per un migliore recupero…"}diff --git a/web/i18n/locales/ja-JP/dataset-documents.json b/web/i18n/locales/ja-JP/dataset-documents.jsonindex 1661a4034c2..bdf1135a101 100644--- a/web/i18n/locales/ja-JP/dataset-documents.json+++ b/web/i18n/locales/ja-JP/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "検索結果","segment.searchResults_other": "検索結果","segment.searchResults_zero": "検索結果",+ "segment.statusFilterLabel": "ステータスでセグメントを絞り込む","segment.summary": "要約","segment.summaryPlaceholder": "より良い検索のために簡潔な要約を記入してください…"}diff --git a/web/i18n/locales/ko-KR/dataset-documents.json b/web/i18n/locales/ko-KR/dataset-documents.jsonindex adc8bdef35a..7b4a7181de7 100644--- a/web/i18n/locales/ko-KR/dataset-documents.json+++ b/web/i18n/locales/ko-KR/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "결과","segment.searchResults_other": "결과","segment.searchResults_zero": "결과",+ "segment.statusFilterLabel": "상태별로 세그먼트 필터링","segment.summary": "요약","segment.summaryPlaceholder": "더 나은 검색을 위해 간단한 요약을 작성하세요…"}diff --git a/web/i18n/locales/lo-LA/dataset-documents.json b/web/i18n/locales/lo-LA/dataset-documents.jsonindex decba9fcd12..f52182cbaf6 100644--- a/web/i18n/locales/lo-LA/dataset-documents.json+++ b/web/i18n/locales/lo-LA/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "ຜົນການຄົ້ນຫາ","segment.searchResults_other": "ຜົນການຄົ້ນຫາ","segment.searchResults_zero": "ຜົນການຄົ້ນຫາ",+ "segment.statusFilterLabel": "ກັ່ນຕອງສ່ວນຕາມສະຖານະ","segment.summary": "ບົດສະຫຼຸບ","segment.summaryPlaceholder": "ຂຽນບົດສະຫຼຸບສັ້ນໆ ເພື່ອການດຶງຂໍ້ມູນທີ່ມີປະສິດທິພາບ..."}diff --git a/web/i18n/locales/nl-NL/dataset-documents.json b/web/i18n/locales/nl-NL/dataset-documents.jsonindex 8e1cc80ddd3..71c1e1a0c28 100644--- a/web/i18n/locales/nl-NL/dataset-documents.json+++ b/web/i18n/locales/nl-NL/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "RESULT","segment.searchResults_other": "RESULTS","segment.searchResults_zero": "RESULT",+ "segment.statusFilterLabel": "Segmenten filteren op status","segment.summary": "SUMMARY","segment.summaryPlaceholder": "Write a brief summary for better retrieval…"}diff --git a/web/i18n/locales/pl-PL/dataset-documents.json b/web/i18n/locales/pl-PL/dataset-documents.jsonindex 4f36dfced1e..b144e5f7c81 100644--- a/web/i18n/locales/pl-PL/dataset-documents.json+++ b/web/i18n/locales/pl-PL/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "WYNIK","segment.searchResults_other": "WYNIKI","segment.searchResults_zero": "WYNIK",+ "segment.statusFilterLabel": "Filtruj segmenty według statusu","segment.summary": "PODSUMOWANIE","segment.summaryPlaceholder": "Napisz krótkie podsumowanie dla lepszego wyszukiwania…"}diff --git a/web/i18n/locales/pt-BR/dataset-documents.json b/web/i18n/locales/pt-BR/dataset-documents.jsonindex 495eda3c725..296e3f39784 100644--- a/web/i18n/locales/pt-BR/dataset-documents.json+++ b/web/i18n/locales/pt-BR/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "RESULTADO","segment.searchResults_other": "RESULTADOS","segment.searchResults_zero": "RESULTADO",+ "segment.statusFilterLabel": "Filtrar segmentos por status","segment.summary": "RESUMO","segment.summaryPlaceholder": "Escreva um breve resumo para melhor recuperação…"}diff --git a/web/i18n/locales/ro-RO/dataset-documents.json b/web/i18n/locales/ro-RO/dataset-documents.jsonindex c7d43105298..a3f6ba129f2 100644--- a/web/i18n/locales/ro-RO/dataset-documents.json+++ b/web/i18n/locales/ro-RO/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "REZULTAT","segment.searchResults_other": "REZULTATELE","segment.searchResults_zero": "REZULTAT",+ "segment.statusFilterLabel": "Filtrează segmentele după stare","segment.summary": "REZUMAT","segment.summaryPlaceholder": "Scrieți un rezumat scurt pentru o recuperare mai bună…"}diff --git a/web/i18n/locales/ru-RU/dataset-documents.json b/web/i18n/locales/ru-RU/dataset-documents.jsonindex 84c8d309545..a765a858c76 100644--- a/web/i18n/locales/ru-RU/dataset-documents.json+++ b/web/i18n/locales/ru-RU/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "РЕЗУЛЬТАТ","segment.searchResults_other": "РЕЗУЛЬТАТЫ","segment.searchResults_zero": "РЕЗУЛЬТАТ",+ "segment.statusFilterLabel": "Фильтровать сегменты по статусу","segment.summary": "РЕЗЮМЕ","segment.summaryPlaceholder": "Напишите краткое резюме для лучшего поиска…"}diff --git a/web/i18n/locales/sl-SI/dataset-documents.json b/web/i18n/locales/sl-SI/dataset-documents.jsonindex d15f3702ced..d1b70f02b1c 100644--- a/web/i18n/locales/sl-SI/dataset-documents.json+++ b/web/i18n/locales/sl-SI/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "REZULTAT","segment.searchResults_other": "REZULTATI","segment.searchResults_zero": "REZULTAT",+ "segment.statusFilterLabel": "Filtriraj segmente po stanju","segment.summary": "POVZETEK","segment.summaryPlaceholder": "Napišite kratek povzetek za boljše iskanje…"}diff --git a/web/i18n/locales/th-TH/dataset-documents.json b/web/i18n/locales/th-TH/dataset-documents.jsonindex 3473b570938..fb2165a2ac7 100644--- a/web/i18n/locales/th-TH/dataset-documents.json+++ b/web/i18n/locales/th-TH/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "ผล","segment.searchResults_other": "ผลลัพธ์","segment.searchResults_zero": "ผล",+ "segment.statusFilterLabel": "กรองส่วนตามสถานะ","segment.summary": "สรุป","segment.summaryPlaceholder": "เขียนสรุปสั้นๆ เพื่อการค้นหาที่ดีขึ้น…"}diff --git a/web/i18n/locales/tr-TR/dataset-documents.json b/web/i18n/locales/tr-TR/dataset-documents.jsonindex 8db7cc228d5..669be06c7d6 100644--- a/web/i18n/locales/tr-TR/dataset-documents.json+++ b/web/i18n/locales/tr-TR/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "SONUÇ","segment.searchResults_other": "SONUÇLAR","segment.searchResults_zero": "SONUÇ",+ "segment.statusFilterLabel": "Segmentleri duruma göre filtrele","segment.summary": "ÖZET","segment.summaryPlaceholder": "Daha iyi arama için kısa bir özet yazın…"}diff --git a/web/i18n/locales/uk-UA/dataset-documents.json b/web/i18n/locales/uk-UA/dataset-documents.jsonindex ed52bb0f1a9..8478d27b8db 100644--- a/web/i18n/locales/uk-UA/dataset-documents.json+++ b/web/i18n/locales/uk-UA/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "РЕЗУЛЬТАТ","segment.searchResults_other": "РЕЗУЛЬТАТІВ","segment.searchResults_zero": "РЕЗУЛЬТАТ",+ "segment.statusFilterLabel": "Фільтрувати сегменти за статусом","segment.summary": "РЕЗЮМЕ","segment.summaryPlaceholder": "Напишіть короткий опис для кращого пошуку…"}diff --git a/web/i18n/locales/vi-VN/dataset-documents.json b/web/i18n/locales/vi-VN/dataset-documents.jsonindex 9c3a3dd08fc..6187dc8957a 100644--- a/web/i18n/locales/vi-VN/dataset-documents.json+++ b/web/i18n/locales/vi-VN/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "KẾT QUẢ","segment.searchResults_other": "KẾT QUẢ","segment.searchResults_zero": "KẾT QUẢ",+ "segment.statusFilterLabel": "Lọc phân đoạn theo trạng thái","segment.summary": "TÓM TẮT","segment.summaryPlaceholder": "Viết tóm tắt ngắn gọn để tìm kiếm tốt hơn…"}diff --git a/web/i18n/locales/zh-Hans/dataset-documents.json b/web/i18n/locales/zh-Hans/dataset-documents.jsonindex 6d1d26bd5d9..cbf4874e190 100644--- a/web/i18n/locales/zh-Hans/dataset-documents.json+++ b/web/i18n/locales/zh-Hans/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "搜索结果","segment.searchResults_other": "搜索结果","segment.searchResults_zero": "搜索结果",+ "segment.statusFilterLabel": "按状态筛选分段","segment.summary": "摘要","segment.summaryPlaceholder": "写一个简短的摘要,以便更好地检索…"}diff --git a/web/i18n/locales/zh-Hant/dataset-documents.json b/web/i18n/locales/zh-Hant/dataset-documents.jsonindex a150e5a0288..7c23df92224 100644--- a/web/i18n/locales/zh-Hant/dataset-documents.json+++ b/web/i18n/locales/zh-Hant/dataset-documents.json@@ -257,6 +257,7 @@"segment.searchResults_one": "結果","segment.searchResults_other": "結果","segment.searchResults_zero": "結果",+ "segment.statusFilterLabel": "按狀態篩選分段","segment.summary": "摘要","segment.summaryPlaceholder": "撰寫簡短的摘要以便更好地檢索…"}diff --git a/web/i18n/resources.generated.d.ts b/web/i18n/resources.generated.d.tsindex 1a83a3b5b67..22c93580624 100644--- a/web/i18n/resources.generated.d.ts+++ b/web/i18n/resources.generated.d.ts@@ -3075,6 +3075,7 @@ export default interface Resources {'segment.regenerationSuccessMessage': 'You can close this window.''segment.regenerationSuccessTitle': 'Regeneration completed''segment.searchResults': 'RESULT' | 'RESULTS' | 'RESULT'+ 'segment.statusFilterLabel': 'Filter segments by status''segment.summary': 'SUMMARY''segment.summaryPlaceholder': 'Write a brief summary for better retrieval…'}