Fix: Switch the default theme from light mode to dark mode and improve some styles #9869 (#10552)

### What problem does this PR solve?

Fix: Switch the default theme from light mode to dark mode and improve
some styles #9869
-Update UI component styles such as input boxes, tables, and prompt
boxes
-Optimize login page layout and style details
-Revise some of the wording, such as uniformly changing "data flow" to
"pipeline"
-Adjust the parser to support the markdown type

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-10-14 19:06:50 +08:00
committed by GitHub
parent 1f5167f1ca
commit 51139de178
21 changed files with 231 additions and 201 deletions

View File

@ -10,5 +10,5 @@ export enum ProcessingType {
export const ProcessingTypeMap = {
[ProcessingType.knowledgeGraph]: 'Knowledge Graph',
[ProcessingType.raptor]: 'Raptor',
[ProcessingType.raptor]: 'RAPTOR',
};

View File

@ -109,7 +109,9 @@ export const getFileLogsTableColumns = (
name={row.original.pipeline_title}
className="size-4"
/>
{row.original.pipeline_title}
{row.original.pipeline_title === 'naive'
? 'general'
: row.original.pipeline_title}
</div>
),
},
@ -396,7 +398,7 @@ const FileLogsTable: FC<FileLogsTableProps> = ({
</TableRow>
))}
</TableHeader>
<TableBody className="relative">
<TableBody className="relative min-w-[1280px] overflow-auto">
{table.getRowModel().rows?.length ? (
table.getRowModel().rows.map((row) => (
<TableRow

View File

@ -100,6 +100,7 @@ export function EmbeddingModelItem({ line = 1, isEdit = true }: IProps) {
options={embeddingModelOptions}
disabled={isEdit ? disabled : false}
placeholder={t('embeddingModelPlaceholder')}
triggerClassName="!bg-bg-base"
/>
</FormControl>
</div>