From b3431ab0c40f7619fabae753a91b93e5f6c5e513 Mon Sep 17 00:00:00 2001 From: twwu Date: Tue, 8 Jul 2025 16:46:59 +0800 Subject: [PATCH] feat: Refactor online drive components to improve file retrieval and selection logic --- .../header/breadcrumbs/dropdown/index.tsx | 2 +- .../file-list/header/breadcrumbs/index.tsx | 33 +++++++++++++++---- .../online-drive/file-list/header/index.tsx | 9 +++++ .../online-drive/file-list/index.tsx | 9 +++++ .../online-drive/file-list/list/index.tsx | 14 ++++++-- .../data-source/online-drive/index.tsx | 33 +++++++++++++------ .../documents/create-from-pipeline/index.tsx | 28 +++++++++------- web/app/components/datasets/list/datasets.tsx | 3 +- .../components/panel/test-run/hooks.ts | 25 -------------- 9 files changed, 100 insertions(+), 56 deletions(-) diff --git a/web/app/components/datasets/documents/create-from-pipeline/data-source/online-drive/file-list/header/breadcrumbs/dropdown/index.tsx b/web/app/components/datasets/documents/create-from-pipeline/data-source/online-drive/file-list/header/breadcrumbs/dropdown/index.tsx index 398c939dd0..69b393ed58 100644 --- a/web/app/components/datasets/documents/create-from-pipeline/data-source/online-drive/file-list/header/breadcrumbs/dropdown/index.tsx +++ b/web/app/components/datasets/documents/create-from-pipeline/data-source/online-drive/file-list/header/breadcrumbs/dropdown/index.tsx @@ -44,7 +44,7 @@ const Dropdown = ({