Anish Sarkar
af66fbf106
refactor(chat): implement turn cancellation and status management in new chat routes for improved user experience and error handling
2026-05-01 01:47:52 +05:30
Anish Sarkar
d65a3fdf76
refactor(chat): implement new error handling utilities and streamline interrupt request processing in NewChatPage for improved performance and maintainability
2026-04-30 18:22:34 +05:30
Anish Sarkar
86f6b285ce
refactor(chat): introduce new stream handling utilities and restructure event processing for improved performance and maintainability
2026-04-30 18:09:34 +05:30
Anish Sarkar
6465ea181a
refactor(chat): streamline NewChatPage component by removing unused functions and integrating new stream handling utilities for improved performance
2026-04-30 18:09:18 +05:30
Anish Sarkar
1d6d7e3eb1
refactor(chat): remove unused agent action handlers from NewChatPage component to streamline code and improve maintainability
2026-04-30 16:33:13 +05:30
Anish Sarkar
872065f90d
Merge remote-tracking branch 'upstream/dev' into feat/split-auto-free-premium
2026-04-30 16:23:05 +05:30
Anish Sarkar
2a01711bc9
feat(chat): expand error handling for chat operations by introducing a passthrough code set, improving response management and user feedback
2026-04-30 16:20:14 +05:30
Anish Sarkar
ba2a08b295
Merge remote-tracking branch 'upstream/dev' into feat/split-auto-free-premium
2026-04-30 15:45:11 +05:30
DESKTOP-RTLN3BA\$punk
e651c41372
feat: enhance tool input streaming and agent action handling for improved chat experience
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-30 03:13:58 -07:00
Anish Sarkar
f60e742fac
feat(chat): implement pre-accept failure handling and unified retry messaging for chat operations, enhancing user experience and error management
2026-04-30 14:58:56 +05:30
Anish Sarkar
35ea0eae53
feat(chat): enhance error classification and handling for thread busy scenarios, improving user feedback and response management
2026-04-30 14:03:09 +05:30
Anish Sarkar
fd4d0817d1
feat(chat): implement comprehensive error handling for chat operations, including detailed response parsing and improved user message persistence
2026-04-30 12:38:11 +05:30
Anish Sarkar
d64543686f
feat(chat): unify error handling and logging for chat operations, enhancing clarity and consistency in error reporting
2026-04-30 11:56:41 +05:30
Anish Sarkar
222b27183f
feat(chat): improve error handling and logging for premium quota exhaustion in chat operations
2026-04-29 22:01:28 +05:30
Anish Sarkar
e6db050dfd
feat(chat): add userId to premium alert handling and improve alert visibility in UI
2026-04-29 21:58:17 +05:30
Anish Sarkar
901de33684
feat(chat): enhance error formatting to include optional error codes for better frontend handling
2026-04-29 21:05:21 +05:30
Anish Sarkar
fa6a09197e
feat(chat): enhance error handling for premium quota exhaustion in chat messages
2026-04-29 20:57:33 +05:30
Anish Sarkar
c598d7038f
refactor(chat): update premium token error messages for clarity and consistency
2026-04-29 20:17:45 +05:30
DESKTOP-RTLN3BA\$punk
c110f5b955
feat: improved agent streaming
2026-04-29 07:20:31 -07:00
Anish Sarkar
d5ef0d2598
feat(ui): surface pinned premium quota alerts in chat thread
2026-04-29 19:15:46 +05:30
Rohan Verma
afb4b09cde
Merge pull request #1322 from guangyang1206/perf/blog-search-derive-results-usememo
...
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
perf(blog): derive search results with useMemo instead of useState+us…
2026-04-29 00:08:49 -07:00
Rohan Verma
619e4b5639
Merge pull request #1320 from guangyang1206/feat/loading-skeletons-async-routes-1243
...
feat(perf): add loading.tsx skeletons for async marketing routes
2026-04-29 00:07:59 -07:00
Rohan Verma
95200e444f
Merge pull request #1319 from AnishSarkar22/fix/ui-mention-documents
...
fix: enhance mention documents
2026-04-29 00:07:05 -07:00
DESKTOP-RTLN3BA\$punk
f23be16b35
refactor: citation viewer
2026-04-28 23:25:26 -07:00
guangyang1206
dcafa364ff
feat(perf): add loading.tsx skeletons for async marketing routes
...
Fixes #1243
Add sibling loading.tsx files for all 6 async route segments that were
missing instant loading UI, causing blank screens during navigation on
slow networks or cold caches.
Routes covered:
- /docs/[[...slug]] — awaits getDocPage + MDX body
- /blog — awaits source.getPages()
- /blog/[slug] — awaits params + MDX body
- /changelog — awaits source.getPages()
- /free — awaits getModels() fetch
- /free/[model_slug] — awaits Promise.all([getModel, getAllModels])
Each loading.tsx is a Server Component returning an animate-pulse
skeleton that matches its route's layout (header, content area,
grid/table/timeline as appropriate). Uses the Skeleton component and
Tailwind classes already present in the project.
Follows the pattern established in:
- app/dashboard/[search_space_id]/logs/loading.tsx
- app/dashboard/[search_space_id]/new-chat/loading.tsx
2026-04-29 12:34:13 +08:00
yeranyang
4845b96209
perf(blog): derive search results with useMemo instead of useState+useEffect
...
Fixes #1246
Replace the useState/useEffect pattern that synced fuzzy search results
into local state on every search or searcher change with a single useMemo
that derives results directly during render.
Before:
const [results, setResults] = useState(allBlogs);
useEffect(() => {
setResults(searcher.search(search));
}, [search, searcher]);
After:
const gridItems = useMemo(() => {
const results = search.trim() ? searcher.search(search) : allBlogs;
...
}, [search, searcher, allBlogs, featuredSlug]);
This removes an extra re-render per keystroke and eliminates the stale
intermediate state that occurred between the search input change and the
effect firing.
2026-04-29 12:34:12 +08:00
DESKTOP-RTLN3BA\$punk
b9a66cb417
feat: various UI fixes, prompt optimizations, and allowing duplicate docs
...
- Updated `content_hash` in the `Document` model to remove global uniqueness, allowing identical content across different paths.
- Enhanced `_create_document` function to handle path uniqueness and prevent session-poisoning from `IntegrityError`.
- Added detailed comments for clarity on the changes and their implications.
- Introduced new citation handling in the editor for improved user experience with citation jumps.
- Updated package dependencies in the frontend for better functionality.
2026-04-28 21:30:53 -07:00
Anish Sarkar
e61b410805
Merge remote-tracking branch 'upstream/dev' into fix/ui-mention-documents
2026-04-29 04:29:10 +05:30
DESKTOP-RTLN3BA\$punk
e6433f78c4
Merge commit ' 61f4d05cd1' into dev_mod
2026-04-28 09:25:41 -07:00
DESKTOP-RTLN3BA\$punk
31a372bb84
feat: updated agent harness
2026-04-28 09:22:19 -07:00
Anish Sarkar
1427809119
refactor(mentions): consolidate sidebar document handling into mentionedDocumentsAtom and remove sidebarSelectedDocumentsAtom references
2026-04-28 18:20:53 +05:30
DESKTOP-RTLN3BA\$punk
8d50f90060
chore: linting
Obsidian Plugin Lint / lint (push) Has been cancelled
2026-04-27 14:04:50 -07:00
CREDO23
2d962f6dd2
Merge upstream/dev
2026-04-27 22:44:40 +02:00
Rohan Verma
f607636ba6
Merge pull request #1286 from AnishSarkar22/feat/obsidian-plugin
...
feat: introduce Obsidian vault sync plugin
2026-04-27 13:34:33 -07:00
Rohan Verma
19f4668e8b
Merge pull request #1314 from AnishSarkar22/fix/swappable-filesystem
...
fix: improve swappable filesystem architecture
2026-04-27 13:32:56 -07:00
CREDO23
8b542ca3dd
Deduplicate user-turn images by full base64 data and update desktop permissions copy for Screenshot Assist.
2026-04-27 19:25:39 +02:00
CREDO23
a07c44f496
Send edited user images and full message content in chat regenerate while leaving reload on server-resolved turns.
2026-04-27 19:25:26 +02:00
CREDO23
97488218db
Expose Screenshot Assist in desktop login and settings with shared shortcut defaults.
2026-04-27 18:49:40 +02:00
Anish Sarkar
27e16231c1
feat(filesystem): enhance agent filesystem API with searchSpaceId support for improved context handling
2026-04-27 21:00:40 +05:30
Matt Van Horn
3487664bbd
feat(announcements): add SEO metadata via server layout.tsx
...
The announcements page is a public, crawlable route but its page.tsx is
'use client', so it can't export metadata itself and falls back to the
root app/layout.tsx. Add a server-component layout.tsx under
app/(home)/announcements/ that exports route-specific metadata (title,
description, canonical, OpenGraph, Twitter) in the same shape as the
neighboring /blog, /changelog, /contact, /privacy, /terms routes.
page.tsx is unchanged.
Canonical URL matches app/layout.tsx's metadataBase
(https://surfsense.com ).
Fixes #1244
2026-04-24 15:58:20 -07:00
CREDO23
18108267d1
Defer clearing pending chat screenshots until send commits
2026-04-24 20:58:39 +02:00
CREDO23
8034f372e7
Remove desktop suggestion UI and refresh settings surfaces
2026-04-24 19:18:09 +02:00
CREDO23
3f97b77ab6
Support multimodal chat with pending screen images on web
2026-04-24 19:17:43 +02:00
Anish Sarkar
9b1b9a90c0
Merge remote-tracking branch 'upstream/dev' into feat/obsidian-plugin
2026-04-24 21:34:55 +05:30
Anish Sarkar
30b55a9baa
feat(filesystem): refactor local filesystem handling to use mounts instead of root paths, enhancing mount management and path normalization
2026-04-24 05:59:21 +05:30
Anish Sarkar
ce71897286
refactor(hotkeys): simplify hotkey display logic and replace icon representation with text in DesktopShortcutsContent and login page
2026-04-24 04:54:48 +05:30
Anish Sarkar
17f9ee4b59
refactor(icons): replace 'Pen' icon with 'Pencil' across various components for consistency
2026-04-24 02:33:57 +05:30
Anish Sarkar
3ee2683391
feat(filesystem): propagate localRootPaths across desktop and web API
2026-04-24 01:45:13 +05:30
Anish Sarkar
daac6b5269
feat(login): implement customizable hotkey management in the login page with enhanced UI components
2026-04-24 00:06:38 +05:30
Anish Sarkar
46056ee514
fix(settings): update user settings dialog labels and enhance DesktopShortcutsContent component for better hotkey management
2026-04-23 23:52:49 +05:30