refactor(ui): update knowledge graph, chunk, metadata, agent log styles (#13518)

### What problem does this PR solve?

Update UI styles:
- **Dataset** > **Knowledge graph** tooltip
- **Dataset** > **Files** > **Manage metadata** modal
- **Dataset** > **Files** > **Modify Chunking Method** > **Auto
metadata** > **Manage generation settings** modal
- **Agent** > **Canvas (Ingestion pipeline)** > **Dataflow result**

### Type of change

- [x] Refactoring
This commit is contained in:
Jimmy Ben Klieve
2026-03-11 11:27:20 +08:00
committed by GitHub
parent 2133fd76a8
commit 507ba4ea20
32 changed files with 613 additions and 485 deletions
@@ -11,10 +11,10 @@ import {
import { Spin } from '@/components/ui/spin';
// import FileError from '@/pages/document-viewer/file-error';
import { Authorization } from '@/constants/authorization';
import { cn } from '@/lib/utils';
import FileError from '@/pages/document-viewer/file-error';
import { getAuthorization } from '@/utils/authorization-util';
import { useCatchDocumentError } from './hooks';
import styles from './index.module.less';
type PdfLoaderProps = React.ComponentProps<typeof PdfLoader> & {
httpHeaders?: Record<string, string>;
};
@@ -69,7 +69,11 @@ const PdfPreview = ({
return (
<div
className={`${styles.documentContainer} rounded-[10px] overflow-hidden ${className}`}
className={cn(
'relative size-full rounded overflow-hidden',
'[&_.pdfViewer.removePageBorders_.page]:last-of-type:mb-0',
className,
)}
>
<Loader
url={url}