Commit graph

79 commits

Author SHA1 Message Date
Rohan Verma
459ffd2b78
Merge pull request #784 from CREDO23/sur-137-bug-oauth-tokens-expire-too-quickly-connectors-and-login
[Fixes] Implement refresh token auth, connector token pre-validation, and logout improvements
2026-02-05 10:49:02 -08:00
Rohan Verma
1ef3fd4ce9
Merge pull request #782 from CREDO23/sur-107-comment-reply-notifications
[Feat] Comment reply notifications and chat page &  sharing improvements
2026-02-05 10:48:01 -08:00
CREDO23
f13345b226 Add logout with token revocation and loading states 2026-02-05 18:56:38 +02:00
CREDO23
17eab845d0 feat: rename Mentions tab to Comments with speech bubble icon 2026-02-04 17:17:33 +02:00
CREDO23
6d1a363683 Navigate to reply instead of parent comment 2026-02-04 15:25:50 +02:00
CREDO23
d5b75956c3 Include comment_reply in status tab filter 2026-02-04 15:25:50 +02:00
CREDO23
21a4c25458 Handle comment_reply in inbox sidebar (icon + click routing) 2026-02-04 15:25:50 +02:00
Eric Lammertsma
d761ca1992 Added chat renaming and auto naming by the active LLM 2026-02-03 20:47:18 -05:00
Anish Sarkar
bf08982029 feat: add connector_id to documents for source tracking and implement connector deletion task 2026-02-02 16:23:26 +05:30
DESKTOP-RTLN3BA\$punk
8301e0169c Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-02-01 18:02:27 -08:00
DESKTOP-RTLN3BA\$punk
d476e18c54 feat: implement page limit exceeded notifications and enhance handling in the notification system 2026-02-01 18:02:17 -08:00
Anish Sarkar
085653d3e3 chore: ran frontend and backend linting 2026-02-01 22:54:25 +05:30
Anish Sarkar
e5f7e87f42 refactor: update sidebar layout for shared and private chats to optimize space usage 2026-01-31 23:33:20 +05:30
Anish Sarkar
eaf0a454b1 refactor: remove chat button from collapsed sidebar for cleaner UI 2026-01-31 17:07:57 +05:30
DESKTOP-RTLN3BA\$punk
70fcb2d055 chore: linting 2026-01-28 22:15:43 -08:00
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
72c421eeb1 feat(chat): implement target comment navigation and highlight functionality in chat components 2026-01-27 22:14:02 +05:30
Anish Sarkar
6d05a13167 feat(chat): add comments panel collapse functionality and integrate with inbox sidebar 2026-01-27 20:59:03 +05:30
Anish Sarkar
f7122cd477 feat(sidebar): implement inbox sidebar with docked and floating modes, add sidebar context for state management 2026-01-27 19:46:43 +05:30
Anish Sarkar
3604a0bbf3 chore: ran frontend linting 2026-01-27 16:34:35 +05:30
Anish Sarkar
b148731fda feat(sidebar): enhance chat sections layout and functionality with improved height management 2026-01-27 16:32:05 +05:30
CREDO23
a7145b2c63 merge: upstream/dev with migration renumbering 2026-01-27 11:22:26 +02:00
CREDO23
988847922f feat: clone notifications UI and PGlite resync on clone 2026-01-27 10:22:38 +02:00
DESKTOP-RTLN3BA\$punk
39d65d6166 feat: added incentive credits system 2026-01-26 23:32:30 -08:00
DESKTOP-RTLN3BA\$punk
d45b33e776 feat(ui): updated contact page, added to navbar and added incentive creds page 2026-01-26 22:47:53 -08:00
Anish Sarkar
03e38ab178 chore: ran frontend linting 2026-01-25 16:16:09 +05:30
Anish Sarkar
2d17d1a1b6 feat: replace Loader2 with Spinner component for consistent loading indicators 2026-01-25 15:23:45 +05:30
Anish Sarkar
eaecc091e3 feat: add check icon to active items in sidebar navigation and user profile
- Introduced a Check icon to visually indicate active items in the NavSection and SidebarUserProfile components.
- Updated styling to ensure the Check icon appears correctly without altering the background color for active items.
- Enhanced user experience by providing a clear visual cue for selected themes and languages in the sidebar.
2026-01-24 20:05:42 +05:30
Anish Sarkar
ce9e3b01b7 feat: expand onboarding tour with inbox step and update tooltip positioning
- Added a new onboarding tour step for the inbox, guiding users to view mentions and notifications.
- Updated tooltip positioning logic to accommodate the new inbox step, ensuring proper alignment during the tour.
- Enhanced the check for required elements to include the inbox step, improving the tour initiation process.
2026-01-24 19:53:56 +05:30
Anish Sarkar
a51fe2ee69 feat: implement chat archiving functionality in LayoutDataProvider
- Added the ability to archive and unarchive chat threads, enhancing user interaction with chat items.
- Introduced a new `handleChatArchive` function to manage the archiving state and provide user feedback via toast notifications.
- Updated the `ChatItem` type to include an `archived` property for tracking the archive status.
- Modified relevant components to support the new archiving feature, including `ChatListItem`, `Sidebar`, and `MobileSidebar`.
2026-01-24 15:17:35 +05:30
Anish Sarkar
6d14b49d3f feat: enhance indexing state management and inbox count formatting
- Improved indexing state management by refining the logic for handling notifications, ensuring accurate updates for in-progress, completed, and failed states.
- Introduced a new utility function to format inbox counts, displaying numbers up to 999 and using "k+" for larger counts, enhancing user interface clarity.
- Updated sidebar components to utilize the new inbox count formatting, improving the overall user experience.
2026-01-24 01:20:51 +05:30
Anish Sarkar
fae52345f8 Merge remote-tracking branch 'upstream/dev' into feat/composio 2026-01-23 14:35:17 +05:30
Anish Sarkar
6a41b0f608 feat: enhance Composio and Google Drive connector functionality
- Added support for extracting connected account IDs from query parameters in the Composio callback, accommodating both camelCase and snake_case formats.
- Improved logging for received query parameters in the Composio callback to enhance debugging.
- Updated Google Drive folder listing logs to remove unnecessary emoji for consistency.
- Expanded the connector dialog to include Composio Google Drive as a recognized connector type, improving user interface clarity.
2026-01-23 14:12:57 +05:30
Rohan Verma
744fc4c66c
Merge pull request #730 from elammertsma/dev
Fixed merge conflicts after minor layout changes in main interface
2026-01-22 18:08:16 -08:00
DESKTOP-RTLN3BA\$punk
8b81507739 refactor: remove unused COMPOSIO_CONNECTOR migration and linting 2026-01-22 16:43:08 -08:00
Eric Lammertsma
089beb8d8c Merge upstream/dev - preserve local UI enhancements (Logs in menu, conditional search, hover edit buttons) 2026-01-22 19:41:11 -05:00
Eric Lammertsma
8dc1ae8b6c fix: use searchSpaceId from params to prevent malformed URL in Logs navigation 2026-01-22 19:29:29 -05:00
Anish Sarkar
e6a4ac7c9c fix: change animation from spring to tween for sliding 2026-01-23 04:56:15 +05:30
Eric Lammertsma
1f05cf2854 Moved the Documents sidebar item to the bottom, above the page count 2026-01-22 16:24:46 -05:00
Eric Lammertsma
30469b4941 Made numerous minor layout changes to main layout and sidebar 2026-01-22 16:23:44 -05:00
Eric Lammertsma
ee60d72d2f Moved the Documents sidebar item to the bottom, above the page count 2026-01-22 12:41:49 -05:00
Eric Lammertsma
6c5223e262 Made numerous minor layout changes to main layout and sidebar 2026-01-22 12:26:37 -05:00
Anish Sarkar
00596f991d refactor: enhance inbox functionality with type guards and API service integration
- Introduced type guards for metadata in InboxSidebar to ensure safe access and improve type safety.
- Refactored the useInbox hook to utilize the new notifications API service for fetching notifications, enhancing validation and error handling.
- Added new API request/response schemas for notifications, improving structure and clarity.
- Updated logic for loading and marking notifications as read, ensuring consistent state management and user experience.
2026-01-22 18:32:25 +05:30
Anish Sarkar
c98cfac49f refactor: improve InboxSidebar and useInbox hook
- Added LayoutGrid icon to the "All connectors" option in the InboxSidebar for better visual representation.
- Simplified the return statement in getConnectorTypeDisplayName for improved readability.
- Refactored filter and drawer components in InboxSidebar for cleaner code structure.
- Removed unused totalUnreadCount state from useInbox hook and replaced it with a memoized calculation for better performance.
- Implemented optimistic updates for marking inbox items as read, enhancing user experience with immediate feedback.
2026-01-22 17:46:44 +05:30
Anish Sarkar
be7ba76417 chore: ran backend and frontend linting 2026-01-22 16:07:06 +05:30
Anish Sarkar
36f1d28632 feat: implement infinite scroll and pagination for inbox items
- Enhanced the inbox functionality by adding infinite scroll support in the InboxSidebar, allowing users to load more items seamlessly as they scroll.
- Updated the useInbox hook to manage pagination, including loading states and item counts, improving performance with large datasets.
- Introduced new props in InboxSidebar for loading more items, handling loading states, and indicating if more items are available.
- Refactored the LayoutDataProvider to accommodate the new inbox loading logic, ensuring a smooth user experience.
2026-01-22 11:27:45 +05:30
Anish Sarkar
9c2a1766f6 fix: always show the 3-dot and the folder in mobile view 2026-01-22 04:27:34 +05:30