Commit graph

318 commits

Author SHA1 Message Date
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
DESKTOP-RTLN3BA\$punk
fa51ec42c6 chore: removed announcements from navbar and rewrote tagline 2026-02-27 15:45:48 -08:00
DESKTOP-RTLN3BA\$punk
6f4bf11a32 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-02-26 18:25:05 -08:00
DESKTOP-RTLN3BA\$punk
e9892c8fe9 feat: added configable summary calculation and various improvements
- Replaced direct embedding calls with a utility function across various components to streamline embedding logic.
- Added enable_summary flag to several models and routes to control summary generation behavior.
2026-02-26 18:24:57 -08:00
Anish Sarkar
20ebb0703f chore: add icons to documentation metadata for improved visual representation 2026-02-27 02:15:21 +05:30
Anish Sarkar
87e4859a39 feat: update styling in ModelSelector and provider-icons for improved UI consistency 2026-02-22 03:58:04 +05:30
DESKTOP-RTLN3BA\$punk
634f6f24bf chore: linting 2026-02-20 22:44:56 -08:00
DESKTOP-RTLN3BA\$punk
a3cd598e01 feat: added improved llm model selector 2026-02-20 14:28:01 -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
Rohan Verma
bad114734a
Merge pull request #821 from AnishSarkar22/fix/ui
feat: introduce platejs and remove blocknote editor
2026-02-19 19:09:35 -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
DESKTOP-RTLN3BA\$punk
7bd3a4e08f chore: linting 2026-02-16 23:30:35 -08:00
DESKTOP-RTLN3BA\$punk
3f1f9f0bde feat: update announcements data
- Changed announcement ID to a more descriptive format.
- Revised the announcement description for clarity.
- Updated the date to reflect the new announcement timing.
- Modified the link label and URL for better navigation to the announcements page.
2026-02-16 22:44:32 -08:00
Anish Sarkar
8b497da130 feat: add source_markdown column to documents and implement migration logic for existing records using a pure-Python BlockNote JSON to Markdown converter 2026-02-17 11:34:11 +05:30
CREDO23
66a6fb685e Merge upstream/dev into feature/human-in-the-loop 2026-02-13 20:17:59 +02:00
CREDO23
0d1b61d7e6 Implement update notion page tool 2026-02-13 10:45:51 +02:00
DESKTOP-RTLN3BA\$punk
e9979dfa7d feat: added announcements 2026-02-12 16:12:45 -08:00
CREDO23
78127243e2 merge upstream/dev: add user_id to configs, provider icons, i18n 2026-02-11 20:05:00 +02:00
CREDO23
2ef2474058 add HITL tool argument editing with approval UI
Enables users to edit tool call arguments before execution in human-in-the-loop
workflows. Adds edit mode UI with form fields, grayscale styling, and subtle
pulse animations for pending approvals. Backend stub enhanced to verify edited
arguments are correctly passed through.
2026-02-11 15:43:07 +02:00
CREDO23
5d1c386105 extract shared streaming helpers from page.tsx into streaming-state.ts
Move duplicated types (ThinkingStepData, ContentPart), content-part helpers
(appendText, addToolCall, updateToolCall, buildContentForUI,
buildContentForPersistence), and SSE read loop (readSSEStream) into a
shared module. Removes ~395 lines of tripled code from page.tsx.
2026-02-11 13:50:46 +02:00
DESKTOP-RTLN3BA\$punk
f7ccd8ff91 chore: linting 2026-02-10 21:31:43 -08:00
Anish Sarkar
fc64f65876 Merge remote-tracking branch 'upstream/dev' into feat/sur-159 2026-02-11 03:47:51 +05:30
Anish Sarkar
f1ce17bde4 chore: ran linting 2026-02-10 19:06:21 +05:30
Anish Sarkar
312fedd6a2 refactor: remove ImageModelSelector component and update ModelSelector and ChatHeader to handle LLM and image model configurations more efficiently 2026-02-10 17:20:42 +05:30
Anish Sarkar
8dd2b15796 feat: integrate SVGR for SVG handling in webpack and add new provider icons 2026-02-10 16:23:12 +05:30
Anish Sarkar
2dec643cb4 Merge remote-tracking branch 'upstream/dev' into fix/auth 2026-02-10 11:36:06 +05:30
DESKTOP-RTLN3BA\$punk
db652116d6 chore: linting 2026-02-09 16:49:11 -08:00
DESKTOP-RTLN3BA\$punk
c979609041 feat: simplified document upload handling
- Introduced a new endpoint for batch document status retrieval, allowing users to check the status of multiple documents in a search space.
- Enhanced the document upload process to return duplicate document IDs and improved response structure.
- Updated schemas to include new response models for document status.
- Removed unused attachment processing code from chat routes and UI components to streamline functionality.
2026-02-09 16:46:54 -08:00
Rohan Verma
3f0c9c35f7
Merge pull request #799 from CREDO23/sur-152-impr-split-private-and-shared-memory
[Feat] Split private vs shared chat memory and add team prompt/attribution
2026-02-09 15:03:54 -08:00
Anish Sarkar
302ee5ad2f feat: centralize provider icon logic by creating a reusable getProviderIcon function and update components to utilize it 2026-02-09 20:48:42 +05:30
Anish Sarkar
c1016591da refactor: update authentication error handling to prevent user enumeration and improve error messages 2026-02-09 12:57:32 +05:30
Anish Sarkar
bcdfd23ea1 chore: ran linting 2026-02-08 20:42:05 +05:30
Anish Sarkar
79f004bbb1 feat: implement rate limiting for authentication endpoints and enhance error handling for login attempts 2026-02-08 18:08:56 +05:30
Anish Sarkar
54b4501ca6 feat: enhance user authentication by adding specific error handling for non-existent accounts 2026-02-08 17:10:40 +05:30
Anish Sarkar
ac394e78cc feat: enhance DocumentsTableShell layout and improve document type labeling in DocumentTypeIcon 2026-02-08 03:33:15 +05:30
Anish Sarkar
76e7ddee2f chore: ran all linting 2026-02-06 18:22:19 +05:30
CREDO23
7192bb1a85 Skip auth on public routes 2026-02-06 14:49:40 +02:00
Anish Sarkar
8c3b65bac2 feat: add search functionality to notifications and update related components 2026-02-06 16:45:54 +05:30
Anish Sarkar
f0e1d73657 refactor: enhance DocumentsTableShell with BadgeInfo component and update sync version in client.ts 2026-02-06 15:18:14 +05:30
Anish Sarkar
0fdd194d92 Merge remote-tracking branch 'upstream/dev' into fix/documents 2026-02-06 12:13:26 +05:30
DESKTOP-RTLN3BA\$punk
19e2857343 feat: added image gen support 2026-02-05 16:43:48 -08:00
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
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
a8e8b0e2fd Fix auto-refresh on 401 in base API service 2026-02-05 19:29:34 +02:00
CREDO23
f13345b226 Add logout with token revocation and loading states 2026-02-05 18:56:38 +02:00
Anish Sarkar
aef59d04eb feat: add document status management with JSONB column for processing states in documents 2026-02-05 21:59:31 +05:30
CREDO23
233852b681 Switch refresh token storage from cookies to localStorage 2026-02-05 17:55:21 +02:00