Commit graph

281 commits

Author SHA1 Message Date
Anish Sarkar
a2d5467023 Merge remote-tracking branch 'upstream/dev' into fix/models 2026-07-25 00:32:12 +05:30
DESKTOP-RTLN3BA\$punk
dbedf0cfa5 feat(backend): integrate PostHog analytics for enhanced observability
- Added PostHog configuration options to .env.example files for both Docker and Surfsense backend.
- Introduced PostHog dependency in pyproject.toml.
- Implemented analytics middleware to capture various events across the application, including user authentication, automation runs, and API requests.
- Enhanced existing routes and services to emit analytics events, providing insights into user interactions and system performance.
- Ensured graceful shutdown of analytics clients in worker processes and application lifecycles.
2026-07-22 22:16:28 -07:00
Rohan Verma
ca4f231577
Merge pull request #1619 from CREDO23/feat-run-citations
[Feat] Cite scraper runs as verifiable sources in chat
2026-07-22 14:53:45 -07:00
CREDO23
b86eadb847 feat: open runs in the citation panel 2026-07-22 19:35:04 +02:00
Anish Sarkar
a8fb161bef refactor(tabs): slim Tab to pointer-only state on v2 storage key 2026-07-16 18:10:47 +05:30
Anish Sarkar
0ca696f3fc refactor(tabs): remove legacy tab migration functionality and associated tests for codebase cleanup 2026-07-16 17:58:18 +05:30
Anish Sarkar
38b784fbac feat(workspaces): implement workspace limits feature with backend integration and UI updates 2026-07-16 15:44:49 +05:30
Anish Sarkar
2d837ea18c Merge remote-tracking branch 'upstream/dev' into fix/onboarding 2026-07-14 10:18:03 +05:30
Anish Sarkar
78594d5248 refactor(model-connections-query): replace jotai/utils with jotai-family for improved atom management 2026-07-14 03:00:49 +05:30
CREDO23
f0cd20bcbd feat(chat): add showMessageTimestamps preference atom (localStorage, off by default) 2026-07-13 23:17:23 +02:00
Anish Sarkar
91531286b2 fix: update terminology from "language model" to "chat model" across various components 2026-07-14 01:09:00 +05:30
Anish Sarkar
3dd41670ad feat(model-connections): warn when a mutation disables workspace chat 2026-07-14 00:15:21 +05:30
Anish Sarkar
ad91a3bfa5 feat(model-connections): refetch setup status on window focus 2026-07-14 00:15:10 +05:30
Anish Sarkar
5efd4291bf feat(model-connections): add llmSetupStatusAtomFamily and invalidate on mutations 2026-07-12 20:29:59 +05:30
Anish Sarkar
f2b326b63b feat(playground): implement Playground layout and navigation structure
- Introduced PlaygroundLayoutShell component for managing the layout and navigation of the API Playground.
- Added PlaygroundLayout component to handle workspace-specific rendering.
- Removed PlaygroundSidebar and related state management to simplify the UI and enhance mobile responsiveness.
- Updated LayoutDataProvider and LayoutShell components to reflect the new Playground structure.
2026-07-07 22:17:51 +05:30
DESKTOP-RTLN3BA\$punk
271a21aee6 feat: docs and ui tweaks 2026-07-06 19:26:35 -07:00
DESKTOP-RTLN3BA\$punk
50f2d095aa feat: api playground, other tweaks 2026-07-06 16:45:04 -07:00
Anish Sarkar
4088289f95 refactor(documents): remove unused document editing functionality and streamline components
- Eliminated references to document editing in DocumentNode, FolderTreeView, and DocumentsSidebar for a cleaner interface.
- Updated DocumentNode to enhance accessibility with keyboard interactions and improved click handling.
- Adjusted layout in AllChatsSidebar and MobileSidebar for better user experience and consistency across components.
2026-07-06 16:02:22 +05:30
Anish Sarkar
a8c1fb660d feat(rename): complete searchSpace to workspace transition across frontend and backend
- Introduced a comprehensive specification for renaming `searchSpace` to `workspace` in `surfsense_web` and `surfsense_desktop`, ensuring all TypeScript identifiers, React props, and local data structures are updated.
- Implemented migration shims for persisted local state to prevent data loss during the transition.
- Updated observability metrics and IPC channels to reflect the new naming convention.
- Removed legacy `active-search-space` module and replaced it with `active-workspace` to maintain consistency.
- Ensured no behavioral changes or data loss for users during the renaming process.
2026-07-06 15:12:40 +05:30
Anish Sarkar
fd8d1273cd Merge remote-tracking branch 'upstream/ci_mvp' into feat/ci-ui-changes 2026-07-06 13:25:51 +05:30
DESKTOP-RTLN3BA\$punk
a64c8205fe feat: implement ensure_publication for zero_publication management
- Added the ensure_publication function to create and verify the zero_publication if it is missing, ensuring idempotency during database initialization.
- Integrated ensure_publication into the create_db_and_tables function to prevent zero-cache crash loops on startup.
- Introduced a self-check script to validate the ensure_publication functionality on a create_all-bootstrapped database.
- Updated various components to reflect the transition from search space to workspace, including adjustments in imports and routing paths.
2026-07-05 23:17:13 -07:00
DESKTOP-RTLN3BA\$punk
7562bc78ee feat: zero_publication on startup and init migration from search space to workspace. 2026-07-05 23:16:46 -07:00
Anish Sarkar
3719037c16 refactor(workspace): standardize component props to use workspaceId
- Updated component props across multiple files to replace searchSpaceId with workspaceId for consistency.
- Adjusted internal logic to maintain functionality while aligning with the new terminology.
2026-07-06 10:16:21 +05:30
Anish Sarkar
e92b7a34ed feat(search-space): introduce activeWorkspaceIdAtom and refactor user-message component for improved readability
- Added activeWorkspaceIdAtom as a reference to activeSearchSpaceIdAtom.
- Refactored the UserTextPart component in user-message.tsx to simplify icon determination and tooltip logic, enhancing code clarity and maintainability.
2026-07-06 09:35:12 +05:30
Anish Sarkar
3b507208bc refactor(models): remove manual model creation client API 2026-06-27 03:46:24 +05:30
Rohan Verma
96e42a1003
Merge pull request #1536 from CREDO23/feature-mention-chat-in-chat
[Feat] Chat : Reference past chats via @-mention as read-only context
2026-06-25 13:32:25 -07:00
Rohan Verma
efa9efc80b
Merge pull request #1532 from CREDO23/imporve-artifacts-accessibility
[Feat] Artifacts sidebar for chat deliverables
2026-06-25 13:31:45 -07:00
Anish Sarkar
d5e2540e51 refactor(api): rename personal access tokens to API keys and update related UI components for consistency 2026-06-25 23:22:11 +05:30
CREDO23
1f6934b980 feat(chat): extend composer mention model for thread references
Add the "thread" mention kind (makeThreadMention + stable dedup key) so a
chat can be referenced like a document. Also introduce submittedMentionsAtom
and a pure deriveMentionedPayload() helper, the building blocks for capturing
chips at submit time and mapping them to backend payload buckets.
2026-06-23 18:30:22 +02:00
Anish Sarkar
bf8772e312 Merge remote-tracking branch 'upstream/dev' into feat/auth-revamp 2026-06-23 15:52:11 +05:30
Anish Sarkar
3695e1d5c5 Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-23 13:09:53 +05:30
Anish Sarkar
b37114f193 fix(web):refresh dashboard session queries 2026-06-23 13:01:41 +05:30
DESKTOP-RTLN3BA\$punk
a08de01cc7 Revert "Merge pull request #1523 from CREDO23/fix/chat-citations"
This reverts commit cd2242147a, reversing
changes made to a4bb0a5253.
2026-06-22 22:55:29 -07:00
CREDO23
fb29ea1292 feat: add artifacts right-panel tab 2026-06-22 22:32:51 +02:00
Anish Sarkar
fd31ac34fd Merge remote-tracking branch 'upstream/dev' into feat/api-key 2026-06-20 10:50:03 +05:30
Anish Sarkar
630880bf7a feat: add API access toggle to search space settings 2026-06-19 20:27:17 +05:30
CREDO23
176ada4f4f feat: editor panel accepts citation line anchor 2026-06-19 15:31:44 +02:00
DESKTOP-RTLN3BA\$punk
c9afeb2817 feat: fix onboarding trigger
- Introduced a new endpoint to check the existence of a global LLM configuration file.
- Updated the frontend to utilize this status, affecting onboarding flow and user experience.
- Added necessary atoms and types for managing global LLM config status in the application state.
- Refactored navigation to ensure proper routing based on the global config status.
2026-06-17 23:30:56 -07:00
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