Commit graph

3327 commits

Author SHA1 Message Date
Rohan Verma
aee0c1a3ac
Merge pull request #1481 from AnishSarkar22/fix/chat-stream-flicker
fix(chat): stabilize active thread rendering and top-anchored scrolling
2026-06-11 14:47:15 -07:00
Anish Sarkar
e4803d4ed3 chore(dependencies): update @assistant-ui/react and @assistant-ui/react-markdown to latest versions, adjust peer dependencies, and modify chat viewport auto-scroll settings 2026-06-12 03:00:48 +05:30
CREDO23
41f4a58663 Merge remote-tracking branch 'upstream/dev' into improvement-podcast-graph
# Conflicts:
#	surfsense_backend/app/tasks/celery_tasks/podcast_tasks.py
2026-06-11 23:14:49 +02:00
Anish Sarkar
e7762cda97 feat(chat): enhance thread component with active thread handling and improve message loading logic 2026-06-12 02:42:16 +05:30
DESKTOP-RTLN3BA\$punk
c3695e7837 feat: update auto-reload settings and enhance payment session creation
- Added currency parameter to the Stripe checkout session for auto-reload setup.
- Integrated AutoReloadSettings component into the BuyMorePage for improved user experience.
- Removed deprecated AutoReloadSettings component from user settings directory.
- Updated import paths for AutoReloadSettings in purchases page to reflect new structure.
2026-06-11 13:29:40 -07:00
CREDO23
4dc06fa918 style(audio): breathing room between seek bar and time counters 2026-06-11 12:50:03 +02:00
CREDO23
741aa8d8f7 fix(podcasts): key transcript lines by stable turn position 2026-06-11 12:47:22 +02:00
CREDO23
aa7f14d94f feat(podcasts): add revert-regeneration and surface cancel on the live card 2026-06-11 12:31:42 +02:00
CREDO23
f0fc660d70 feat(podcasts): constrain monologue briefs to a single speaker 2026-06-11 11:56:57 +02:00
CREDO23
eb56acc407 refactor(podcasts): regenerate via brief gate, render brief inline in chat 2026-06-11 11:45:17 +02:00
CREDO23
11a6b178a0 refactor(podcasts): drop transcript gate, add regenerate-from-ready and voice previews 2026-06-11 10:42:13 +02:00
CREDO23
ccd8209d12 refactor(podcasts): drop chat podcast polling state 2026-06-11 10:04:51 +02:00
CREDO23
1f9fd61c9e refactor(podcasts): replace polling tool ui with lifecycle card 2026-06-11 10:04:51 +02:00
CREDO23
6f6c056404 feat(podcasts): add lifecycle tool ui with brief and transcript gates 2026-06-11 10:04:51 +02:00
CREDO23
a3d1fafb0b feat(podcasts): add zero-driven live podcast hook 2026-06-11 10:04:51 +02:00
CREDO23
64b36f2622 feat(podcasts): add frontend contracts and lifecycle api service 2026-06-11 10:04:51 +02:00
DESKTOP-RTLN3BA\$punk
65e511f77b feat: enhance credit management and user experience
- Updated database queries to check for column existence with schema context.
- Modified credit purchase quantity limits to allow up to 10,000 credits.
- Improved user interface for credit purchases, enabling custom amounts and clamping input values.
- Adjusted FAQ content to clarify credit purchasing process.
2026-06-10 22:52:27 -07:00
DESKTOP-RTLN3BA\$punk
a7407502d3 feat(refactor): refactor payment system to implement unified credit wallet.
- Updated environment variables and - configurations for credit purchases via Stripe, replacing legacy page pack system.
- Introduced auto-reload feature for credit top-ups and modified database models to track credit transactions.
- Updated notification system to handle insufficient credits and auto-reload failures.
- Adjusted API routes and schemas to reflect changes in credit management.
2026-06-10 16:49:03 -07:00
CREDO23
e61308387c feat(podcasts): add zero schema and queries 2026-06-10 18:44:35 +02:00
DESKTOP-RTLN3BA\$punk
1f9dc28f07 chore(Dockerfile): add git dependency for fumadocs-mdx plugin during build 2026-06-09 23:54:37 -07:00
Rohan Verma
2624392c4a
Merge pull request #1473 from AnishSarkar22/fix/changelogs
feat: add all missing changelogs
2026-06-09 23:04:23 -07:00
DESKTOP-RTLN3BA\$punk
cb17f31dc1 feat(version)" bumped version to 0.0.27 2026-06-09 22:52:12 -07:00
Anish Sarkar
3f21d5fdd6 Merge remote-tracking branch 'upstream/dev' into fix/changelogs 2026-06-10 10:57:21 +05:30
DESKTOP-RTLN3BA\$punk
41ff57101c feat: made chat fast
- Introduced lazy knowledge base retrieval mode, allowing the main agent to fetch KB content on demand via the `search_knowledge_base` tool, improving performance by skipping expensive pre-injection processes.
- Added cross-thread caching capability, enabling reuse of compiled graphs across different user chats, reducing latency for returning users.
- Updated middleware to support new lazy loading and caching features, ensuring efficient resource utilization and improved response times.
- Enhanced logging for performance tracking during knowledge retrieval and agent interactions.
2026-06-09 04:45:17 -07:00
DESKTOP-RTLN3BA\$punk
ce952d2ad1 chore: linting 2026-06-09 00:42:26 -07:00
Anish Sarkar
32812b5f66 feat(ui): enhance chat example prompts and improve layout
- Added a new backend URL import to the route file for better configuration.
- Updated the Composer component to use a relative positioning class for improved layout.
- Refactored the ChatExamplePrompts component to enhance the display of active categories and prompts, including a close button for better user interaction.
2026-06-09 12:09:49 +05:30
Anish Sarkar
1c3f4cc6ac Merge remote-tracking branch 'upstream/dev' into fix/changelogs 2026-06-09 11:06:52 +05:30
Anish Sarkar
c9351c421e refactor(changelog): remove title and description fields from changelog entries and update schema 2026-06-09 10:13:27 +05:30
DESKTOP-RTLN3BA\$punk
41a93ca8fb refactor(env): streamline Redis configuration and remove deprecated variables
- Consolidated Redis configuration by introducing a single `REDIS_URL` variable for Celery broker, result backend, and app cache.
- Removed deprecated variables related to Firecrawl and Stripe token limits from `.env.example` files.
- Updated documentation to reflect changes in environment variable usage for improved clarity and maintainability.
2026-06-08 14:37:44 -07:00
Anish Sarkar
1c6227eef3 chore(changelog): update titles in changelog entries to remove version prefixes 2026-06-09 01:27:53 +05:30
DESKTOP-RTLN3BA\$punk
6d1d00ebbc Merge commit '61adc80615' into dev 2026-06-08 12:51:38 -07:00
Anish Sarkar
5738bf0707 feat(docs): enhance documentation & remove breadcrumbs 2026-06-09 00:11:59 +05:30
Anish Sarkar
901c72cdcc feat(onboarding): implement onboarding completion check utility
- Added a new utility function `isLlmOnboardingComplete` to determine if the onboarding process is complete based on the agent LLM ID and the presence of global configurations.
- Updated the onboarding logic in the `OnboardPage` and `DashboardClientLayout` components to utilize the new utility function for improved readability and maintainability.
2026-06-07 17:53:18 +05:30
Anish Sarkar
39bc903eab refactor(api): replace backend URL constant with dynamic function for improved flexibility
- Updated the backend URL initialization to use a function that retrieves the URL from environment variables, enhancing configurability for different environments.
2026-06-07 17:05:14 +05:30
Anish Sarkar
f5289b38b9 Merge remote-tracking branch 'upstream/dev' into feat/docker-optimization 2026-06-06 19:09:38 +05:30
Anish Sarkar
4e00f24a03 feat(docker): add ZERO_AUTO_RESET configuration for improved replication safety
- Introduced the ZERO_AUTO_RESET environment variable to enable automatic reset of the SQLite replica in case of replication halts.
- Updated Docker Compose files to include ZERO_AUTO_RESET in service configurations.
- Enhanced documentation to clarify the purpose and usage of the new variable.
2026-06-06 14:21:14 +05:30
Rohan Verma
26a504f137
Merge pull request #1471 from CREDO23/improvement-code-organization
[Refactor] : Reorganize the agents and notifications modules
2026-06-05 16:06:51 -07:00
Anish Sarkar
4bfa04ed57 feat(docker): add interactive Watchtower update preference to installation scripts 2026-06-06 01:45:27 +05:30
Anish Sarkar
f56e2325b0 docs(docker): enhance GPU installation instructions and update script behavior 2026-06-06 01:15:25 +05:30
Anish Sarkar
c1ee5fabf9 feat(docker): enhance multi-architecture and CUDA support in Docker workflows
- Added support for multiple image variants (CPU, CUDA 12.8, CUDA 12.6) in the Docker build workflow.
- Updated Docker Compose configuration to utilize the new SURFSENSE_VARIANT environment variable for selecting image variants.
- Enhanced documentation to clarify usage of backend image variants and their corresponding environment variable settings.
2026-06-05 23:39:42 +05:30
CREDO23
8bdfd00a15 Merge upstream/dev 2026-06-05 19:18:12 +02:00
Anish Sarkar
f19f31e51c refactor(editor): remove truncation logic and related properties from editor content response 2026-06-05 15:32:26 +05:30
Anish Sarkar
640238e1af feat(editor): increase editor byte limit to 5MB and implement UTF-8 truncation for document content 2026-06-05 14:57:52 +05:30
Anish Sarkar
cf8a2d0759 feat(editor): implement viewer mode for large documents, switching between 'plate' and 'monaco' editors based on document size 2026-06-05 14:23:18 +05:30
CREDO23
f3484f5a24 test(e2e): dismiss new-user UI overlays in auth setup
The active "AI Automations" announcement (2026-05-31 -> 2026-07-15) renders
a blocking AnnouncementSpotlight dialog whose full-screen overlay intercepts
all clicks for the freshly-registered e2e user, breaking every UI-driven
journey (e.g. the file-upload upload button). Pre-seed the localStorage flags
that gate the new-user overlays before saving storageState:

- surfsense_announcements_state: mark all announcements read + toasted
  (sourced from announcements-data so future entries are covered).
- surfsense-tour-<userId>: suppress the OnboardingTour spotlight.

Restores the Journey suite (file-upload markdown + PDF round-trips now green).
2026-06-04 17:03:26 +02:00
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
168c0d2f89 feat(chat): add cached thread prefetching for faster navigation 2026-06-04 16:46:45 +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
Anish Sarkar
0cfe5e52bd refactor(ui): Adjust layout and styling for chat components, enhancing spinner positioning and removing unused shared chat indicators 2026-06-04 12:57:16 +05:30
Anish Sarkar
1fb15cb0e4 refactor(buy-more): Remove motion effects from BuyMorePage and delete unused loading component 2026-06-04 12:15:34 +05:30