Fix: Update the parsing editor to support dynamic field names and optimize UI styles #9869 (#10535)

### What problem does this PR solve?

Fix: Update the parsing editor to support dynamic field names and
optimize UI styles #9869
-Modify the default background color of UI components such as Input and
Select to 'bg bg base'`
-Remove TagItems component reference from naive configuration page

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
chanx
2025-10-14 13:31:48 +08:00
committed by GitHub
parent 781d49cd0e
commit 66c69d10fe
13 changed files with 207 additions and 87 deletions

View File

@ -9,6 +9,7 @@ import {
useGetPipelineResultSearchParams,
useHandleChunkCardClick,
useRerunDataflow,
useSummaryInfo,
useTimelineDataFlow,
} from './hooks';
@ -61,7 +62,7 @@ const Chunk = () => {
);
const {
navigateToDataset,
navigateToDatasetOverview,
navigateToDatasetList,
navigateToAgents,
navigateToDataflow,
@ -150,7 +151,7 @@ const Chunk = () => {
({} as TimelineNode)
);
}, [activeStepId, timelineNodes]);
const { summaryInfo } = useSummaryInfo(dataset, currentTimeNode);
return (
<>
<PageHeader>
@ -175,7 +176,7 @@ const Chunk = () => {
<BreadcrumbLink
onClick={() => {
if (knowledgeId) {
navigateToDataset(knowledgeId)();
navigateToDatasetOverview(knowledgeId)();
}
if (agentId) {
navigateToDataflow(agentId)();
@ -220,7 +221,7 @@ const Chunk = () => {
></DocumentPreview>
</section>
</div>
<div className="h-dvh border-r -mt-3"></div>
<div className="h-[calc(100vh-100px)] border-r -mt-3"></div>
<div className="w-3/5 h-full">
{/* {currentTimeNode?.type === TimelineNodeType.splitter && (
<ChunkerContainer
@ -246,6 +247,7 @@ const Chunk = () => {
key: string;
}
}
summaryInfo={summaryInfo}
clickChunk={handleChunkCardClick}
reRunFunc={handleReRunFunc}
/>