Commit graph

55 commits

Author SHA1 Message Date
CREDO23
5f4f7780d1 Fix create_prompt is_public bug, conditional version bump, and add Jotai prompts atoms
- Pass is_public from request body in create_prompt route
- Only bump version on content field changes (name, prompt, mode),
  not on is_public toggle
- Add prompts query and mutation atoms (atomWithQuery/atomWithMutation)
  with TanStack Query caching, replacing manual useEffect fetches
- Update PromptPicker, PromptsContent, and CommunityPromptsContent
  to consume shared atoms instead of local state
2026-03-31 18:34:10 +02:00
Anish Sarkar
c8767272ec feat: enhance OneDrive folder management by adding mimeType handling and integrating DriveFolderTree component for improved UI 2026-03-29 03:29:31 +05:30
Anish Sarkar
7a2467c1ed refactor: remove type counts invalidation from document mutation atoms 2026-03-27 12:10:26 +05:30
DESKTOP-RTLN3BA\$punk
d8a05ae4d5 feat: refactor agent tools management and add UI integration
- Added endpoint to list agent tools with metadata, excluding hidden tools.
- Updated NewChatRequest and RegenerateRequest schemas to include disabled tools.
- Integrated disabled tools management in the NewChatPage and Composer components.
- Improved tool instructions and visibility in the system prompt.
- Refactored tool registration to support hidden tools and default enabled states.
- Enhanced document chunk creation to handle strict zip behavior.
- Cleaned up imports and formatting across various files for consistency.
2026-03-10 17:36:26 -07:00
DESKTOP-RTLN3BA\$punk
403097646d feat: implement batch unread counts for notifications to reduce API calls and improve performance 2026-03-10 01:26:37 -07:00
Anish Sarkar
eb775fea11 refactor: consolidate inbox data handling in LayoutDataProvider and related components, streamlining state management and improving performance by using a single data source for inbox items 2026-03-06 19:35:21 +05:30
Anish Sarkar
bd783cc2d0 feat: add filtering options for notifications by 'unread' and 'errors', enhancing user experience in the notifications list 2026-03-06 18:32:28 +05:30
Anish Sarkar
d03f938fcd feat: implement source type filtering in notifications API and UI, enhancing user experience by allowing users to filter notifications by connector and document types in the status tab 2026-03-06 17:25:07 +05:30
DESKTOP-RTLN3BA\$punk
1bb9f479e1 feat: refactor document fetching and improve comment batching
- Replaced the useDocuments hook with React Query for better caching and deduplication of document requests.
- Updated the ConnectorIndicator component to fetch document type counts using a new atom for real-time updates.
- Enhanced the useComments hook to manage batch requests more effectively, reducing race conditions and improving performance.
- Set default query options in the query client to optimize stale time and refetch behavior.
2026-02-28 01:54:54 -08:00
DESKTOP-RTLN3BA\$punk
a3cd598e01 feat: added improved llm model selector 2026-02-20 14:28:01 -08:00
Anish Sarkar
8c3b65bac2 feat: add search functionality to notifications and update related components 2026-02-06 16:45:54 +05:30
DESKTOP-RTLN3BA\$punk
19e2857343 feat: added image gen support 2026-02-05 16:43:48 -08:00
CREDO23
ee56334abe refactor: consolidate public chat snapshot mutations with cache invalidation 2026-02-02 16:47:23 +02:00
CREDO23
d890c562d4 refactor: rename snapshot types to PublicChatSnapshot prefix 2026-02-02 16:05:23 +02:00
CREDO23
e62e4faaa5 feat: add snapshots cache key and query atom 2026-02-02 15:47:24 +02:00
CREDO23
a7145b2c63 merge: upstream/dev with migration renumbering 2026-01-27 11:22:26 +02:00
CREDO23
37adc54d6a feat: add public chat frontend 2026-01-26 17:08:26 +02:00
Anish Sarkar
7ec7ed5c3b feat: enhance Composio Google Drive integration with folder and file selection
- Added a new endpoint to list folders and files in a user's Composio Google Drive, supporting hierarchical structure.
- Implemented UI components for selecting specific folders and files to index, improving user control over indexing options.
- Introduced indexing options for maximum files per folder and inclusion of subfolders, allowing for customizable indexing behavior.
- Enhanced error handling and logging for Composio Drive operations, ensuring better visibility into issues during file retrieval and indexing.
- Updated the Composio configuration component to reflect new selection capabilities and indexing options.
2026-01-23 05:17:28 +05:30
CREDO23
8ad6c268df chore: cleanup unused files and update cache keys 2026-01-19 14:38:05 +02:00
CREDO23
80e19a52cb refactor: remove read tracking from mentions (prep for notification center) 2026-01-16 19:15:10 +02:00
CREDO23
33670aceb5 feat(web): add comments and mentions cache keys 2026-01-15 19:51:28 +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
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
640d765d90 feat: migrate get logs handler 2025-12-26 19:06:09 +02:00
CREDO23
10f3baca0c feat: add logs cache keys 2025-12-26 17:05:06 +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
c2dcb2045d feat: added attachment support 2025-12-21 22:26:33 -08:00
Anish Sarkar
ee46a43afc feat: enhance chat query handling and sidebar updates
- Updated chat query to include ordering by creation date for better organization.
- Improved optimistic updates in chat deletion and creation mutations to ensure UI consistency.
- Invalidate chat queries after mutations to refresh sidebar and components effectively.
- Adjusted cache key structure for chat queries to include additional parameters for better cache management.
2025-12-19 22:37:04 +05:30
DESKTOP-RTLN3BA\$punk
4d02e8768d chore: biome 2025-12-19 00:45:29 -08:00
CREDO23
797a8d4329 feat: add cache keys 2025-12-18 23:08:36 +02:00
CREDO23
4710b9ad3d feat: add cache keys 2025-12-18 22:58:21 +02:00
CREDO23
85c8ca67cb feat: add cache keys for invites 2025-12-18 18:29:41 +00:00
CREDO23
baab42efb6 feat: add cache keys for members 2025-12-18 18:29:41 +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
66a4674360 fix: restore RBAC cache keys after rebase 2025-12-16 09:16:41 +00:00
CREDO23
c732c5deee feat: add cache keys and permissions query atom for RBAC 2025-12-16 09:07:33 +00:00
CREDO23
bc6f7e15f1 refact: rebase on upstream dev 2025-12-16 05:37:30 +00:00
CREDO23
d5997a6d0c feat: add user cache keys 2025-12-16 05:24:55 +00:00
CREDO23
ccce47846b fix: build issues 2025-12-15 09:55:01 +00:00
CREDO23
edfe2aa87e feat(search-spaces): add cache keys for search spaces and llm configs 2025-12-15 08:18:35 +00:00
CREDO23
90f4ce61b5 refact: format web project with biome 2025-12-14 20:33:15 +02:00
CREDO23
2200d7b63c feat: add LLM config cache keys and create mutation atom 2025-12-14 20:17:27 +02:00
DESKTOP-RTLN3BA\$punk
e6775625ff chore: linting 2025-12-10 14:41:32 -08:00
CREDO23
42e10bbe55 feat: add useQuery implementation for document fetching in DocumentsDataTable with 3-minute stale time 2025-12-08 11:02:01 +00:00
thierryverse
ed07699ffc add documents queries & mutations atoms 2025-12-08 11:02:00 +00:00
thierryverse
d2fddd5ea5 add getPodcasts query atom 2025-11-20 08:17:57 +02:00
thierryverse
db58571751 update chat api service 2025-11-20 08:17:57 +02:00
thierryverse
1a954bc184 Add delete podcast api service 2025-11-20 08:17:57 +02:00
thierryverse
41a938cec0 Refactor register page 2025-11-17 08:10:12 +02:00