Commit graph

812 commits

Author SHA1 Message Date
Anish Sarkar
37559fcc6d refactor: enhance chat UI components for mobile responsiveness
- Updated the layout of the ComposerAction and ChatHeader components to improve mobile compatibility.
- Added a new prop to ImageModelSelector for mobile-specific rendering.
- Adjusted ModelSelector to conditionally render elements based on mobile view, enhancing user experience on smaller screens.
2026-06-19 01:41:21 +05:30
Anish Sarkar
bb664a1f32 fix: enable smooth rendering in MarkdownText component
- Updated the MarkdownTextPrimitive component to enable smooth rendering by default.
- Adjusted the props to streamline the rendering process for improved user experience.
2026-06-18 23:56:58 +05:30
DESKTOP-RTLN3BA\$punk
b89866541e chore: linting 2026-06-17 20:50:07 -07:00
Anish Sarkar
3f69bfd5e4 refactor(web): replace instances of BACKEND_URL with buildBackendUrl for improved URL handling 2026-06-16 14:51:25 +05:30
Anish Sarkar
371ff866c7 refactor(web): replace BACKEND_URL with buildBackendUrl for dynamic URL construction 2026-06-16 04:56:23 +05:30
Anish Sarkar
bc31b10ca6 refactor(web): consume runtime config in connectors and document uploads 2026-06-16 01:39:52 +05:30
Anish Sarkar
381d17d9b3 feat(chat-ui): integrate chat model selection handling in Composer and related components 2026-06-14 12:40:49 +05:30
Anish Sarkar
c7409c8995 chore: ran linting 2026-06-13 21:59:35 +05:30
Anish Sarkar
78dbdc454a feat(composer): update ComposerAction to include searchSpaceId and integrate ChatHeader component 2026-06-13 03:28:54 +05:30
Anish Sarkar
8fe9c21e76 feat(token-tracking): add model metadata registration and enhance token usage tracking 2026-06-13 03:08:35 +05:30
Anish Sarkar
72a7fe04b5 Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:20:46 +05:30
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
908790e40f Merge remote-tracking branch 'upstream/dev' into feat/unified-model-connections 2026-06-12 03:15:28 +05:30
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
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
Anish Sarkar
610ff063d6 refactor(model-connections): update frontend for provider-based models 2026-06-12 02:17:51 +05:30
CREDO23
1f9fd61c9e refactor(podcasts): replace polling tool ui with lifecycle card 2026-06-11 10:04:51 +02:00
Anish Sarkar
3f21d5fdd6 Merge remote-tracking branch 'upstream/dev' into fix/changelogs 2026-06-10 10:57:21 +05:30
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
DESKTOP-RTLN3BA\$punk
6d1d00ebbc Merge commit '61adc80615' into dev 2026-06-08 12:51:38 -07:00
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
e427501482 feat(web): Remove summary controls from the web app 2026-06-04 00:52:45 +05:30
Anish Sarkar
c75a080997 Merge remote-tracking branch 'upstream/dev' into feat/ui-fixes 2026-06-03 21:53:35 +05:30
Anish Sarkar
9daaf12658 fix(thread): adjust Composer component height for improved user experience 2026-06-02 23:44:36 +05:30
Anish Sarkar
5fce4e1621 feat(chat): enhance ChatViewport with conditional footer rendering and update ChatExamplePrompts for improved category selection 2026-06-02 22:52:48 +05:30
CREDO23
ef60af90cf feat(web): segregate connectors into knowledge base and tools/live sources 2026-06-02 16:37:54 +02:00
DESKTOP-RTLN3BA\$punk
0870571765 refactor(thread): improve layout and responsiveness of welcome message
- Adjusted the structure of the ThreadWelcome component to enhance layout consistency across different screen sizes.
- Updated CSS classes to ensure proper alignment and spacing for the welcome message and composer, improving overall user experience.
2026-06-01 20:34:18 -07:00
Anish Sarkar
e3de7c4667 Merge remote-tracking branch 'upstream/dev' into feat/whatsapp-gateway-integration 2026-06-02 00:29:32 +05:30
Anish Sarkar
78fbca1967 refactor(assistant-ui): remove unused ShieldCheck icon from MCPTrustedTools component 2026-06-01 12:38:01 +05:30
DESKTOP-RTLN3BA\$punk
2690fe1196 feat(pricing): update pricing page and add AI automations details
- Revised the pricing page title and description to reflect new features including AI workspace, automations, and agents.
- Enhanced the FAQ section with detailed information about AI automations and agents, including scheduling and event-triggered workflows.
- Updated demo plans to include features related to AI automations and agents, ensuring clarity on capabilities and costs.
- Added a new automation illustration to the homepage features grid, emphasizing the automation capabilities of SurfSense.
2026-05-31 19:22:50 -07:00
DESKTOP-RTLN3BA\$punk
0f2e3c7655 refactor: anonymous/free chat experience
- Enhanced lambda function formatting in `_after_commit` for better clarity.
- Simplified generator expression in `_match_condition` for improved readability.
- Streamlined function signature in `_eligible` for consistency.
- Updated imports and refactored anonymous chat routes to use a new agent creation method.
- Added a new function `_load_anon_document` to handle document loading from Redis.
- Improved UI components by replacing legacy structures with modern alternatives, including alerts and separators.
- Refactored quota-related components to utilize new alert structures for better user feedback.
- Cleaned up unused variables and optimized component states for performance.
2026-05-31 15:58:21 -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
820f541f08
Merge pull request #1439 from AnishSarkar22/fix/mention-documents
feat: improve composer mentions and connector account selection
2026-05-26 13:37:18 -07:00
Anish Sarkar
b8450e60d5 refactor(web): update Switch component styles in ComposerAction for improved layout and consistency 2026-05-27 01:41:37 +05:30
Anish Sarkar
17293125ef feat(web): implement recent mention management in document mention picker and enhance composer component 2026-05-27 00:26:44 +05:30
Anish Sarkar
79f5e8f88c feat(web): add connector display definitions and enhance composer suggestion components 2026-05-26 22:40:22 +05:30
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
Anish Sarkar
701ae800b4 feat(web): refactor sign-in button and composer components to use Button component 2026-05-26 18:27:02 +05:30
Anish Sarkar
9cd3de9ec1 feat(web): update mention components to use Button component and enhance styling 2026-05-26 16:50:40 +05:30
Anish Sarkar
d445974838 feat(web): enhance inline mention editor and thread components with suggestion trigger info and anchor rect 2026-05-26 14:36:46 +05:30
Anish Sarkar
0d65a2e4e3 feat(web): implement composer suggestion popover and integrate with document mention picker 2026-05-26 13:37:59 +05:30
Anish Sarkar
79378db7c8 refactor(connector): streamline connector telemetry imports and clean up unused constants 2026-05-25 22:21:34 +05:30
suryo12
d571cb23fa refactor(web): use last-seen-tick comparison for slideout listener
Replace the boolean "skip first render" ref with a ref that stores the
previously-seen tick value. The effect now compares against the stored
value and only fires when it differs, which makes the dependency
naturally used (removes the `void slideoutOpenedTick;` acknowledgement)
and self-documents the intent of the guard.

Behavior is unchanged — both forms preserve the one-shot-per-event
semantics of the prior window-event implementation. The JSDoc on
`slideoutOpenedTickAtom` is updated to describe the new pattern.
2026-05-24 18:13:36 +07:00
suryo12
ddae506631 refactor(web): replace slideout panel window event with jotai atom (fixes #1358)
Replace the `SLIDEOUT_PANEL_OPENED_EVENT` window event with a
`slideoutOpenedTickAtom` jotai atom. The dispatcher in
`SidebarSlideOutPanel` now bumps the tick via `useSetAtom`, and the
listener in `Thread` reads it via `useAtomValue` and reacts on change
behind a ref guard that skips the initial render — preserving the
one-shot-per-open semantics of the previous event.

This removes the implicit cross-module string contract, makes the
signal traceable through React DevTools / jotai inspector, and lets
TypeScript catch typos that the string-based event API silently
swallowed.
2026-05-24 16:41:47 +07:00
Rohan Verma
d53866d87d
Merge pull request #1430 from suryo12/refactor/1362-oauth-typed-contract
refactor(web): centralize OAuth callback cookie contract (fixes #1362)
2026-05-23 15:53:51 -07:00
Rohan Verma
06bcc85287
Merge pull request #1426 from guangyang1206/fix/1375-move-getConnectorTelemetryMeta-to-lib
fix: move getConnectorTelemetryMeta from components/ to lib
2026-05-23 15:50:59 -07:00