Commit graph

4699 commits

Author SHA1 Message Date
DESKTOP-RTLN3BA\$punk
b8d6cd4810 chore: replace video elements with GIFs in README files for improved loading
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 03:14:27 -07:00
DESKTOP-RTLN3BA\$punk
daa0194024 chore: update GIF assets in hero tutorial section 2026-04-08 03:10:31 -07:00
DESKTOP-RTLN3BA\$punk
435ad1f377 Merge commit 'c77098a288' into dev 2026-04-08 03:03:22 -07:00
DESKTOP-RTLN3BA\$punk
74ccb347c1 chore: replace GIFs with videos in README files for better performance 2026-04-08 03:02:34 -07:00
DESKTOP-RTLN3BA\$punk
ca79ee1060 chore: update GIF assets in readmes 2026-04-08 02:55:12 -07:00
DESKTOP-RTLN3BA\$punk
b740761492 feat: update instrumentation-client to include platform property in events
Added a platform property set to "web" in event properties for better tracking. Updated GIF assets in the hero tutorial section.
2026-04-08 02:41:33 -07:00
DESKTOP-RTLN3BA\$punk
c54dfb8f96 Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-04-08 02:20:29 -07:00
DESKTOP-RTLN3BA\$punk
4e2e94250c chore: add lock file syncing in bump-version script 2026-04-08 02:20:20 -07:00
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
Rohan Verma
588e232588
Merge pull request #1182 from mvanhorn/fix/replace-window-location-with-router
fix: replace window.location with router.push for client-side navigation
2026-04-08 02:01:44 -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
88834e7b1a
Merge pull request #1176 from SohamBhattacharjee2003/perf/dynamic-locale-loading
perf: dynamic locale loading
2026-04-07 23:41:19 -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
46ef0db8ab
Merge pull request #1173 from SohamBhattacharjee2003/perf/lazy-load-mobile-panels
Perf: lazy load mobile panels
2026-04-07 23:40:09 -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
d26b986125
Merge pull request #1168 from SohamBhattacharjee2003/fix/debounce-logs-message-filter
fix: debounce logs message filter
2026-04-07 23:37:34 -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
7c154784b3 fix: unified version management
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
- Changed the method of retrieving the app version in the Docker build workflow from the pyproject.toml file to the VERSION file for improved consistency and reliability.
- Updated error messaging to reflect the new source of the app version.
2026-04-07 22:12:30 -07:00
DESKTOP-RTLN3BA\$punk
6dd85dd365 feat: validate version format in auto-updater and release workflow
- Added a check in the desktop release workflow to ensure version tags follow semantic versioning (semver) format.
- Enhanced the auto-updater to log a message and skip updates if the app version is not valid semver.
- Improved type definitions for event handlers in the auto-updater for better TypeScript support.
2026-04-07 20:07:15 -07:00
Rohan Verma
c77098a288
Merge pull request #1181 from MODSetter/dev
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
feat: enhance hero section with download functionality and OS detection
2026-04-07 19:52:44 -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
Rohan Verma
753e5b56cb
Merge pull request #1180 from MODSetter/dev
feat: release desktop app
2026-04-07 19:22:49 -07:00
DESKTOP-RTLN3BA\$punk
e7041a279b feat: add "Watch Local Folder" feature to README files
- Updated README files in multiple languages to include the new "Watch Local Folder" feature for the desktop app, enhancing user understanding of its functionality.
- Added corresponding GIFs to visually demonstrate the feature across all language-specific documentation.
2026-04-07 19:17:01 -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
d5f46dd7de perf: implement dynamic locale loading and remove unused zod import
Replace static imports of all 5 locale JSON files with dynamic imports.
Only English is bundled by default, other locales (es, hi, pt, zh) load
on demand when the user switches languages.

Also removes unused 'set' import from zod (line 5) that was dragging
Zod surface into this module unnecessarily.

Changes:
- Removed static imports for es, hi, pt, zh locale files
- Removed unused zod import
- Added loadMessages() function for dynamic locale loading
- Updated setLocale() to load messages asynchronously
- Added useEffect to load non-English locale on mount if stored

Benefits:
- Only active locale's JSON in initial bundle (English default)
- 80% reduction in locale data in initial bundle
- Other locale files load on demand (~50-100KB each)
- Removed unnecessary zod dependency from module
- Locale switching still works seamlessly
- Faster initial page load

Fixes #1143
2026-04-08 06:39:37 +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
SohamBhattacharjee2003
7c4500c707 perf: lazy load mobile panels with dynamic imports
Convert MobileEditorPanel, MobileHitlEditPanel, and MobileReportPanel from
static imports to dynamic imports with ssr: false. These panels pull in heavy
dependencies (PlateEditor, MarkdownViewer) that are only needed when users
interact with them on mobile.

Benefits:
- Reduces initial bundle size for chat page
- Mobile panels load only when opened by user
- Faster initial page load and Time to Interactive
- Heavy editor dependencies are code-split into separate chunks

Fixes #1146
2026-04-08 06:26:27 +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
DESKTOP-RTLN3BA\$punk
b6b8f9dc7b Merge branch 'dev' of https://github.com/MODSetter/SurfSense into dev 2026-04-07 17:14:11 -07:00
DESKTOP-RTLN3BA\$punk
4e3aae44f6 feat: update README files with new GIFs and content
- Replaced outdated GIF links with new ones for various features in all language-specific README files.
- Added new sections for desktop app functionalities, including General Assist, Quick Assist, and Extreme Assist.
- Enhanced visual content to improve user engagement and clarity of features.
2026-04-07 17:14:03 -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