Commit graph

986 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
80d3f624d4 chore: linting 2026-04-22 01:05:31 -07:00
Anish Sarkar
2657c9e871 feat: add internal backend URL configuration 2026-04-21 21:03:38 +05:30
DESKTOP-RTLN3BA\$punk
e06c8419b1 feat: update SEO titles and descriptions for improved clarity and focus
- Revised metadata titles and descriptions across multiple pages to better reflect the open-source and privacy-focused nature of SurfSense.
- Enhanced user engagement by simplifying titles for the free AI chat feature and individual model pages.
2026-04-21 01:33:58 -07:00
DESKTOP-RTLN3BA\$punk
24383a3741 feat: add auto-launch functionality for desktop app
- Implemented IPC channels for managing auto-launch settings.
- Enhanced main process to handle auto-launch behavior on startup.
- Updated UI components to allow users to configure launch options.
- Integrated analytics tracking for auto-launch events.

This commit introduces the ability for users to enable or disable the application launching at system startup, along with options for starting minimized to the tray.
2026-04-20 12:42:06 -07:00
DESKTOP-RTLN3BA\$punk
ba87d3d9e0 Merge commit '2b2453e015' into dev_mod 2026-04-18 15:03:53 -07:00
DESKTOP-RTLN3BA\$punk
b440610e04 feat: implement analytics tracking for desktop app events
- Added event tracking for desktop app activation and quitting.
- Introduced analytics bridge in preload script to handle user identification and event capturing.
- Updated IPC channels to support analytics-related actions.
- Enhanced analytics functionality in the main process to track user interactions and application updates.
- Integrated analytics tracking for folder watching and deep link handling.
- Improved connector setup tracking in the web application.

This commit enhances the overall analytics capabilities of the application, ensuring better user behavior insights and event tracking across both desktop and web environments.
2026-04-18 14:35:14 -07: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
Rohan Verma
c3b9d419ba
Merge pull request #1238 from xr843/ux/form-max-length
feat: add maxLength constraints to auth and settings form inputs
2026-04-16 15:51:43 -07:00
xianren
b8e663e8f4 feat: add maxLength constraints to auth and settings form inputs
Gives users immediate client-side feedback and prevents pathologically
long values from being typed. Caps match Zod schema limits where they
exist; email uses the RFC 5321 maximum.

Files touched (5):
- (home)/login/LocalLoginForm.tsx — email → 254
- (home)/register/page.tsx — email → 254
- dashboard/.../user-settings/.../ProfileContent.tsx — display name → 100
- components/settings/general-settings-manager.tsx — search space name → 100
- components/settings/roles-manager.tsx — role name (create+edit dialogs) → 100,
  role description (create+edit dialogs) → 500

Closes #948
2026-04-16 22:33:01 +08:00
xianren
3f85f2a56b fix(a11y): remove nested <main> landmarks under (home) layout
The (home)/layout.tsx already wraps children in <main>. Having another
<main> inside each child page produces nested landmarks, which is
invalid HTML and confuses screen readers.

Changed the outermost wrapper from <main> → <div> in:
- surfsense_web/app/(home)/page.tsx (homepage)
- surfsense_web/app/(home)/free/page.tsx (free AI chat landing)

Other (home) descendants (login/register/privacy/terms/changelog/
announcements/blog/contact/free/[model_slug]) were already using <div>.

Closes #1191
2026-04-16 22:30:55 +08:00
DESKTOP-RTLN3BA\$punk
4a51ccdc2c cloud: added openrouter integration with global configs 2026-04-15 23:46:29 -07:00
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
07bd076317 feat: add content type support for reports and include new resume generation tool in dashboard 2026-04-15 21:13:56 +05:30
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
Anish Sarkar
a74ed014cc refactor: update UI components for better accessibility and styling consistency 2026-04-14 21:50:34 +05:30
Anish Sarkar
1714922830 refactor: improve password input layout and enhance chat thread title update logic 2026-04-14 21:13:01 +05:30
Anish Sarkar
8fd7664f8f Merge remote-tracking branch 'upstream/dev' into feat/token-calculation 2026-04-14 15:49:39 +05: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
94dbbfa7e4
Merge pull request #1220 from mvanhorn/osc/1195-dashboard-error-boundary
feat: add dashboard-scoped error boundary
2026-04-14 01:50:35 -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
Matt Van Horn
1188550bf6
feat: add dashboard-scoped error boundary
Closes #1195.

Adds `surfsense_web/app/dashboard/error.tsx` so unhandled errors in any
dashboard route render inside the dashboard layout (sidebar/nav stay
visible) instead of blowing out to the root-level error page. `reset()`
now retries just the failed segment.

Follows the same PostHog capture pattern as the root error.tsx and adds
a secondary "Go to dashboard home" link for recovery when `reset()`
doesn't help.
2026-04-13 22:59:38 -04:00
Anish Sarkar
136901276a Merge remote-tracking branch 'upstream/dev' into fix/sensitive-actions 2026-04-14 04:10:00 +05:30
Anish Sarkar
fce465a40f refactor: simplify layout structure in user settings components 2026-04-13 21:06:16 +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
DESKTOP-RTLN3BA\$punk
7ea840dbb2 feat: enhance SurfSense with new skills, blog section, and improve SEO metadata
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
- Added multiple new skills to skills-lock.json from the repository `aaron-he-zhu/seo-geo-claude-skills`.
- Introduced `fuzzy-search` dependency in package.json for improved search functionality.
- Updated pnpm-lock.yaml to include the new `fuzzy-search` package.
- Enhanced SEO metadata across various pages, including canonical links and descriptions for better search visibility.
- Improved layout and structure of several components, including the homepage and changelog, to enhance user experience.
2026-04-11 23:38:12 -07:00
Rohan Verma
b96dc49c8a
Merge pull request #1200 from AnishSarkar22/refactor/persistent-memory
refactor: persistent memory
2026-04-10 14:34:16 -07:00
Anish Sarkar
42572ad09d refactor: simplify alert descriptions, improved icons, improved UI in LLM settings 2026-04-10 19:07:35 +05:30
Anish Sarkar
27cd032d28 feat: implement input handling improvements in MemoryContent and TeamMemoryManager components, including click outside to close functionality 2026-04-10 15:23:04 +05:30
Anish Sarkar
8c9440998a chore: ran linting 2026-04-10 14:20:11 +05:30
Anish Sarkar
a5bf3af4f8 feat: migrate legacy memory tables to markdown format and drop old structures 2026-04-10 14:19:20 +05:30
Anish Sarkar
bbfce5028f feat: enhance MemoryContent and TeamMemoryManager components with new input handling, improved export options 2026-04-10 12:52:27 +05:30
Anish Sarkar
b8e1c9801b feat: update memory extraction and management protocols to enforce structured bullet formats, utilize user first names, and enhance validation for team and user memory entries 2026-04-10 04:36:51 +05:30
Anish Sarkar
ad2a981a77 chore: ran linting 2026-04-10 02:33:48 +05:30
Anish Sarkar
fdbb6200a6 feat: add export functionality to MemoryContent and TeamMemoryManager components, allowing users to download memory as markdown files 2026-04-10 02:31:59 +05:30
DESKTOP-RTLN3BA\$punk
fedb4bcd76 fix: update metadata descriptions to emphasize privacy and data limits 2026-04-09 13:29:34 -07:00
Anish Sarkar
33626d4f91 chore: ran linting 2026-04-10 00:31:43 +05:30
Anish Sarkar
b44c1ee034 feat: enhance MemoryContent and TeamMemoryManager components with improved memory display and user prompts for empty memory states 2026-04-10 00:29:53 +05:30
Anish Sarkar
84fc72e596 feat: implement background memory extraction and editing capabilities for user and team memory management, enhancing long-term memory persistence and user interaction 2026-04-10 00:21:55 +05:30
Anish Sarkar
cd72fa9a48 refactor: remove memory extraction functionality and update memory management protocols to ensure immediate updates for user and team interactions 2026-04-09 23:30:17 +05:30
Anish Sarkar
f38ea77940 chore: ran linting 2026-04-09 18:10:34 +05:30
Anish Sarkar
a335f7621a refactor: update memory management tools to enforce character limits, enhance pinned section handling, and improve user feedback in MemoryContent and TeamMemoryManager components 2026-04-09 17:24:31 +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
a2e350ff02 refactor: standardize limit alert formatting in MemoryContent and TeamMemoryManager components, and enhance FloatingToolbar 2026-04-09 15:24:46 +05:30
Anish Sarkar
187ad46bc9 refactor: integrate PlateEditor for memory input in MemoryContent and TeamMemoryManager components, enhancing user experience with alerts and improved layout 2026-04-09 15:06:35 +05:30
Anish Sarkar
d1c6caddba refactor: enhance MemoryInjectionMiddleware to auto-persist user memory seed and improve button styles in MemoryContent and TeamMemoryManager components 2026-04-09 13:57:54 +05:30
DESKTOP-RTLN3BA\$punk
bbe774846c chore: fixed builds 2026-04-08 16:30:31 -07:00
DESKTOP-RTLN3BA\$punk
5891dfa4d0 Merge commit 'fe6f830eab' into dev_mod 2026-04-08 16:21:36 -07:00
DESKTOP-RTLN3BA\$punk
c6e1a04169 chore: linting 2026-04-08 16:14:26 -07:00
DESKTOP-RTLN3BA\$punk
809e0c6b0b fix: imports 2026-04-08 15:59:30 -07:00
DESKTOP-RTLN3BA\$punk
7276ec856e feat: add "use client" directive to sidebar-separator component for client-side rendering 2026-04-08 15:01:15 -07:00