Commit graph

193 commits

Author SHA1 Message Date
Anish Sarkar
4899588cd7 feat(web): connect new chat UI to agent filesystem APIs 2026-04-23 15:46:39 +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
Oscar Zhou
d37417cbe9 refactor: move pure utility functions out of UI components (#1194) 2026-04-14 17:39:11 +09:30
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
f38ea77940 chore: ran linting 2026-04-09 18:10:34 +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
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
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
DESKTOP-RTLN3BA\$punk
e574b5ec4a refactor: remove prompt picker display on quick ask text retrieval
- Eliminated the automatic display of the prompt picker when quick ask text is retrieved from the Electron API, streamlining the user experience.
2026-04-07 03:17:10 -07:00
DESKTOP-RTLN3BA\$punk
bb1dcd32b6 feat: enhance vision autocomplete service and UI feedback
- Optimized the vision autocomplete service by starting the SSE stream immediately and deriving KB search queries directly from window titles.
- Refactored the service to run KB filesystem pre-computation and agent graph compilation in parallel, improving performance.
- Updated the SuggestionPage component to handle new agent step data, displaying progress indicators for each step.
- Enhanced the CSS for the suggestion tooltip and agent activity indicators, improving the user interface and experience.
2026-04-07 02:49:24 -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
Rohan Verma
d8231c2002
Merge pull request #1108 from mvanhorn/perf/throttle-scroll-handlers
perf: throttle scroll handlers with requestAnimationFrame
2026-04-03 08:06:25 -07: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
Matt Van Horn
e38a0ff7c3 style: format useEffect cleanup to satisfy biome 2026-04-02 23:43:19 -07:00
Matt Van Horn
3621951f2a perf: throttle scroll handlers with requestAnimationFrame
Wrap scroll handlers in thread.tsx, InboxSidebar.tsx, and
DocumentsTableShell.tsx with requestAnimationFrame batching so scroll
position state updates fire at most once per animation frame instead of
on every scroll event (up to 60/sec at 60fps). Add cleanup useEffect to
cancel pending frames on unmount.

Fixes #1103
2026-04-02 23:21:57 -07:00
Anish Sarkar
62b44889d1 Merge remote-tracking branch 'upstream/dev' into feat/local-folder-sync 2026-04-03 11:42:43 +05:30
Chisom Uma
6163503501 refactor: Converted disabledTools to Set for O(1) membership checks 2026-04-01 23:09:57 +00:00
Anish Sarkar
917ec444bb style: add overscroll-none class to ComposerAction component 2026-04-01 23:00:45 +05:30
Anish Sarkar
9d7b172ae7 style: update tooltips in assistant UI 2026-03-31 17:31:54 +05:30
Anish Sarkar
86dce54294 refactor: simplify tool visibility logic and update UI labels in the ComposerAction component 2026-03-30 23:56:46 +05:30
Anish Sarkar
be5685c9a4 feat: add UI components for Dropbox file creation and deletion, enhancing document management capabilities 2026-03-30 22:37:19 +05:30
Anish Sarkar
04691d572b chore: ran linting 2026-03-30 01:50:41 +05:30
DESKTOP-RTLN3BA\$punk
461192174d Merge commit '3d74cca88e' into dev_mod 2026-03-29 02:47:46 -07:00
DESKTOP-RTLN3BA\$punk
34f204620f feat: implement FrameBatchedUpdater for efficient state updates during streaming, enhance message handling in NewChatPage, and improve thread viewport scrolling behavior 2026-03-29 02:45:59 -07:00
CREDO23
ab3c636bcd Merge remote-tracking branch 'upstream/dev' into electon-desktop 2026-03-29 10:41:05 +02:00
Anish Sarkar
5a3eece397 Merge remote-tracking branch 'upstream/dev' into feat/onedrive-connector 2026-03-29 11:55:06 +05:30
CREDO23
b8a1d1f594 Merge remote-tracking branch 'upstream/dev' into electon-desktop 2026-03-29 03:10:51 +02:00
CREDO23
cfddfa54c6 fix: harden quick-ask panel, prompt handling, and clipboard UX 2026-03-29 02:54:48 +02:00
Rohan Verma
b72424a3f3
Merge pull request #1026 from Judel777/feat/aria-web-search-toggle-clean
Add aria-label and aria-pressed to web search toggle
2026-03-28 16:53:00 -07:00
DESKTOP-RTLN3BA\$punk
2cc2d339e6 feat: made agent file sytem optimized 2026-03-28 16:39:46 -07:00
CREDO23
6df9eea5a6 desktop: clipboard auto-insert with prompt picker, remove old sessionStorage logic 2026-03-29 00:45:11 +02:00
CREDO23
a6ccb7a875 rename quick-ask-actions to prompts across backend and frontend 2026-03-29 00:07:08 +02:00
CREDO23
407059ce84 add action chip in composer with prompt prepend at send time 2026-03-28 23:45:11 +02:00
CREDO23
c2644aa6a2 wire / action picker in Composer with keyboard navigation 2026-03-28 23:20:10 +02:00
Anish Sarkar
147061284b feat: integrate OneDrive connector with UI components and configuration options 2026-03-28 17:00:52 +05:30
jupal
6fe2f6fc90 Add aria attributes to web search toggle 2026-03-28 05:20:45 -04:00
CREDO23
9f13da3fd1 fix Ask SurfSense: pre-fill with initialText and cursor positioning 2026-03-27 20:07:55 +02:00
CREDO23
59e0579cc0 simplify action menu to plain buttons, remove old quickAskText from thread 2026-03-27 18:24:34 +02:00
CREDO23
6619f9598c Merge remote-tracking branch 'upstream/dev' into electon-desktop
# Conflicts:
#	surfsense_web/components/assistant-ui/thread.tsx
2026-03-25 19:03:19 +02:00
CREDO23
f3d6ae95e1 fix: pull-based clipboard text and cursor at end with br 2026-03-25 16:22:32 +02:00
Anish Sarkar
778cfac6fa Merge remote-tracking branch 'upstream/dev' into impr/thinking-steps 2026-03-25 01:50:10 +05:30
Anish Sarkar
c674fb3054 chore: ran linting 2026-03-25 00:27:24 +05:30