Commit graph

175 commits

Author SHA1 Message Date
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
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
CREDO23
8750462637 listen for quick-ask text in Composer 2026-03-24 19:28:41 +02:00
CREDO23
59e7f8f068 remove tray and clipboard-to-chat feature 2026-03-24 19:12:04 +02:00
CREDO23
a1119c401f Merge branch 'feat/migrate-electric-to-zero' into electon-desktop 2026-03-24 18:38:17 +02:00
CREDO23
5d8a62a4a6 merge upstream/dev into feat/migrate-electric-to-zero
Resolve 8 conflicts:
- Accept upstream deletion of 3 composio_*_connector.py (unified Google connectors)
- Accept our deletion of ElectricProvider.tsx, use-connectors-electric.ts,
  use-messages-electric.ts (replaced by Zero equivalents)
- Keep both new deps in package.json (@rocicorp/zero + @slate-serializers/html)
- Regenerate pnpm-lock.yaml
2026-03-24 17:40:34 +02:00
CREDO23
0e49cc33f8 format: auto-fix via pnpm format:fix 2026-03-24 16:07:28 +02:00
Anish Sarkar
a009cae62a refactor: remove link_preview tool and associated components to streamline agent functionality 2026-03-24 17:15:29 +05:30
Anish Sarkar
6c507989d2 refactor: remove display_image tool and update related components to streamline image handling 2026-03-24 16:28:11 +05:30
Anish Sarkar
e587b588c9 refactor: migrate thinking steps handling to new data structure and streamline related components 2026-03-24 02:23:05 +05:30
Anish Sarkar
b8f3f41326 refactor: update dependencies and streamline assistant-ui package usages 2026-03-24 02:22:51 +05:30
CREDO23
f04ab89418 refactor: rename Electric hooks and clean consumer components
Rename hooks to remove Electric branding:
- use-connectors-electric → use-connectors-sync (useConnectorsSync)
- use-messages-electric → use-messages-sync (useMessagesSync)
- use-comments-electric → use-comments-sync (useCommentsSync)

Clean all Electric/PGlite references in consumer components:
connector-popup.tsx, thread.tsx, page.tsx, use-indexing-connectors.ts,
use-connector-dialog.ts
2026-03-23 19:29:08 +02:00
Anish Sarkar
2c7908f733 fix: update placeholder texts in Thread component 2026-03-22 22:48:07 +05:30
Anish Sarkar
5c598e8588 Merge remote-tracking branch 'upstream/dev' into feat/human-in-the-loop 2026-03-22 15:45:45 +05:30
DESKTOP-RTLN3BA\$punk
0fe5e034fe feat: add video presentation tool to generate group 2026-03-21 22:17:08 -07:00
Anish Sarkar
bad3eb695f refactor: update ConnectToolsBanner to accept isThreadEmpty prop and adjust visibility logic; modify 'no_chats' message across multiple languages 2026-03-21 21:03:23 +05:30
Anish Sarkar
de8841fb86 chore: ran linting 2026-03-21 13:20:13 +05:30
Anish Sarkar
5908a64c1d refactor: remove unused tool availability logic from ComposerAction component 2026-03-21 13:10:34 +05:30
Anish Sarkar
79bc123439 feat: implement lazy imports for token refresh in Confluence and Jira connectors
- Refactored token refresh logic in ConfluenceHistoryConnector and JiraHistoryConnector to use lazy imports, avoiding circular dependencies.
- Enhanced the ComposerAction component to manage tool availability based on connected types, adding support for Jira and Confluence tools.
- Updated tool icon management to include Jira and Confluence, improving the user interface for tool interactions.
2026-03-21 12:41:06 +05:30
Anish Sarkar
b71dd425f8 feat: enhance tool management in ComposerAction component
- Added support for grouping tools with connector icons, improving organization and user interaction.
- Implemented logic to toggle tool groups based on their enabled/disabled state, enhancing user experience.
- Updated the display of enabled tools count to reflect the new grouping structure.
- Introduced a new constant for connector tool icon paths to streamline icon management across components.
- Added a new tool action for updating Gmail drafts in the backend agent, expanding functionality.
2026-03-21 11:38:42 +05:30