Commit graph

607 commits

Author SHA1 Message Date
CREDO23
c70f0ccf49 revert Notion auth URLs to classic OAuth endpoints 2026-04-21 20:34:08 +02:00
CREDO23
30944c0fec feat(notion-mcp): wire frontend to MCP OAuth endpoints 2026-04-20 21:02:34 +02:00
Rohan Verma
2b2453e015
Merge pull request #1240 from AnishSarkar22/feat/resume-builder
Some checks failed
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
feat: resume builder
2026-04-17 13:41:32 -07:00
Anish Sarkar
aef4c90107 refactor: update UI components for improved layout in assistant message, public chat footer, and report panel 2026-04-17 09:03:34 +05:30
DESKTOP-RTLN3BA\$punk
ff4e0f9b62 feat: no login experience and prem tokens
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-15 17:02:00 -07:00
Anish Sarkar
06c344d66e feat: implement PDF viewer for resume previews and integrate with report panel 2026-04-15 21:42:50 +05:30
Tim Ren
2727aebcc6 fix(web): drop react-dom/server from inline-mention-editor bundle
Replace ReactDOMServer.renderToString with a tiny createRoot + flushSync
helper so react-dom/server is no longer pulled into the client bundle on
every chat page load. react-dom is already in the bundle (React itself
uses it), so this adds zero new runtime weight.

Fixes #1189.
2026-04-15 20:01:16 +08:00
DESKTOP-RTLN3BA\$punk
656e061f84 feat: add processing mode support for document uploads and ETL pipeline, improded error handling ux
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
- Introduced a `ProcessingMode` enum to differentiate between basic and premium processing modes.
- Updated `EtlRequest` to include a `processing_mode` field, defaulting to basic.
- Enhanced ETL pipeline services to utilize the selected processing mode for Azure Document Intelligence and LlamaCloud parsing.
- Modified various routes and services to handle processing mode, affecting document upload and indexing tasks.
- Improved error handling and logging to include processing mode details.
- Added tests to validate processing mode functionality and its impact on ETL operations.
2026-04-14 21:26:00 -07:00
Rohan Verma
b659f41bab
Merge pull request #1225 from oscarzhou511/feat/obsidian-connector-visibility
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
feat: improve Obsidian connector visibility and desktop sync flow
2026-04-14 13:10:57 -07:00
Anish Sarkar
8fd7664f8f Merge remote-tracking branch 'upstream/dev' into feat/token-calculation 2026-04-14 15:49:39 +05:30
Anish Sarkar
833799457b feat: integrate new LLM configuration handling and enhance model display in message info dropdown 2026-04-14 15:35:04 +05:30
Anish Sarkar
f21bdc0668 feat: enhance LLM response handling and token usage tracking in chat services and UI components 2026-04-14 15:29:02 +05:30
Oscar Zhou
204dac2c3a feat: improve Obsidian connector visibility and desktop sync flow 2026-04-14 19:07:14 +09:30
Anish Sarkar
5510c1de03 feat: integrate token usage context and enhance message info display in chat UI 2026-04-14 14:47:59 +05:30
Rohan Verma
888e1d9cec
Merge pull request #1221 from oscarzhou511/refactor/issue-1194-move-utils
refactor: move pure utility functions out of UI components (#1194)
2026-04-14 01:51:16 -07:00
Anish Sarkar
55099a20ac feat: enhance token usage tracking in chat messages with UI integration and dropdown display 2026-04-14 13:40:46 +05:30
Oscar Zhou
d37417cbe9 refactor: move pure utility functions out of UI components (#1194) 2026-04-14 17:39:11 +09:30
DESKTOP-RTLN3BA\$punk
5d3142332b Merge commit 'e1e4bb4706' into dev_mod 2026-04-13 20:35:04 -07:00
DESKTOP-RTLN3BA\$punk
b5301fa438 feat: enhance sandbox functionality with threading support and file download capabilities 2026-04-13 16:41:46 -07:00
Anish Sarkar
26695b949e refactor: enhance ThreadContent layout and improve navigation handling in LayoutDataProvider 2026-04-14 03:57:37 +05:30
Anish Sarkar
43744713f7 refactor: simplify Composer component logic and improve message submission handling 2026-04-14 02:38:49 +05:30
Anish Sarkar
3d1a504395 refactor: streamline Composer component by removing unused state and simplifying popover handling 2026-04-14 01:50:37 +05:30
Anish Sarkar
ae3d254a2c refactor: enhance inline mention editor and prompt picker UI with improved trigger handling and loading states 2026-04-14 00:10:57 +05:30
Anish Sarkar
ea7bcebcd0 refactor: integrate HITL approval UI for interrupt results
Enhanced the NewChatPage to utilize the new GenericHitlApprovalToolUI for handling interrupt results. Updated the ToolFallback component to conditionally render the approval UI based on the result type. Additionally, introduced a new GenericHitlApprovalToolUI component to manage user approvals and parameter editing for tool actions.
2026-04-13 20:19:23 +05:30
CREDO23
c30cc08771 Merge upstream/dev into feat/kb-export-and-folder-upload 2026-04-11 10:28:40 +02:00
CREDO23
a95bf58c8f Make Vision LLM opt-in for uploads and connectors 2026-04-10 16:45:51 +02:00
Anish Sarkar
f38ea77940 chore: ran linting 2026-04-09 18:10:34 +05:30
Anish Sarkar
ab3cb0e1c5 Merge remote-tracking branch 'upstream/dev' into refactor/persistent-memory 2026-04-09 15:33:23 +05:30
Anish Sarkar
1f089f0db5 feat: add loading skeletons to ComposerAction component 2026-04-09 00:31:36 +05:30
Anish Sarkar
a96daab45d refactor: adjust styles and layout in ComposerAction component 2026-04-09 00:26:11 +05:30
Anish Sarkar
71e88156f4 feat: enhance MemoryInjectionMiddleware to include user display name and seed memory with first name 2026-04-09 00:22:30 +05:30
Anish Sarkar
b8de7be9aa refactor: update memory tools in assistant message component 2026-04-09 00:02:14 +05:30
Anish Sarkar
56c5809170 chore: ran linting 2026-04-08 18:23:03 +05:30
Anish Sarkar
3f2602165a feat: enhance dialog components with improved styling and structure for document upload and folder watch functionalities 2026-04-08 18:14:20 +05:30
Anish Sarkar
37c52ce7ea feat: implement indexing progress management in local folder indexing process and enhance related test coverage 2026-04-08 18:01:55 +05:30
Anish Sarkar
b76a6babc1 refactor: update terminology in AllConnectorsTab and enhance styling in FolderTreeView 2026-04-08 16:20:41 +05:30
Rohan Verma
553843ab06
Merge pull request #1179 from SohamBhattacharjee2003/perf/dynamic-tool-ui-imports
perf: dynamic tool UI imports
2026-04-07 23:42:11 -07:00
SohamBhattacharjee2003
439a27830a perf: implement dynamic imports for tool UI components (#1140)
- Replace 20+ static tool UI imports with dynamic imports
- Dynamically load: Confluence, Dropbox, Gmail, Google Calendar, Google Drive, OneDrive, Jira, Linear, Notion, Generate Image, Generate Report, Generate Podcast, Generate Video Presentation, Sandbox Execute, User Memory
- Dramatically reduces chat page initial bundle size
- Tool UIs load on demand when assistant uses them
- ToolFallback remains synchronous as fallback component
2026-04-08 06:50:07 +05:30
SohamBhattacharjee2003
2b02ecaa6f perf: implement dynamic imports for connector configs and forms (#1142)
- Replace 23 static connector config imports with dynamic imports
- Replace 10 static connect form imports with dynamic imports
- Add component caching to avoid recreating dynamic components
- Significantly reduces connector popup chunk size
- Only selected connector components load on demand
2026-04-08 06:47:31 +05:30
Soham Bhattacharjee
e404b05b11
Merge branch 'dev' into fix/replace-transition-all-with-specific-transitions 2026-04-08 05:38:30 +05:30
SohamBhattacharjee2003
4a5af63715 fix: replace transition-all with specific transition properties for better performance
- Replace transition-all with transition-[width] in Sidebar.tsx for width animations
- Replace transition-all with specific properties in animated-tabs.tsx for hover/active indicators
- Replace transition-all with transition-[background-color,border-color,box-shadow] in navbar.tsx
- Replace transition-all with transition-[width] in audio.tsx volume bar
- Replace transition-all with transition-[background-color,border-color,color] in thread.tsx
- Replace transition-all with transition-[box-shadow] in all tool-ui status cards (28+ files)

This reduces unnecessary browser layout/paint work by only animating the specific
properties that change, avoiding expensive recalculations for properties like
width, height, margin, and padding that don't need animation.

Fixes #1147
2026-04-08 05:36:19 +05:30
SohamBhattacharjee2003
c7dfbcd95a fix: optimize DOM queries in thread component
- Store viewport element in ref instead of repeated querySelector calls
- Move getBoundingClientRect calls from render to useLayoutEffect
- Use ResizeObserver to update picker positions reactively
- Eliminates 120+ querySelector calls during message submit polling
- Prevents forced layout during React render phase
2026-04-08 05:21:39 +05:30
Anish Sarkar
6038f6dfc0 Merge remote-tracking branch 'upstream/dev' into feat/azure-ocr 2026-04-08 05:00:32 +05:30
SohamBhattacharjee2003
36391acfd0 fix: add autoComplete attributes to form inputs for better UX
- Add autoComplete="username" and "current-password" to login form
- Add autoComplete="email" and "new-password" to register form inputs
- Add autoComplete="name" to profile display name input
- Add autoComplete="off" to connector search input
- Enables browser password managers and autofill functionality
2026-04-08 04:58:14 +05:30
Anish Sarkar
d264aec57d refactor: update button styling for better user experience in ConnectToolsBanner and enhance document type icon visibility in DocumentNode 2026-04-08 04:48:16 +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
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
Anish Sarkar
fcba577575 refactor: remove unused document management components and types, consolidating document-related functionality 2026-04-07 23:01:47 +05:30
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