Commit graph

221 commits

Author SHA1 Message Date
Anish Sarkar
3e4db20bcb fix: update baseline logic in useDocuments and useInbox hooks to accurately track new items and unread counts, addressing timing issues with Electric updates 2026-03-06 20:21:28 +05:30
Anish Sarkar
1a688c7161 feat: enhance notifications system by introducing category-based filtering for comments and status, improving user experience in the inbox and API interactions 2026-03-06 19:35:35 +05:30
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
be0bfb3d56 refactor: integrate useDocumentSearch hook into DocumentsSidebar for improved search functionality and performance, while enhancing user feedback with localized toast messages 2026-03-06 12:52:22 +05:30
Anish Sarkar
62c4a3befc refactor: simplify document mapping in DocumentsSidebar by introducing toDisplayDoc utility function for improved readability and maintainability 2026-03-06 12:35:39 +05:30
Anish Sarkar
91463b3701 chore: ran linting 2026-03-06 12:17:57 +05:30
Anish Sarkar
889af57d3f refactor: simplify DocumentsTableShell and DocumentsSidebar components by removing unused column visibility state and optimizing document loading logic in useDocuments hook 2026-03-06 12:12:03 +05:30
Anish Sarkar
b7ca656823 refactor: enhance DocumentsFilters and DocumentsTableShell components by replacing icons for improved clarity and optimizing loading state management in useDocuments hook 2026-03-06 11:59:29 +05:30
Anish Sarkar
dc6c18b3f6 refactor: add sorting functionality to document retrieval and enhance DocumentsSidebar for improved search and pagination handling 2026-03-06 11:22:33 +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
0e723a5b8b feat: perf optimizations
- improved search_knowledgebase_tool
- Added new endpoint to batch-fetch comments for multiple messages, reducing the number of API calls.
- Introduced CommentBatchRequest and CommentBatchResponse schemas for handling batch requests and responses.
- Updated chat_comments_service to validate message existence and permissions before fetching comments.
- Enhanced frontend with useBatchCommentsPreload hook to optimize comment loading for assistant messages.
2026-02-27 17:19:25 -08:00
Anish Sarkar
f3652ad7cf feat: add created_by_email field to document schema and update related components for improved user information display 2026-02-21 23:41:00 +05:30
DESKTOP-RTLN3BA\$punk
634f6f24bf chore: linting 2026-02-20 22:44:56 -08:00
Rohan Verma
f92567acd8
Merge pull request #827 from elammertsma/dev
Simplified Announcements and made minor updates to homepage
2026-02-19 19:10:59 -08:00
Eric Lammertsma
f777142017 refactor: made announcements time-bound and added audiences
- Added startTime and endTime properties to announcements for time-bound visibility.
- Introduced audience targeting to control who sees announcements (all, users, web_visitors).
- Updated related components and hooks to support new announcement features.
- Removed unused state tracking for dismissed announcements to streamline functionality.
2026-02-19 18:34:49 -05:00
Anish Sarkar
7b44dd58f5 feat: implement platform-aware keyboard shortcuts for sidebar and toolbar actions, enhancing user experience 2026-02-18 00:26:18 +05:30
Anish Sarkar
a482cc95de chore: ran linting 2026-02-17 12:47:39 +05:30
Anish Sarkar
f2a2872995 Merge remote-tracking branch 'upstream/dev' into fix/ui 2026-02-17 03:58:57 +05:30
DESKTOP-RTLN3BA\$punk
81c70befcf chore: linting 2026-02-15 23:38:15 -08:00
DESKTOP-RTLN3BA\$punk
b9159a8329 feat: fixed bugs 2026-02-15 23:36:20 -08:00
Anish Sarkar
1995fe9ec1 feat: add report content update endpoint and integrate Platejs editor for markdown editing 2026-02-16 00:11:34 +05:30
DESKTOP-RTLN3BA\$punk
e9979dfa7d feat: added announcements 2026-02-12 16:12:45 -08:00
Anish Sarkar
e01717c65d refactor: update document filtering logic to maintain complete dataset and clear selections on filter change 2026-02-06 15:47:07 +05:30
Anish Sarkar
c132e5ddb0 Merge remote-tracking branch 'upstream/dev' into fix/documents 2026-02-06 05:36:32 +05:30
Anish Sarkar
aa66928154 chore: ran linting 2026-02-06 05:35:15 +05:30
Anish Sarkar
aef59d04eb feat: add document status management with JSONB column for processing states in documents 2026-02-05 21:59:31 +05:30
Anish Sarkar
d5fd4c2863 refactor: change page size parameter to -1 for fetching all documents in useDocuments hook 2026-02-04 23:19:45 +05:30
Anish Sarkar
c19aa5fa99 feat: implement real-time document updates and lazy loading for document content in DocumentsTable and DocumentsTableShell 2026-02-04 22:25:42 +05:30
CREDO23
1cf7205a81 Add clipboard utility with fallback and show selectable URLs 2026-02-04 18:54:59 +02:00
Anish Sarkar
dec85b6417 fix: stabilize sync process by rounding cutoff date to midnight UTC and update cleanup logic for user databases 2026-02-04 19:58:47 +05:30
Anish Sarkar
614761bb17 Merge remote-tracking branch 'upstream/dev' into feat/inbox 2026-01-28 09:26:04 +05:30
Rohan Verma
752a51d3fd
Merge pull request #745 from CREDO23/sur-106-feat-public-chats
[Feature] Public Chat Sharing and Cloning
2026-01-27 16:01:08 -08:00
CREDO23
3c835bdf7e fix(frontend): remove clone notifications, allow public podcast access 2026-01-28 00:17:54 +02:00
Anish Sarkar
79f7dfbbed feat(notifications): enhance inbox functionality with type filtering and independent pagination for mentions and status notifications 2026-01-28 02:14:36 +05:30
Anish Sarkar
ba304be977 fix: remove message from loading UI 2026-01-27 15:28:30 +05:30
CREDO23
a7145b2c63 merge: upstream/dev with migration renumbering 2026-01-27 11:22:26 +02:00
CREDO23
bd921a8ec8 fix: handle abort error in useGithubStars hook 2026-01-27 10:58:03 +02:00
CREDO23
24472c0ea6 fix: preserve author info in cloned chats and force PGlite resync after clone 2026-01-27 10:50:37 +02:00
CREDO23
ee65e1377f feat: improve public chat UI and shared components 2026-01-26 18:39:59 +02:00
CREDO23
37adc54d6a feat: add public chat frontend 2026-01-26 17:08:26 +02:00
Anish Sarkar
66a3c877ef feat: replace unified loading approach with global loading provider and refactor loading handling across components
- Introduced GlobalLoadingProvider to manage a consistent loading overlay across the application.
- Replaced existing loading implementations with useGlobalLoadingEffect hook for better control and to prevent animation resets.
- Updated components such as LoginPage, AuthCallbackPage, and DashboardLayout to utilize the new global loading mechanism.
- Removed UnifiedLoadingScreen component to streamline loading management and enhance user experience.
2026-01-25 16:15:25 +05:30
Anish Sarkar
fae52345f8 Merge remote-tracking branch 'upstream/dev' into feat/composio 2026-01-23 14:35:17 +05:30
DESKTOP-RTLN3BA\$punk
8b81507739 refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
DESKTOP-RTLN3BA\$punk
ed931bb404 fix: live comment sync in shared chats
- Added a method to find existing notifications by mention ID to prevent duplicate notifications.
- Updated notify_new_mention to check for existing notifications before creating a new one, ensuring idempotency.
- Implemented error handling for race conditions during notification creation, allowing retrieval of existing notifications in case of duplicate key errors.
- Improved documentation for clarity on the use of mention_id for idempotency.
2026-01-22 16:04:08 -08:00
Anish Sarkar
8a0b8346a5 chore: ran linting 2026-01-23 05:28:18 +05:30
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
1a2fa23916 Merge upstream/dev with live collaboration features 2026-01-22 23:00:42 +02:00
Anish Sarkar
076de2f3d7 feat: add unread count endpoint and update inbox logic
- Introduced a new API endpoint to fetch unread notification counts, providing both total and recent counts for better tracking.
- Updated the useInbox hook to manage separate states for older and recent unread counts, enhancing user experience with real-time updates.
- Implemented logic to handle marking notifications as read, ensuring accurate count adjustments for both recent and older items.
- Enhanced type definitions in the inbox types to support the new unread count functionality.
2026-01-22 22:56:02 +05:30
CREDO23
39d434b00c Centralize chat session state sync with single subscription via atom 2026-01-22 19:04:23 +02:00
CREDO23
12437f840a Add new_chat_messages table to PGlite and create useMessagesElectric hook 2026-01-22 18:43:20 +02:00