From c4a54a85bef890156378b3eac9e75a2e0886f36e Mon Sep 17 00:00:00 2001 From: ManishMadan2882 Date: Thu, 2 Oct 2025 16:30:08 +0530 Subject: [PATCH 1/2] (lint) fe --- frontend/src/App.tsx | 2 +- frontend/src/PageNotFound.tsx | 6 +- frontend/src/components/ActionButtons.tsx | 6 +- frontend/src/components/Chunks.tsx | 248 ++++++++++-------- frontend/src/components/ConnectorAuth.tsx | 37 ++- .../src/components/ConnectorTreeComponent.tsx | 72 ++--- .../src/components/DocumentPagination.tsx | 8 +- frontend/src/components/DropdownMenu.tsx | 8 +- frontend/src/components/FilePicker.tsx | 171 ++++++++---- frontend/src/components/FileTreeComponent.tsx | 67 ++--- frontend/src/components/FileUpload.tsx | 4 +- frontend/src/components/GoogleDrivePicker.tsx | 189 ++++++++----- frontend/src/components/Input.tsx | 6 +- frontend/src/components/ShareButton.tsx | 2 +- frontend/src/components/SkeletonLoader.tsx | 31 ++- frontend/src/components/Table.tsx | 60 +++-- .../src/components/TextToSpeechButton.tsx | 2 +- .../src/conversation/ConversationMessages.tsx | 6 +- frontend/src/modals/AddActionModal.tsx | 8 +- frontend/src/modals/AgentDetailsModal.tsx | 26 +- frontend/src/modals/ConfigToolModal.tsx | 6 +- frontend/src/modals/CreateAPIKeyModal.tsx | 8 +- frontend/src/modals/JWTModal.tsx | 6 +- frontend/src/modals/SaveAPIKeyModal.tsx | 12 +- frontend/src/modals/WrapperModal.tsx | 8 +- frontend/src/settings/Analytics.tsx | 12 +- frontend/src/settings/Tools.tsx | 12 +- frontend/src/settings/Widgets.tsx | 8 +- frontend/src/settings/index.tsx | 8 +- frontend/src/upload/Upload.tsx | 213 ++++++++------- frontend/src/upload/types/ingestor.ts | 96 +++++-- 31 files changed, 787 insertions(+), 561 deletions(-) diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 9c5de77f..c135c525 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -33,7 +33,7 @@ function MainLayout() { const [navOpen, setNavOpen] = useState(!(isMobile || isTablet)); return ( -
+
-

+

+

404

The page you are looking for does not exist.

-

diff --git a/frontend/src/components/ActionButtons.tsx b/frontend/src/components/ActionButtons.tsx index efa3b1c9..bea15d40 100644 --- a/frontend/src/components/ActionButtons.tsx +++ b/frontend/src/components/ActionButtons.tsx @@ -41,13 +41,13 @@ export default function ActionButtons({ navigate('/'); }; return ( -
+
{showNewChat && (