diff --git a/web/app/components/rag-pipeline/components/input-field/footer-tip.tsx b/web/app/components/rag-pipeline/components/input-field/footer-tip.tsx index 5b3d98be22..1a8d75489d 100644 --- a/web/app/components/rag-pipeline/components/input-field/footer-tip.tsx +++ b/web/app/components/rag-pipeline/components/input-field/footer-tip.tsx @@ -3,7 +3,7 @@ import { RiDragDropLine } from '@remixicon/react' const FooterTip = () => { return ( -
+
Drag to adjust grouping
diff --git a/web/app/components/rag-pipeline/components/input-field/index.tsx b/web/app/components/rag-pipeline/components/input-field/index.tsx index ad4fef3639..c3d31faa71 100644 --- a/web/app/components/rag-pipeline/components/input-field/index.tsx +++ b/web/app/components/rag-pipeline/components/input-field/index.tsx @@ -109,80 +109,79 @@ const InputFieldDialog = ({ -
-
-
- {t('datasetPipeline.inputFieldPanel.title')} -
- - - +
+
+ {t('datasetPipeline.inputFieldPanel.title')}
-
- {t('datasetPipeline.inputFieldPanel.description')} -
-
- {/* Unique Inputs for Each Entrance */} -
- - {t('datasetPipeline.inputFieldPanel.uniqueInputs.title')} - - -
-
- { - Object.keys(datasourceNodeDataMap).map((key) => { - const inputFields = inputFieldsMap.current[key] || [] - return ( - } - inputFields={inputFields} - readonly={readonly} - labelClassName='pt-1 pb-1' - handleInputFieldsChange={updateInputFields} - allVariableNames={allVariableNames} - /> - ) - }) - } -
- {/* Global Inputs */} - } - inputFields={inputFieldsMap.current.shared || []} - readonly={readonly} - labelClassName='pt-2 pb-1' - handleInputFieldsChange={updateInputFields} - allVariableNames={allVariableNames} + + + +
+
+ {t('datasetPipeline.inputFieldPanel.description')} +
+
+ {/* Unique Inputs for Each Entrance */} +
+ + {t('datasetPipeline.inputFieldPanel.uniqueInputs.title')} + +
- +
+ { + Object.keys(datasourceNodeDataMap).map((key) => { + const inputFields = inputFieldsMap.current[key] || [] + return ( + } + inputFields={inputFields} + readonly={readonly} + labelClassName='pt-1 pb-1' + handleInputFieldsChange={updateInputFields} + allVariableNames={allVariableNames} + /> + ) + }) + } +
+ {/* Global Inputs */} + } + inputFields={inputFieldsMap.current.shared || []} + readonly={readonly} + labelClassName='pt-2 pb-1' + handleInputFieldsChange={updateInputFields} + allVariableNames={allVariableNames} + />
+ {previewPanelOpen && (