Anish Sarkar
c7409c8995
chore: ran linting
2026-06-13 21:59:35 +05:30
Anish Sarkar
97f004e7e1
refactor(onboarding, model-connections): enhance onboarding logic and streamline model connection handling by integrating chat model checks and improving state management
2026-06-13 20:48:24 +05:30
Anish Sarkar
bd4a04f2e7
feat(database-migrations): add migration to remove legacy model config tables and remove stale model connection code
2026-06-13 12:45:43 +05:30
Anish Sarkar
9f6210ad08
feat(model-connections): add test preview functionality for model connections
2026-06-13 00:12:04 +05:30
Anish Sarkar
407f2a9612
feat(model-connections): enhance model connection functionality with preview and selection features
2026-06-12 22:41:21 +05:30
Anish Sarkar
ced1bb85ed
feat(model-connections): implement bulk model update endpoint and related schema changes
2026-06-12 09:43:56 +05:30
Anish Sarkar
610ff063d6
refactor(model-connections): update frontend for provider-based models
2026-06-12 02:17:51 +05:30
Anish Sarkar
3089dd4cb6
refactor(model-connections): simplify connection settings UI
2026-06-11 18:22:57 +05:30
Anish Sarkar
3f01642199
feat(model-connections): enhance model discovery with OpenAI and LiteLLM support
2026-06-11 17:29:55 +05:30
Anish Sarkar
780e242132
feat(model-connections): implement manual model addition and enhance model discovery
2026-06-11 00:11:53 +05:30
Anish Sarkar
0674accc23
feat(web): add model connection client data layer
2026-06-10 21:49:21 +05:30
Anish Sarkar
32ab2b8713
feat(web): expose model policies in automations
2026-06-10 21:49:07 +05:30
Anish Sarkar
08801fe3e8
feat(chat): implement chat tab synchronization and enhance thread activation with new hooks for improved navigation and metadata management
2026-06-04 18:16:33 +05:30
Anish Sarkar
8b704b2fef
feat(chat): Introduce centralized thread metadata management and update chat visibility handling with new hooks for thread mutations
2026-06-04 14:15:48 +05:30
DESKTOP-RTLN3BA\$punk
92b1d7a9f7
feat(automations): enhance tracking for automation lifecycle events
...
- Added tracking for automation creation, updates, deletions, and trigger modifications, including success and failure events.
- Implemented event tracking in the automation creation process, including chat approval and rejection scenarios.
- Updated the instrumentation client to ensure correct typing for PostHog integration.
- Refactored existing mutation atoms to include tracking calls for automation-related actions, improving analytics capabilities.
2026-05-30 01:13:21 -07:00
DESKTOP-RTLN3BA\$punk
409fec94c3
feat(automations): implement model eligibility checks for automation creation
...
- Added model eligibility checks to ensure automations can only use billable models (premium or BYOK).
- Introduced new API endpoint to report model eligibility status for search spaces.
- Updated frontend components to display eligibility alerts and disable creation options when models are not billable.
- Enhanced automation creation forms to reflect model eligibility, preventing users from submitting invalid configurations.
- Implemented server-side logic to capture and preserve model preferences across automation edits, ensuring consistent behavior during execution.
2026-05-29 03:13:46 -07:00
DESKTOP-RTLN3BA\$punk
40ca9e6ed2
refactor: remove search_surfsense_docs tool and related references
...
- Deleted the `search_surfsense_docs` tool and its associated files, streamlining the agent's toolset.
- Updated various components and prompts to remove references to the now-removed tool, ensuring consistency across the codebase.
- Adjusted documentation to direct users to the SurfSense documentation link for product-related queries instead.
2026-05-28 22:35:14 -07:00
DESKTOP-RTLN3BA\$punk
94e834134f
chore: linting
2026-05-28 19:21:29 -07:00
Rohan Verma
4dda02c06c
Merge pull request #1443 from CREDO23/feature-automations
...
[Feat] Automation V1 — Scheduled Agent Tasks, Created via Chat (HITL) or JSON
2026-05-28 12:41:41 -07:00
CREDO23
b18a5fdca9
feat(web): automations contracts, API client, atoms and hooks
...
Foundation for the v1 automations UI. Mirrors backend Pydantic schemas
into Zod and wires the data layer end-to-end so feature surfaces can
be built on top.
contracts/types/automation.types.ts:
- AutomationStatus, TriggerType, RunStatus enums.
- AutomationDefinition envelope (PlanStep, TriggerSpec, Execution,
Metadata, Inputs).
- AutomationCreate/Update/Detail/Summary/List + listParams.
- TriggerCreate/Update/Detail.
- RunSummary/Detail/List + runListParams.
lib/apis/automations-api.service.ts:
- list/get/create/update/delete automations.
- add/update/remove triggers (sub-resource).
- list/get runs (read-only sub-resource).
- safeParse on every write, 204-safe deletes.
atoms/automations/:
- automationsListAtom (active search space, first page).
- 6 mutation atoms with toast + cache invalidation.
hooks/:
- use-automations.ts wraps the list atom.
- use-automation.ts: parameterized detail by id.
- use-automation-runs.ts: useAutomationRuns + useAutomationRun.
lib/query-client/cache-keys.ts: automations namespace (list, detail,
runs, run) keyed by (id, limit, offset) where relevant.
Smoke: zod round-trip OK on backend-shape payloads (Automation,
AutomationCreate, Trigger, Run); typecheck clean for new files;
biome clean.
2026-05-28 00:55:57 +02:00
Anish Sarkar
2d134439ec
feat(web): enhance mention handling to support connectors and improve document key management
2026-05-26 21:52:04 +05:30
Anish Sarkar
a41b16b73e
feat(web): enhance chat context and mention handling with connector support
2026-05-26 21:11:53 +05:30
guangyang1206
a66d65a835
refactor: extract shared hasPermission helper ( MODSetter/SurfSense#1366 )
...
- Add canPerform() helper function to members-query.atoms.ts
- Add usePermissionGate() hook for convenience
- Update team-content.tsx to use canPerform()
- Update roles-manager.tsx to use canPerform()
- Eliminates duplicated permission check logic
- Centralizes permission policy in one location
Fixes #1366
2026-05-22 12:08:05 +08:00
Anish Sarkar
cb1cf26ef3
feat: improve document editor panel behavior
2026-05-20 02:02:59 +05:30
Anish Sarkar
1169b43196
refactor: improve styling of MemberRow component and clean up agent tools imports
2026-05-19 17:41:48 +05:30
Anish Sarkar
3b168e987d
feat: add TeamPage component and remove TeamDialog for improved team management interface
2026-05-19 11:40:06 +05:30
Anish Sarkar
b6aed05683
refactor: implement SearchSpaceSettingsPage and SearchSpaceSettingsPanel components, replacing the previous settings dialog and enhancing tab navigation for search space settings
2026-05-18 02:02:45 +05:30
Anish Sarkar
08142f9add
refactor: implement UserSettingsPage and UserSettingsPanel components, replacing UserSettingsDialog and enhancing user settings navigation
2026-05-18 01:51:31 +05:30
Anish Sarkar
5bcda6b83b
refactor: replace action log sheet with dialog component and update related references
2026-05-18 01:34:41 +05:30
Anish Sarkar
f65bc81509
Merge remote-tracking branch 'upstream/dev' into feat/ui-revamp
2026-05-16 19:26:36 +05:30
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
481bb406b6
Merge remote-tracking branch 'upstream/dev' into feat/ui-revamp
2026-05-13 03:02:23 +05:30
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
Anish Sarkar
331589275b
refactor(tabs): update default chat tab title for clarity; adjust TabBar styles for improved layout and hover effects
2026-05-03 23:30:36 +05:30
Anish Sarkar
a9192beae3
feat(announcements): rename "Announcements" to "What's New" across the application; add AnnouncementsDialog component for displaying updates; update empty state messaging; remove unused AnnouncementsSidebar component.
2026-05-03 18:42:29 +05:30
Anish Sarkar
3cdfe8b5b6
feat(tabs): persist tabs in localStorage for improved user experience across sessions; enhance syncChatTabAtom to include searchSpaceId; update LayoutDataProvider to support announcements dialog and clean up unused imports
2026-05-03 18:36:23 +05:30
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