Commit graph

583 commits

Author SHA1 Message Date
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
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
82b5c7f19e Merge commit '056fc0e7ff' into dev_mod 2026-04-07 02:56:46 -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
Anish Sarkar
0a26a6c5bb chore: ran linting 2026-04-07 05:55:39 +05:30
Anish Sarkar
7f32dd068f refactor: update button rendering logic in connector views to improve loading state handling 2026-04-07 05:40:40 +05:30
Anish Sarkar
e4462292e4 refactor: update Google Drive indexer to return an additional unsupported file count, enhancing error reporting consistency 2026-04-07 05:30:10 +05:30
Anish Sarkar
63a75052ca Merge remote-tracking branch 'upstream/dev' into feat/unified-etl-pipeline 2026-04-06 22:04:51 +05:30
Anish Sarkar
8259fab254 refactor: update connector tabs to include search feedback and improve icon usage for better user experience 2026-04-06 13:27:49 +05:30
Anish Sarkar
46c15c11da refactor: update layout and styling in DocumentUploadPopup for improved visual hierarchy and spacing 2026-04-06 12:29:55 +05:30
Anish Sarkar
742548847a refactor: optimize navigation items in LayoutDataProvider, enhance button layout in InboxSidebar with tooltip support, full width in PageUsageDisplay 2026-04-06 12:14:17 +05:30
Rohan Verma
1e0cf21d4a
Merge pull request #1122 from okxint/fix/memoize-format-relative-time
fix: memoize formatRelativeTime in thread list
2026-04-05 13:27:46 -07:00
Rohan Verma
f35f5cef09
Merge pull request #1117 from sukarxn/feature/replace-raw-img-tags-with-next/image
fix: optimize image components with next/image
2026-04-03 08:15:59 -07:00
Rohan Verma
90228d5e0b
Merge pull request #1115 from SohamBhattacharjee2003/fix/memoize-json-stringify
fix: memoize json stringify
2026-04-03 08:14:24 -07:00
Rohan Verma
0ad72e21a5
Merge pull request #1112 from SohamBhattacharjee2003/fix/fetch-abort-controller
fix: add AbortController to properly cancel fetch requests on …
2026-04-03 08:11:42 -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
Anish Sarkar
1c50106c81 refactor: simplify file upload logic in DocumentUploadTab by removing file count and size limits; update file size limit messages in multiple languages 2026-04-03 17:24:06 +05:30
sukarxn
416b3635bf fix: optimize image components with next/image
- Replace raw <img> with Next.js Image in markdown-viewer.tsx
- Use next/image with fill + sizes in assistant-ui image.tsx
- Optimize favicons with explicit dimensions in citation components
- Set unoptimized=true for data/blob URLs and external favicons
2026-04-03 17:10:55 +05:30
SohamBhattacharjee2003
4131e6bea9 Optimize tool-fallback by memoizing JSON.stringify to reduce render overhead 2026-04-03 14:49:45 +05:30
Soham Bhattacharjee
063e05db92
Merge branch 'dev' into fix/fetch-abort-controller 2026-04-03 14:39:09 +05:30
SohamBhattacharjee2003
8a8e5fcd76 fix(hooks): add AbortController to properly cancel fetch requests on unmount 2026-04-03 14:29:41 +05:30
okxint
fc84dcffb0 fix: memoize formatRelativeTime in thread list to prevent unnecessary re-renders 2026-04-03 13:59:14 +05:30
Anish Sarkar
746c730b2e chore: ran linting 2026-04-03 13:14:40 +05:30