Commit graph

136 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
48fc70a08b chore: cleanup 2026-01-07 19:07:06 -08:00
Anish Sarkar
c7c5caf559 chore: ran both frontend and backend linting 2026-01-06 15:49:31 +05:30
Anish Sarkar
982b9ceb76 feat: implement Jira OAuth integration and connector routes
- Added support for Jira OAuth with new environment variables for client ID, client secret, and redirect URI.
- Implemented Jira connector routes for OAuth flow, including authorization and callback handling.
- Enhanced Jira connector to support both OAuth 2.0 and legacy API token authentication methods.
- Updated Jira indexing logic to utilize OAuth credentials with auto-refresh capabilities.
- Removed outdated Jira UI components and adjusted frontend logic to reflect the new integration.
2026-01-06 01:01:04 +05:30
Anish Sarkar
b81af397c0 feat: add Linear OAuth integration and connector routes
- Introduced Linear OAuth support with new environment variables for client ID, client secret, and redirect URI.
- Implemented Linear connector routes for OAuth flow, including authorization and callback handling.
- Updated existing components to accommodate Linear integration, including validation changes and connector configuration.
- Enhanced the Linear indexer to utilize OAuth access tokens instead of API keys.
- Adjusted UI components to reflect the new Linear connector without requiring special configuration.
2026-01-02 21:24:28 +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
3ae8fe3a7e refactor: simplify connector management and update dashboard layout
- Removed the Connectors management page and integrated its functionality into a popup for better user experience.
- Updated the DashboardLayout to reflect changes in navigation, removing references to the Connectors page.
- Streamlined the breadcrumb component by eliminating unnecessary connector-related sections.
- Enhanced the ConnectorIndicator to facilitate easier access to connector management features.
- Improved overall UI consistency and accessibility across the dashboard components.
2026-01-01 21:41:31 +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
Rohan Verma
23870042f3
Merge pull request #640 from CREDO23/google-drive-connector
[Feat] Add Google drive connector
2025-12-29 20:51:34 -08:00
CREDO23
6b1317435a fix: remove hardcoded limit in query params 2025-12-29 17:23:31 +02:00
DESKTOP-RTLN3BA\$punk
3ec2d46051 feat: Invalidate logs summary and enable refetch on mount for fresh processing tasks display 2025-12-28 16:02:56 -08:00
DESKTOP-RTLN3BA\$punk
46eb63fa11 hotpatch: remove consitent 2 sec interval api call to logs summary endpoint 2025-12-28 15:52:58 -08:00
CREDO23
27beac4f62 fix: Google Drive folder handling and connector page updates 2025-12-28 19:57:10 +02:00
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
c5c61a2c6b Merge branch 'dev' into google-drive-connector
Merge in dev
2025-12-28 19:00:09 +02:00
CREDO23
90b3474b47 feat(hooks): add folder parameters to indexConnector function
- Accept folderId and folderName for Google Drive indexing
- Pass folder parameters to backend API
2025-12-28 16:04:58 +02:00
Anish Sarkar
74f17f61ec feat: Enhance agent system prompt with write_todos examples, and apply minor code formatting across connector pages and hooks. 2025-12-28 01:41:27 +05:30
Anish Sarkar
8b10b0cd24 feat: Display document reindexing status in the sidebar by adding document ID to logs 2025-12-28 01:07:42 +05:30
Anish Sarkar
2f2e1f9800 feat: Add optional polling support to useLogsSummary hook via refetchInterval option. 2025-12-27 19:48:45 +05:30
Anish Sarkar
ae4ee9ab70 Merge remote-tracking branch 'upstream/dev' into fix/chatpage-ux 2025-12-27 19:48:13 +05:30
Anish Sarkar
a956b5ff87 feat: Introduce document processing indicator UI, update localization. 2025-12-27 19:09:42 +05:30
Rohan Verma
2c2ae40274
Merge pull request #594 from CREDO23/feat/add-jotai-tanstack-connectors
[Feat] Connectors| Add jotai & tanstack
2025-12-26 21:43:11 -08:00
CREDO23
b43e79a797 migrate get logs summary handler 2025-12-26 20:05:19 +02:00
CREDO23
640d765d90 feat: migrate get logs handler 2025-12-26 19:06:09 +02:00
CREDO23
3104a56c72 migrate connectors to jotai & tanstack 2025-12-26 16:20:36 +02:00
CREDO23
f05a313d73 Merge upstream/dev and accept upstream deletions 2025-12-26 14:50:52 +02:00
DESKTOP-RTLN3BA\$punk
4a0c3e368a feat: migrated to surfsense deep agent 2025-12-23 01:16:25 -08:00
DESKTOP-RTLN3BA\$punk
086048a4db refactor: updated chonkie & removed junk code
- Removed all references to the Serper API from the codebase, including related components, hooks, and schemas.
- Updated the `pyproject.toml` to reflect the new version of `chonkie` and other dependencies.
- Cleaned up the configuration and connector management to streamline the application.
2025-12-19 23:26:45 -08:00
Anish Sarkar
5fcaadf60b Merge remote-tracking branch 'upstream/main' into fix/chat-ui 2025-12-19 21:42:26 +05:30
CREDO23
2cdc6874dc feat: migrate connectors to jotai + tanstack 2025-12-19 00:45:38 +02:00
Anish Sarkar
79e552520a refactor: remove old chat components and implement new sidebar structure
- Deleted `chats-client.tsx` and `page.tsx` as part of the chat management overhaul.
- Introduced `AllChatsSidebar` and `NavChats` components for improved chat navigation and management.
- Updated sidebar to integrate new chat components and removed the deprecated `NavProjects`.
- Enhanced chat deletion handling and added loading states for better user experience.
- Added new translation keys for chat-related UI strings.
2025-12-19 03:53:40 +05:30
CREDO23
9c378550ba refactor: complete RBAC migration cleanup - remove unused hooks and fix type imports 2025-12-18 18:37:26 +00:00
CREDO23
f8ec87c7f2 chore: delete unused useUserAccess hook from use-rbac.ts 2025-12-18 18:36:32 +00:00
CREDO23
e520e3e217 chore: delete unused useMembers hook from use-rbac.ts 2025-12-18 18:36:32 +00:00
CREDO23
bce8340750 feat: migrate useUserAccess to myAccessAtom in team page 2025-12-18 18:36:32 +00:00
DESKTOP-RTLN3BA\$punk
c768730b8c feat: fixed issues of note management
Issues Fixed

- Missing pagination fields in API response schemas (page, page_size, has_more)
- NOTE enum missing from frontend Zod schema
- Missing fields in DocumentRead response construction (content_hash, updated_at)
- BlockNote slash menu clipped by overflow-hidden CSS
- Sidebar click conflicts - hidden action buttons intercepting clicks
- Rewrote All Notes sidebar - replaced fragile custom portal with shadcn Sheet
- Missing translation keys for new UI strings
- Missing NOTE retrieval logic in researcher agent
- Added search to All Notes sidebar
- Removed frontend logging - was causing toasters on every page refresh
- Added backend logging to document reindex Celery task
2025-12-17 00:09:43 -08:00
CREDO23
fcfa621a74 refactor: remove unused useRoles and usePermissions hooks after migration 2025-12-16 09:07:33 +00:00
CREDO23
4bcb92c3ce refactor: delete unused useUser hook after migration to currentUserAtom 2025-12-16 05:29:18 +00:00
CREDO23
8727acb5ad refactor: migrate community prompts from imperative hook to jotai atom 2025-12-15 10:24:13 +00:00
CREDO23
ae1cd09013 refactor: delete unused search space hooks and update exports 2025-12-15 08:18:35 +00:00
CREDO23
3e8cdabd73 refactor: complete migration of useLLMPreferences hook to jotai atoms
- Migrated llm-role-manager.tsx to use jotai atoms
- Fixed TypeScript errors in llm-role-manager.tsx
- Deleted unused use-llm-configs.ts file
- All LLM preferences now use centralized jotai + tanstack query atoms
2025-12-14 20:22:00 +02:00
CREDO23
194b17500e feat(llm-config): complete migration of useGlobalLLMConfigs to globalLLMConfigsAtom
- Removed unused import from model-config-manager.tsx
- Deleted useGlobalLLMConfigs hook (no longer used anywhere)
- All 5 components now using jotai + tanstack query pattern
- Full backward compatibility maintained
2025-12-14 20:22:00 +02:00
CREDO23
80d6696310 feat(llm-config): remove unused useLLMConfigs hook - completely migrated to jotai + tanstack query 2025-12-14 20:22:00 +02:00
CREDO23
5b7e5770be feat: migrate createLLMConfig to jotai mutation atom and add query atoms for LLM configs 2025-12-14 20:20:57 +02:00
DESKTOP-RTLN3BA\$punk
08fb488995 feat(roadmap-1.2): removed SearchMode enum and combined hybrid search 2025-12-12 04:17:30 -08:00
DESKTOP-RTLN3BA\$punk
8c9aa68faa feat: update document tracking to use 'updated_at' timestamp instead of 'last_edited_at' 2025-12-12 01:32:14 -08:00
CREDO23
ede7020b61 refactor: replace imperative deleteDocument with mutation atom
- Replaced deleteDocument from useDocuments with deleteDocumentMutationAtom
- Removed unused useDocuments hook completely
- Updated DocumentsTable to use mutation atom for single and bulk deletes
- Maintains backward compatibility with existing delete functionality
2025-12-08 11:02:01 +00:00
CREDO23
b8d629da71 fix: update DocumentsFilters type definitions and complete migration cleanup
- Updated type definitions in DocumentsFilters to use DocumentTypeEnum
- Fixed type consistency across activeTypes and onToggleType props
- Final cleanup of DocumentsTable migration to React Query
2025-12-08 11:02:01 +00:00
CREDO23
bccbd65333 refactor: migrate document types fetch to jotai + tanstack query
- Replace useDocumentTypes hook with documentTypeCountsAtom in ChatInputGroup
- Replace useDocumentTypes hook with documentTypeCountsAtom in researcher page
- Delete obsolete use-document-types.ts hook
- Transform atom response to maintain backward compatibility
2025-12-08 11:02:01 +00:00
CREDO23
e5d1598270 refactor: remove unused use-document-by-chunk hook
- Delete use-document-by-chunk.ts file
- Remove export from hooks index
- Hook has been replaced with useQuery implementation in SourceDetailSheet
2025-12-08 11:02:01 +00:00