Commit graph

165 commits

Author SHA1 Message Date
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
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
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
2b40592f0b feat: add Agent Model Manager component for managing LLM configurations and enhance UI in related components 2026-04-14 01:30:30 +05:30
Anish Sarkar
f22d7434ce refactor: enhance layout and styling in settings components for improved UI consistency 2026-04-14 01:10:35 +05:30
Anish Sarkar
635cdde0eb refactor: enhance roles manager component with expanded role details and improved permissions display 2026-04-13 21:45:53 +05:30
Anish Sarkar
25644e1c0b refactor: replace Eye icon with ScanEye in multiple components and enhance model not found messages 2026-04-13 21:36:07 +05:30
Anish Sarkar
b6e2510e55 refactor: remove export functionality from DocumentsFilters and streamline DocumentsSidebar export handling 2026-04-13 21:25:17 +05:30
Anish Sarkar
fce465a40f refactor: simplify layout structure in user settings components 2026-04-13 21:06:16 +05:30
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
c6730c5551 feat: implement download functionality for different OS in SidebarUserProfile and DownloadButton components, enhance user experience with localized download messages 2026-04-10 19:53:13 +05:30
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
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
Trevin Chow
b544b161ae Remove dead MorePagesDialog component and morePagesDialogAtom
MorePagesDialog is never imported anywhere in the codebase.
The /more-pages route uses MorePagesContent directly from
page.tsx. The associated morePagesDialogAtom is also unused
outside the deleted component.

Closes #1192

This contribution was developed with AI assistance (Claude Code).
2026-04-09 14:13:31 -07:00
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
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
c6e1a04169 chore: linting 2026-04-08 16:14:26 -07:00
Anish Sarkar
3ea9b30046 feat: add MemoryContent and TeamMemoryManager components for user and team memory management 2026-04-09 00:03:41 +05:30
Matt Van Horn
90ed853a26 perf: remove unnecessary useMemo wrapping simple boolean expressions
Replace useMemo calls that wrap trivial boolean checks with plain
const expressions. The memo overhead exceeds the cost of these
simple permission checks and mode comparisons.

Fixes #1052
2026-04-08 01:36:24 -07:00
Rohan Verma
74f2e1ea3f
Merge pull request #1178 from SohamBhattacharjee2003/perf/dynamic-settings-tabs
perf: dynamic settings tabs
2026-04-07 23:41:57 -07:00
DESKTOP-RTLN3BA\$punk
1162ae6eab fix: update pricing details in pricing section and more pages content
- Adjusted the demo plans to reflect a new offer of 500 pages included to start and a maximum of 3,000 bonus pages.
- Updated descriptions and dialog titles throughout the application to align with the new offer, ensuring consistency in messaging.
2026-04-07 19:11:57 -07:00
SohamBhattacharjee2003
15560f297f perf: implement dynamic imports for settings dialog tabs (#1141)
- Replace 6 static imports in user-settings-dialog with dynamic imports
- Replace 8 static imports in search-space-settings-dialog with dynamic imports
- Each settings tab loads content only when selected
- Reduces initial settings dialog bundle size
- All tab functionality preserved
2026-04-08 06:48:51 +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
DESKTOP-RTLN3BA\$punk
82b5c7f19e Merge commit '056fc0e7ff' into dev_mod 2026-04-07 02:56:46 -07:00
DESKTOP-RTLN3BA\$punk
49441233e7 feat: enhance keyboard shortcut management and improve app responsiveness
- Updated the development script to include a build step before launching the app.
- Refactored the registration of quick ask and autocomplete functionalities to be asynchronous, ensuring proper initialization.
- Introduced IPC channels for getting and setting keyboard shortcuts, allowing users to customize their experience.
- Enhanced the platform module to support better interaction with the Electron API for clipboard operations.
- Improved the user interface for managing keyboard shortcuts in the settings dialog, providing a more intuitive experience.
2026-04-07 00:43:40 -07:00
Anish Sarkar
0a26a6c5bb chore: ran linting 2026-04-07 05:55:39 +05:30
CREDO23
d7315e7f27 Merge upstream/dev into feat/vision-autocomplete 2026-04-04 09:15:13 +02:00
CREDO23
482238e5d4 add vision LLM role for screenshot analysis 2026-04-03 17:40:27 +02:00
Anish Sarkar
9d4c2f5b98 refactor: replace span with Dot component in public chat snapshots, model configuration and thread managers 2026-04-03 17:28:12 +05:30
Anish Sarkar
746c730b2e chore: ran linting 2026-04-03 13:14:40 +05:30
CREDO23
6899134a20 feat: add autocomplete toggle in desktop settings 2026-04-02 14:37:26 +02:00
Anish Sarkar
c9ae4fcaca style: update badge component in LLM role manager for improved visual consistency 2026-04-02 10:12:34 +05:30
Anish Sarkar
000c2d9b5b style: simplify LLM model terminology in UI 2026-04-02 10:11:35 +05:30
Anish Sarkar
d2cf3fb3b7 refactor: update LLM role management logic and enhance UI feedback 2026-04-02 09:58:14 +05:30
Anish Sarkar
2df9708df9 style: update alert components and empty state UI 2026-04-02 09:16:07 +05:30