Commit graph

1738 commits

Author SHA1 Message Date
barry3406
32af45bbbd refactor: extract duplicate TYPE_ICONS into shared module
Both citation.tsx and citation-list.tsx defined identical TYPE_ICONS
maps. Extract into a shared type-icons.ts to eliminate duplication
and reduce bundle size from duplicate Lucide icon imports.

Fixes #1190
2026-04-09 04:15:14 -07:00
DESKTOP-RTLN3BA\$punk
b96c04994d fix: update pricing description to reflect 500 pages included in the free plan
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-08 18:37:43 -07:00
DESKTOP-RTLN3BA\$punk
43beb8e533 chore: linting 2026-04-08 16:42:25 -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
89c96c1a23 fix: update billing text to reflect 500 pages included in demo plans 2026-04-08 16:00:43 -07:00
Rohan Verma
fe6f830eab
Merge pull request #1185 from AnishSarkar22/fix/folder-watch
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
fix: harden folder watch feature with file hash dedup, mtime seeding, and stable spinner
2026-04-08 14:00:05 -07:00
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
f3aa514240 feat: integrate subtree ID retrieval in local folder cleanup process and enhance UI component styling for folder selection 2026-04-08 17:25:18 +05:30
Anish Sarkar
ae98f64760 feat: enhance folder indexing with metadata management and improve folder structure handling in UI components 2026-04-08 16:48:40 +05:30
Anish Sarkar
b76a6babc1 refactor: update terminology in AllConnectorsTab and enhance styling in FolderTreeView 2026-04-08 16:20:41 +05:30
Anish Sarkar
c9c1d239f8 refactor: optimize button rendering in CreateSearchSpaceDialog and enhance watched folder ID retrieval in DocumentsSidebar 2026-04-08 16:17:34 +05:30
Anish Sarkar
e8c2377824 refactor: adjust className formatting in LayoutShell and optimize motion.div properties in SidebarSlideOutPanel 2026-04-08 16:04:11 +05:30
Anish Sarkar
5eada7bcab fix: update button variant in FolderWatchDialog and refine metadata type in folder.types 2026-04-08 15:55:37 +05:30
Anish Sarkar
5f5954e932 feat: implement upload-based folder indexing and synchronization features 2026-04-08 15:46:52 +05:30
Anish Sarkar
b3925654dd fix: update MoreHorizontal icon styling in FolderNode component 2026-04-08 15:20:19 +05:30
Rohan Verma
36908241f1
Merge pull request #1184 from mvanhorn/fix/cancel-animation-frame-cleanup
fix: add cancelAnimationFrame cleanup in animated-tabs useEffect
2026-04-08 02:03:01 -07:00
Rohan Verma
d73658a8f3
Merge pull request #1183 from mvanhorn/perf/remove-simple-usememo
perf: remove unnecessary useMemo wrapping simple boolean expressions
2026-04-08 02:02:28 -07:00
Matt Van Horn
833ea18800 fix: add cancelAnimationFrame cleanup in animated-tabs useEffect
Store the requestAnimationFrame ID and cancel it on unmount
to prevent updateActiveIndicator from running on an unmounted
component.

Fixes #1093
2026-04-08 01:39:14 -07:00
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
Matt Van Horn
67ee8f4bb7 fix: replace window.location with router.push for client-side navigation 2026-04-08 00:01:30 -07:00
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
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
Rohan Verma
ca2fe959fd
Merge pull request #1177 from SohamBhattacharjee2003/perf/dynamic-connector-imports
perf: dynamic connector imports
2026-04-07 23:41:37 -07:00
Rohan Verma
8566160db0
Merge pull request #1175 from SohamBhattacharjee2003/refactor/remove-unused-drizzle-import
refactor: remove unused drizzle import
2026-04-07 23:40:54 -07:00
Rohan Verma
de6f5a2393
Merge pull request #1174 from SohamBhattacharjee2003/perf/lazy-load-video-presentation-in-public-chat
perf: lazy load video presentation in public chat
2026-04-07 23:40:35 -07:00
Rohan Verma
0696445112
Merge pull request #1172 from SohamBhattacharjee2003/fix/replace-transition-all-with-specific-transitions
fix: replace transition all with specific transitions
2026-04-07 23:39:30 -07:00
Rohan Verma
387e517fda
Merge pull request #1171 from SohamBhattacharjee2003/fix/use-transform-for-sidebar-animation
fix: use transform for sidebar animation
2026-04-07 23:39:07 -07:00
Rohan Verma
bc3e510968
Merge pull request #1170 from SohamBhattacharjee2003/fix/optimize-dom-queries-in-thread
fix: optimize dom queries in thread
2026-04-07 23:38:49 -07:00
Rohan Verma
ac4f5477b5
Merge pull request #1169 from SohamBhattacharjee2003/fix/remove-forcemount-from-user-dropdown
fix: remove forcemount from user dropdown
2026-04-07 23:38:23 -07:00
Rohan Verma
35c155387b
Merge pull request #1167 from SohamBhattacharjee2003/fix/add-autocomplete-attributes
Fix/add autocomplete attributes
2026-04-07 23:36:56 -07:00
Rohan Verma
cf2115bc90
Merge pull request #1166 from SohamBhattacharjee2003/fix/remove-unnecessary-use-client-directives
fix: remove unnecessary use client directives
2026-04-07 23:36:33 -07:00
DESKTOP-RTLN3BA\$punk
f428cd97d9 feat: enhance hero section with download functionality and OS detection
- Integrated a dropdown menu for alternative download options based on user OS and architecture.
- Updated the OS detection logic to provide accurate architecture information.
- Improved the download button to dynamically link to the latest release assets from GitHub.
- Added new components for better user experience in the download process.
2026-04-07 19:51:52 -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
DESKTOP-RTLN3BA\$punk
86d48206dd feat: update README and hero section with new desktop app feature
- Enhanced README files in multiple languages to include the new "Watch Local Folder" feature for the desktop app, detailing its functionality and benefits.
- Updated the hero section to showcase the "Watch Local Folder" feature with a new tutorial video.
- Improved overall clarity and consistency across documentation regarding desktop app capabilities.
2026-04-07 18:59:40 -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
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
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
SohamBhattacharjee2003
d114d43fef refactor: remove unused drizzle-orm import from markdown-viewer
Remove unused 'is' import from drizzle-orm in markdown-viewer.tsx (line 5).
This import was never used in the file and unnecessarily dragged ORM code
into the UI component's bundle chunk.

Benefits:
- Removes drizzle-orm from markdown-viewer bundle chunk
- Reduces bundle size for components using MarkdownViewer
- Cleaner imports with no unused dependencies
- Markdown viewer functionality unchanged

Fixes #1144
2026-04-08 06:36:50 +05:30
SohamBhattacharjee2003
ac554974f6 perf: lazy load video presentation in public chat
Convert GenerateVideoPresentationToolUI from static import to dynamic import
with ssr: false in public-thread.tsx. This prevents Remotion and @babel/standalone
from being bundled in the public chat page.

The main app's assistant-message.tsx already correctly lazy-loads this component,
but the public thread was still using a static import, unnecessarily increasing
the bundle size for public shared chats.

Benefits:
- Removes Remotion and @babel/standalone from public chat bundle
- Reduces initial bundle size for public shared chats
- Video presentations still render correctly when present
- Faster page load for users viewing public chats

Fixes #1145
2026-04-08 06:32:05 +05:30
DESKTOP-RTLN3BA\$punk
0af6b3882a refactor: replace button with div for improved accessibility in DocumentUploadTab
- Changed the button element to a div with role="button" to enhance keyboard accessibility.
- Updated event handling for click and keydown events to ensure consistent behavior across devices.
- Maintained existing styling and functionality while improving semantic structure.
2026-04-07 17:23:46 -07:00
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
Soham Bhattacharjee
a273c93ad9
Merge branch 'dev' into fix/use-transform-for-sidebar-animation 2026-04-08 05:28:19 +05:30
Rohan Verma
f87a2efcaf
Merge pull request #1164 from AnishSarkar22/feat/azure-ocr
feat: add Azure Document Intelligence as accelerator for LlamaCloud & some UX fixes
2026-04-07 16:58:19 -07:00
SohamBhattacharjee2003
63855e0757 fix: use transform animation for sidebar slide-out panel
- Replace width animation with translateX for GPU acceleration
- Set fixed width on panel and animate x position instead
- Prevents layout recalculation on every animation frame
- Runs on compositor thread without triggering reflow
2026-04-08 05:26:18 +05:30
DESKTOP-RTLN3BA\$punk
1a6251eaaa feat: add desktop app section to README files
- Introduced a new section in the README files for the Desktop App, highlighting its features: General Assist, Quick Assist, and Extreme Assist.
- Updated all language-specific README files to include details about the desktop app's capabilities and download instructions.
2026-04-07 16:56:08 -07:00
Soham Bhattacharjee
50ffb94cab
Merge branch 'dev' into fix/optimize-dom-queries-in-thread 2026-04-08 05:23:22 +05:30