Commit graph

4734 commits

Author SHA1 Message Date
Anish Sarkar
b7c9077fb2 feat: enhance folder watching experience by adding initial folder selection and updating state management in DocumentsSidebar and FolderWatchDialog 2026-04-08 04:42:07 +05:30
SohamBhattacharjee2003
4066cbc6f0 fix: remove unnecessary 'use client' directives to reduce client bundle
- Remove 'use client' from connector-document-mapping.ts (only exports constants and pure functions)
- Remove 'use client' from sidebar-separator.tsx (purely presentational component)
- Remove 'use client' and Framer Motion from logs/loading.tsx, replace with Tailwind animations
- Reduces client bundle size by moving server-compatible code to server components
2026-04-08 04:39:39 +05:30
SohamBhattacharjee2003
baada1457a fix: replace window.location with Next.js router for client-side navigation
- Replace window.location.href with router.push() + router.refresh() in UserDropdown logout
- Replace window.location.href with router.push() in CreateSearchSpaceDialog
- Replace window.location.reload() with router.refresh() in login page retry action
- Prevents full page reloads and preserves React state during in-app navigation
2026-04-08 04:28:41 +05:30
Rohan Verma
65c05008e0
Merge pull request #1163 from CREDO23/feat/vision-autocomplete
[Feat] Dynamic vision model list from OpenRouter with combobox selector
2026-04-07 15:51:45 -07:00
Anish Sarkar
3832bdbb91 refactor: replace FolderOpen icon with FolderClock in DocumentsSidebar and update button text in FolderWatchDialog 2026-04-08 04:12:54 +05:30
Anish Sarkar
078f735e3a feat: improve folder watching functionality with UI dialog for selecting and managing watched folders 2026-04-08 04:11:49 +05:30
DESKTOP-RTLN3BA\$punk
526057022d chore: update dependencies in desktop release workflow
- Upgraded actions/checkout from v4 to v5.
- Upgraded pnpm/action-setup from v4 to v5.
- Upgraded actions/setup-node from v4 to v5 and changed node version from 20 to 22.
2026-04-07 15:25:48 -07:00
DESKTOP-RTLN3BA\$punk
b9b567fe30 chore: update desktop release workflow and configuration
- Changed shell to bash in the desktop release workflow for consistency.
- Updated the hosted frontend URL in the .env file to point to the new domain.
- Enhanced package.json with homepage and author details for better project metadata.
2026-04-07 15:13:26 -07:00
DESKTOP-RTLN3BA\$punk
9ac062ad7e ci: add workflow_dispatch to desktop release for manual testing
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
2026-04-07 15:03:33 -07:00
DESKTOP-RTLN3BA\$punk
a38ec3f5dc fix: desktop release
TODO: Move to monorepo here
2026-04-07 14:59:40 -07:00
Anish Sarkar
20fa93f0ba refactor: make Azure Document Intelligence an internal LLAMACLOUD accelerator instead of a standalone ETL service 2026-04-08 03:26:24 +05:30
CREDO23
936bac21e9 Merge remote-tracking branch 'upstream/dev' into feat/vision-autocomplete 2026-04-07 23:48:02 +02:00
CREDO23
26bffbcc47 Add dynamic vision model list from OpenRouter with combobox selector 2026-04-07 23:39:52 +02:00
Rohan Verma
e827a3906d
Merge pull request #1162 from CREDO23/feat/vision-autocomplete
[Feat] Multi-suggestion autocomplete, Vision LLM config & Desktop analytics
2026-04-07 14:01:44 -07:00
CREDO23
4dd1b6c64f Add posthog-node and node-machine-id dependencies for desktop analytics 2026-04-07 22:15:35 +02:00
DESKTOP-RTLN3BA\$punk
00ee7974f6 fix(desktop): pasteback issues in quick ask
- Updated the quick ask window URL to include a query parameter for quick assist mode.
- Introduced a constant to detect quick assist mode based on the URL parameter in the assistant message component.
- Simplified state management for quick assist detection, improving component performance and clarity.
2026-04-07 13:13:16 -07:00
CREDO23
36b8a84b0b Add vision LLM config examples to global_llm_config.example.yaml 2026-04-07 21:55:58 +02:00
Anish Sarkar
1fa8d1220b feat: add support for Azure Document Intelligence in ETL pipeline 2026-04-08 00:59:12 +05:30
CREDO23
087b149843 Add setup prompt in overlay when vision model not configured 2026-04-07 21:06:11 +02:00
CREDO23
13625acdd5 Add vision model tab to chat page model selector 2026-04-07 20:47:17 +02:00
CREDO23
c5646eef66 Formatting 2026-04-07 20:28:07 +02:00
Anish Sarkar
73a9c5fbd1 chore: add azure-ai-documentintelligence dependency 2026-04-07 23:53:19 +05:30
CREDO23
0be3c79635 Guard trackEvent with try-catch 2026-04-07 20:22:00 +02:00
CREDO23
556646fe97 Use assets.surfsense.com as PostHog host 2026-04-07 20:20:56 +02:00
CREDO23
8566b03c91 Add PostHog analytics to desktop main process 2026-04-07 20:18:42 +02:00
CREDO23
e85c355592 Add NEXT_PUBLIC_POSTHOG_KEY to desktop release CI and .env.example 2026-04-07 19:45:30 +02:00
Anish Sarkar
fcba577575 refactor: remove unused document management components and types, consolidating document-related functionality 2026-04-07 23:01:47 +05:30
Anish Sarkar
76c760b8dd fix: improve the notification content and improve tooltip 2026-04-07 23:00:52 +05:30
CREDO23
035a4862f9 Add Vision Models tab to settings dialog with i18n 2026-04-07 19:29:24 +02:00
CREDO23
3bbe6c3037 Add VisionModelManager and VisionConfigDialog components 2026-04-07 19:27:24 +02:00
CREDO23
3369b8a832 Add frontend vision LLM config types, API, atoms, and role manager wiring 2026-04-07 19:24:43 +02:00
CREDO23
4a675b64f4 Initialize vision LLM router at app and celery startup 2026-04-07 19:21:10 +02:00
CREDO23
6d85821ae9 Wire vision_llm_config_id in preferences, register vision LLM router 2026-04-07 19:20:28 +02:00
CREDO23
43b8862ac7 Update get_vision_llm to use dedicated VisionLLMConfig system 2026-04-07 19:16:51 +02:00
CREDO23
bdbc4ce4a1 Add vision LLM config CRUD and global configs routes 2026-04-07 19:04:03 +02:00
CREDO23
7448f27ee0 Add vision LLM config loading and router initialization to Config 2026-04-07 19:02:18 +02:00
CREDO23
362cd3590c Add VisionLLMRouterService for Auto mode routing 2026-04-07 18:59:33 +02:00
CREDO23
ecfcc61011 Add VisionLLMConfig Pydantic schemas 2026-04-07 18:52:37 +02:00
CREDO23
32a3356f55 Add migration 120: vision_llm_configs table and column rename 2026-04-07 18:50:51 +02:00
CREDO23
879945eeae Add VisionProvider enum, VisionLLMConfig table, and vision RBAC permissions 2026-04-07 18:49:04 +02:00
CREDO23
5439b3991b fix: auto-dismiss overlay when no suggestions are available 2026-04-07 18:25:06 +02:00
CREDO23
70807cccd1 fix: hide scrollbar during streaming to prevent UI flicker 2026-04-07 18:22:16 +02:00
CREDO23
60b9f0f21c fix: nested button, empty options fallback, skip intermediate tool_calls 2026-04-07 18:12:34 +02:00
CREDO23
5f354ef6ac fix: capture agent text from on_chat_model_end for non-streaming LLM calls 2026-04-07 18:06:40 +02:00
CREDO23
e8f82a0590 feat: add option card styles for multi-suggestion UI 2026-04-07 17:46:42 +02:00
CREDO23
2602248e7a feat: handle multi-option suggestions in suggestion page UI 2026-04-07 17:43:40 +02:00
CREDO23
55845d68ef feat: return 3 suggestion options from vision autocomplete agent 2026-04-07 17:38:39 +02:00
Rohan Verma
1a5d40e8f3
Merge pull request #1159 from MODSetter/dev_mod
Some checks are pending
Build and Push Docker Images / tag_release (push) Waiting to run
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Blocked by required conditions
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Blocked by required conditions
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Blocked by required conditions
refactor: improve UI
2026-04-07 05:16:09 -07:00
DESKTOP-RTLN3BA\$punk
80f775581b feat: implement quick assist mode detection in AssistantActionBar
- Added state management for quick assist mode using the Electron API.
- Introduced a useEffect hook to asynchronously check and set the quick assist mode based on the API response, enhancing the component's interactivity.
2026-04-07 05:11:41 -07:00
DESKTOP-RTLN3BA\$punk
518cacf56e refactor: improve AssistantActionBar functionality and UI elements
- Removed unused quick ask mode state and effect, simplifying the component logic.
- Updated tooltip descriptions for action buttons to provide clearer user guidance.
- Enhanced the conditional rendering for the quick assist feature, improving user interaction with the clipboard functionality.
2026-04-07 05:03:20 -07:00