voidborne-d
bf2b4ebeb0
fix(web): suppress global error toast on mutations that own their toast UX
...
Closes #1371 . Retarget of #1385 onto dev per maintainer request.
surfsense_web/lib/query-client/client.ts configures a global
MutationCache.onError that shows an error toast for every failed
mutation unless meta.suppressGlobalErrorToast is set. The opt-out
hook existed in the consumer but had zero producers — every mutation
atom that already had its own onError: toast.error(...) was
double-toasting on failure.
Add meta: { suppressGlobalErrorToast: true } to the 30 mutations
across 9 atom files that own their own error toast:
- atoms/prompts/prompts-mutation.atoms.ts (4)
- atoms/invites/invites-mutation.atoms.ts (4)
- atoms/chat-comments/comments-mutation.atoms.ts (4)
- atoms/new-llm-config/new-llm-config-mutation.atoms.ts (4)
- atoms/members/members-mutation.atoms.ts (3)
- atoms/roles/roles-mutation.atoms.ts (3)
- atoms/image-gen-config/image-gen-config-mutation.atoms.ts (3)
- atoms/vision-llm-config/vision-llm-config-mutation.atoms.ts (3)
- atoms/public-chat-snapshots/public-chat-snapshots-mutation.atoms.ts (2)
Atoms intentionally left alone (no local onError, rely on global):
auth, user, search-spaces, logs, documents, connectors.
Local validation (against dev): pnpm biome check on the 9 touched
files is clean; tsc --noEmit shows no new errors in the touched files
(pre-existing errors elsewhere unrelated).
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-15 23:43:30 +08:00
Rohan Verma
7f66159af1
Merge pull request #1391 from guangyang1206/fix/log-mutations-invalidate-all-keys-1369
...
fix(web): invalidate all log cache keys on log mutations
2026-05-15 04:55:25 -07:00
guangyang1206
b7b4443276
fix(web): invalidate all log cache keys on log mutations
...
Fixes #1369 — log create/update/delete mutations did not invalidate
the query keys that useLogs actually subscribes to, causing UI staleness.
Replace narrow invalidations (list, summary) with prefix-level
invalidation (["logs"]) to cover withQueryParams, list, summary
and detail in one shot.
2026-05-13 20:59:08 +08:00
Anish Sarkar
275e2c9e83
chore: fix linting
2026-05-12 04:00:04 +05:30
DESKTOP-RTLN3BA\$punk
c8374e6c5b
feat: improved document, folder mentions rendering
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-05-09 22:15:51 -07:00
CREDO23
ba0e1e70a0
chat: drop legacy thinking-steps, tool-fallback, hitl modules, and span-indent helper.
2026-05-09 18:35:52 +02:00
DESKTOP-RTLN3BA\$punk
ae9d36d77f
feat: unified credits and its cost calculations
2026-05-02 14:34:23 -07:00
Anish Sarkar
b9b4d0b377
chore(usage): stop polling /users/me and token-status for live fields
2026-05-02 03:32:58 +05:30
Anish Sarkar
4056bd1d69
refactor(chat): update resetCurrentThreadAtom to include shareToken and contentType for enhanced report panel state management
2026-04-30 22:37:11 +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
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
e6db050dfd
feat(chat): add userId to premium alert handling and improve alert visibility in UI
2026-04-29 21:58:17 +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
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
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
Anish Sarkar
76c91adebc
refactor(mentions): replace sidebarSelectedDocumentsAtom with mentionedDocumentsAtom and introduce getMentionDocKey utility for consistent document key generation
2026-04-29 04:12:42 +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
Anish Sarkar
960f761c6c
feat(mentions): add sidebar mention event atom and enhance document mention handling in the editor
2026-04-28 17:50:21 +05:30
CREDO23
2d962f6dd2
Merge upstream/dev
2026-04-27 22:44:40 +02:00
Anish Sarkar
b85b7cbae0
feat(filesystem): introduce support for local openable text file extensions and enhance folder expansion persistence in the UI
2026-04-28 01:12:15 +05:30
CREDO23
3f97b77ab6
Support multimodal chat with pending screen images on web
2026-04-24 19:17:43 +02:00
Anish Sarkar
864f6f798a
feat(filesystem): enhance local file handling in editor and IPC integration
2026-04-23 17:23:38 +05:30
Rohan Verma
2b2453e015
Merge pull request #1240 from AnishSarkar22/feat/resume-builder
...
Build and Push Docker Images / tag_release (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_backend, ./surfsense_backend/Dockerfile, backend, surfsense-backend, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-24.04-arm, linux/arm64, arm64) (push) Has been cancelled
Build and Push Docker Images / build (./surfsense_web, ./surfsense_web/Dockerfile, web, surfsense-web, ubuntu-latest, linux/amd64, amd64) (push) Has been cancelled
Build and Push Docker Images / create_manifest (backend, surfsense-backend) (push) Has been cancelled
Build and Push Docker Images / create_manifest (web, surfsense-web) (push) Has been cancelled
feat: resume builder
2026-04-17 13:41:32 -07:00
Anish Sarkar
0fa32c3a10
chore: ran linting
2026-04-17 16:45:14 +05:30
DESKTOP-RTLN3BA\$punk
ff4e0f9b62
feat: no login experience and prem tokens
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-15 17:02:00 -07:00
Anish Sarkar
07bd076317
feat: add content type support for reports and include new resume generation tool in dashboard
2026-04-15 21:13:56 +05:30
Oscar Zhou
204dac2c3a
feat: improve Obsidian connector visibility and desktop sync flow
2026-04-14 19:07:14 +09:30
Trevin Chow
b544b161ae
Remove dead MorePagesDialog component and morePagesDialogAtom
...
MorePagesDialog is never imported anywhere in the codebase.
The /more-pages route uses MorePagesContent directly from
page.tsx. The associated morePagesDialogAtom is also unused
outside the deleted component.
Closes #1192
This contribution was developed with AI assistance (Claude Code).
2026-04-09 14:13:31 -07:00
CREDO23
26bffbcc47
Add dynamic vision model list from OpenRouter with combobox selector
2026-04-07 23:39:52 +02:00
CREDO23
3369b8a832
Add frontend vision LLM config types, API, atoms, and role manager wiring
2026-04-07 19:24:43 +02:00
Anish Sarkar
000c2d9b5b
style: simplify LLM model terminology in UI
2026-04-02 10:11:35 +05:30
Anish Sarkar
d2cf3fb3b7
refactor: update LLM role management logic and enhance UI feedback
2026-04-02 09:58:14 +05:30
DESKTOP-RTLN3BA\$punk
a9fd45844d
feat: integrate Stripe for page purchases and reconciliation tasks
2026-03-31 18:39:45 -07:00
CREDO23
440762fb07
Merge upstream/dev
2026-03-31 20:21:12 +02:00
CREDO23
aecb58e22b
Fix review issues: authz, race conditions, UX safety, and consolidate migrations
2026-03-31 19:09:05 +02:00
CREDO23
5f4f7780d1
Fix create_prompt is_public bug, conditional version bump, and add Jotai prompts atoms
...
- Pass is_public from request body in create_prompt route
- Only bump version on content field changes (name, prompt, mode),
not on is_public toggle
- Add prompts query and mutation atoms (atomWithQuery/atomWithMutation)
with TanStack Query caching, replacing manual useEffect fetches
- Update PromptPicker, PromptsContent, and CommunityPromptsContent
to consume shared atoms instead of local state
2026-03-31 18:34:10 +02:00
Anish Sarkar
04691d572b
chore: ran linting
2026-03-30 01:50:41 +05:30
Anish Sarkar
69b8eef5ce
refactor: enhance chat tab management by implementing fallback navigation and preventing race conditions during deletion for improved user experience
2026-03-29 22:12:55 +05:30
Anish Sarkar
b54aa517a8
refactor: implement chat tab removal functionality and enhance tab title update logic for improved user experience
2026-03-29 21:34:41 +05:30
Anish Sarkar
4a05229476
refactor: enhance image generation configuration handling and user feedback messages for improved clarity and consistency
2026-03-29 19:14:46 +05:30
Anish Sarkar
a5f41cfd8e
refactor: update LLM configuration terminology and enhance user feedback messages for improved clarity
2026-03-29 19:04:09 +05:30
Anish Sarkar
d88236d43b
refactor: replace ModelConfigDialog with a shared component and update related imports for better organization and clarity
2026-03-29 17:32:23 +05:30
Anish Sarkar
430372a4ff
refactor: move ImageConfigDialog to shared components and update imports in chat-header and image-model-manager for better organization
2026-03-29 17:02:20 +05:30
DESKTOP-RTLN3BA\$punk
2cc2d339e6
feat: made agent file sytem optimized
2026-03-28 16:39:46 -07:00