Commit graph

15 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
e746863a39 fix: update iconLink type to allow null values in DriveItem interfaces
- Modified the iconLink property in DriveItem interfaces for Composio and Google Drive folder trees to accept null values, enhancing type safety.
- Updated the corresponding type definition in connector.types.ts to reflect this change.
2026-02-16 23:52:43 -08:00
Anish Sarkar
2d17d1a1b6 feat: replace Loader2 with Spinner component for consistent loading indicators 2026-01-25 15:23:45 +05:30
DESKTOP-RTLN3BA\$punk
d96ae66012 chore: linting 2026-01-20 00:32:31 -08:00
Anish Sarkar
6550c378b2 feat: enhance Google Drive document handling and UI integration
- Implemented support for both new file_id-based and legacy filename-based hash schemes in document processing.
- Added functions to generate unique identifier hashes and find existing documents with migration support.
- Improved existing document update logic to handle content changes and metadata updates, particularly for Google Drive files.
- Enhanced UI components to display appropriate file icons based on file types in the Google Drive connector.
- Updated document processing functions to accommodate the new connector structure and ensure seamless integration.
2026-01-17 14:57:31 +05:30
DESKTOP-RTLN3BA\$punk
2832d57bda chore: linting 2026-01-01 22:56:37 -08:00
Anish Sarkar
95878368c8 chore: ran frontend linting 2026-01-01 22:24:42 +05:30
Anish Sarkar
b909032e32 feat: enhance Google Drive connector functionality and UI
- Added support for selecting both folders and files in the Google Drive connector configuration.
- Updated the UI to reflect the selection of files alongside folders, improving user clarity.
- Introduced a quick indexing feature for connectors, allowing users to start indexing without date selection.
- Adjusted periodic sync settings to be disabled for Google Drive connectors, ensuring proper functionality.
- Improved styling and accessibility across various components in the connector popup.
2026-01-01 21:22:34 +05:30
Anish Sarkar
2373421212 refactor: Clean up imports and streamline component structure in thread.tsx and google-drive-folder-tree.tsx for improved maintainability 2026-01-01 02:03:11 +05:30
Anish Sarkar
fda682c9e7 Merge remote-tracking branch 'upstream/dev' into fix/connector 2026-01-01 02:03:02 +05:30
CREDO23
9c78726b6b feat: add file selection to Google Drive connector
- Add structured request body with folders and files arrays
- Support individual file indexing alongside folder indexing
- Remove deprecated folder_ids/folder_names query params
- Update UI to allow selecting both folders and files
2025-12-31 14:15:07 +02:00
Anish Sarkar
ddfbb9509b feat: Implement connector editing functionality in the popup, including Google Drive folder selection, and enhance connector management with improved state handling and UI updates. 2025-12-31 02:00:11 +05:30
CREDO23
10c98745cd refactor(web): use React Query for Google Drive folder operations
- Fix errors in connectors-api.service (use .issues instead of .errors)
- Create useGoogleDriveFolders hook with proper React Query integration
- Add Google Drive folders cache keys with proper query invalidation
- Refactor GoogleDriveFolderTree to use React Query hook for root data
- Remove manual state management (isInitialized, setRootItems, loadRootItems)
- Remove unused state (driveFolders, isLoadingFolders) from manage page
- Simplify handleOpenDriveFolderDialog function
- Automatic loading, caching, error handling, and refetching via React Query
- Better performance with proper caching and state management
2025-12-28 19:17:37 +02:00
CREDO23
0b006de32d refactor(web): clean up Google Drive folder tree component
- Replace inline comments with JSDoc multiline comments for main functions
- Remove obvious/noisy inline comments from JSX
- Simplify component documentation while keeping it clear
- Improve readability by reducing comment clutter
2025-12-28 18:59:30 +02:00
CREDO23
e0edfef5fc feat(ui): add multiple folder selection with checkboxes to Google Drive tree
- Replace single folder selection with multi-select checkboxes
- Remove cascading auto-select for clearer UX
- Each folder must be selected individually
- Visual indicators for selected folders
2025-12-28 16:48:34 +02:00
CREDO23
5df04c3caa feat(ui): add hierarchical Google Drive folder tree browser
- Display folders and files with lazy loading
- Show different icons for file types (docs, sheets, slides, etc)
- Expandable folder tree with proper indentation
- Selectable folders for indexing
- Handle overflow with proper truncation
- Full pagination support for large folder structures
2025-12-28 16:04:58 +02:00