Commit graph

404 commits

Author SHA1 Message Date
Anish Sarkar
192b9840f2 refactor(sidebar): enhance layout and styling in FolderTreeView and AllChatsSidebar
- Removed unnecessary min-height and overflow properties in FolderTreeView and DocumentsSidebar for cleaner layout.
- Updated AllChatsSidebar to improve header styling and adjust padding for better visual consistency.
- Enhanced input and button sizes for improved usability across chat components.
2026-07-06 13:05:11 +05:30
Anish Sarkar
e24abd7eac refactor(sidebar): streamline DocumentsSidebar and FolderTreeView for improved performance
- Removed unnecessary filtering logic in FolderTreeView to simplify document rendering.
- Updated DocumentsSidebar to eliminate redundant props and enhance layout consistency.
- Adjusted Sidebar component to conditionally render DocumentsSidebar based on the documentsPanel state.
2026-07-06 12:49:41 +05:30
Anish Sarkar
53259b6105 feat(sidebar): introduce SidebarListItem component for consistent sidebar item styling
- Added SidebarListItem component to standardize the appearance of sidebar items across DocumentNode and FolderNode.
- Refactored DocumentNode and FolderNode to utilize SidebarListItem for improved layout and interaction.
- Updated ChatListItem to leverage sidebarListItemClassName for consistent styling.
- Enhanced SidebarSection to improve content rendering and visibility transitions.
2026-07-06 11:44:45 +05:30
Anish Sarkar
312ae6f753 feat(sidebar): refactor DocumentsSidebar to utilize SidebarSection for improved layout
- Replaced div wrappers in AuthenticatedDocumentsSidebarBase and AnonymousDocumentsSidebar with SidebarSection for better structure and consistency.
- Updated EmbeddedDocumentsMenu to enhance document management functionality.
- Changed icon from MoreHorizontal to SlidersVertical for improved visual representation.
- Adjusted SidebarSection styling for better alignment and spacing.
2026-07-06 11:28:41 +05:30
Anish Sarkar
7bc47aada0 feat(sidebar): add embedded documents menu for enhanced document management
- Introduced EmbeddedDocumentsMenu component to facilitate document type filtering and folder creation.
- Updated AuthenticatedDocumentsSidebarBase and AnonymousDocumentsSidebar to integrate the new menu.
- Enhanced UI with dropdown functionality for improved user experience in document management.
2026-07-06 11:22:33 +05:30
Anish Sarkar
62c0573b1c feat(sidebar): enhance document management UI and improve layout structure
- Updated the FolderTreeView component to clarify upload instructions.
- Introduced a new renderDocumentTree function in DocumentsSidebar for better organization and readability.
- Refactored the Sidebar component to utilize SidebarSection for improved layout consistency.
- Added contentClassName prop to SidebarSection for flexible styling options.
2026-07-06 11:11:53 +05:30
Anish Sarkar
f11cc3868c feat(assistant-ui): add "Manage Connectors" option to ComposerAction and clean up DocumentsFilters component
- Introduced a new dropdown menu item for managing connectors in the ComposerAction component.
- Removed unused upload button and related props from the DocumentsFilters component for improved clarity and simplicity.
- Updated LayoutDataProvider and RightPanel components to streamline state management and enhance layout consistency.
2026-07-06 11:09:25 +05:30
Anish Sarkar
cda232101f feat(workspace): remove AI file sorting feature and related components 2026-07-06 10:50:20 +05:30
Anish Sarkar
865e22aaa4 refactor(chats): simplify chat filtering logic in AllChatsSidebar 2026-07-06 10:37:53 +05:30
Anish Sarkar
29d4fde2c0 feat(chats): add filter dropdown for active and archived chats in AllChatsSidebar
- Implemented a dropdown menu to filter between active and archived chats.
- Removed the previous tabbed interface for filtering and replaced it with a more intuitive dropdown.
- Updated layout and styling for better user experience.
2026-07-06 10:37:21 +05:30
Anish Sarkar
420ce3e153 feat(chats): implement ChatsPage component and update layout for all chats functionality 2026-07-06 10:26:32 +05:30
Anish Sarkar
ec617c1c6b refactor(workspace): update terminology from search space to workspace
- Changed references from "search space" to "workspace" in various components for consistency.
- Updated the LayoutDataProvider to handle workspace data more effectively.
- Adjusted UI elements in IconRail and MobileSidebar to reflect the new terminology.
- Modified messages in the localization file to align with the updated terminology.
2026-07-06 10:09:30 +05:30
Anish Sarkar
c379ab1155 feat(workspace): refactor search space handling to workspace 2026-07-06 10:04:17 +05:30
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
b4328cd52b fix(documents):use authenticated document access 2026-06-24 03:55:40 +05:30
CREDO23
cc624076c9 feat: add artifacts sidebar nav 2026-06-23 15:18:08 +02:00
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
bc31b10ca6 refactor(web): consume runtime config in connectors and document uploads 2026-06-16 01:39:52 +05:30
Anish Sarkar
6b31997599 Merge remote-tracking branch 'upstream/dev' into experiment/lean-url-port-architecture 2026-06-15 20:52:15 +05:30
Anish Sarkar
f5d04cf8ba refactor(web): support same-origin backend and zero urls 2026-06-15 11:03:45 +05:30
Anish Sarkar
e38c569e89 fix(DocumentsSidebar): simplify connector button label logic for clarity 2026-06-14 21:40:59 +05:30
DESKTOP-RTLN3BA\$punk
05190da0a9 chore: linting 2026-06-11 15:31:43 -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
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
2a13b3777a feat(download): Enhance download functionality by adding mobile OS detection and updating UI components accordingly 2026-06-04 11:48:44 +05:30
Anish Sarkar
e427501482 feat(web): Remove summary controls from the web app 2026-06-04 00:52:45 +05:30
Anish Sarkar
ae9c346015 refactor(dashboard): improve layout and accessibility of TeamContent and TriggerCard components, enhancing button visibility and member display 2026-06-03 21:49:17 +05:30
Anish Sarkar
75c8063bea refactor(automations): improve UI consistency by updating alert messages, enhancing task item layout, and refining timezone selection component 2026-06-03 03:41:03 +05:30
Anish Sarkar
eabbfb8c67 refactor(automations): replace error and notice displays with Alert components 2026-06-03 00:45:45 +05:30
Anish Sarkar
c002f45c8e refactor(chat): consolidate chat handling by merging shared and private chat sections into a unified chat view, update related components and translations 2026-06-03 00:07:13 +05:30
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
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
7bc52dcdc0 feat(web): surface Automations in the sidebar under Inbox
Adds an "Automations" nav entry rendered explicitly between Inbox and
(on mobile) Documents, mirroring how those two are pulled out of the
nav list and rendered above the chat sections. The icon is Workflow
to match settings/RBAC labelling.

LayoutDataProvider:
- Adds the entry to navItems pointing at /dashboard/[id]/automations.
- Marks isActive via pathname so the row highlights on the route.
- Tags /automations as a workspace-panel page so it renders in the
  centered settings-style viewport (same chrome as Team / settings).

Sidebar:
- Pulls out automationsItem alongside inboxItem and documentsItem.
- Renders it between them.
- Excludes its URL from footerNavItems so it doesn't double-render.

Page-level RBAC still gates the actual view; the sidebar entry is
always visible (consistent with Inbox/Documents which are also not
gated at the nav layer).

Anonymous (FreeLayoutDataProvider) intentionally not touched —
automations is an authenticated feature.
2026-05-28 01:11:20 +02:00
Anish Sarkar
a41b16b73e feat(web): enhance chat context and mention handling with connector support 2026-05-26 21:11:53 +05:30
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
1a6d1ced43
Merge pull request #1417 from VarunShukla07/fix/env-config-editor-chat-dashboard
refactor(env): replace inline process.env reads with BACKEND_URL in editor, chat, dashboard and settings
2026-05-20 12:14:01 -07:00
Rohan Verma
55cce4ea59
Merge pull request #1414 from AnishSarkar22/feature/memory-support-document-panel
feat: improve memory extraction & add document-panel memory editing
2026-05-20 12:12:27 -07:00
Rohan Verma
4774105015
Merge pull request #1413 from mvanhorn/fix/1359-shared-isMobile-hook
fix: use shared useIsMobile (768px) in SidebarSlideOutPanel (#1359)
2026-05-20 01:32:04 -07:00
Anish Sarkar
fe07de3f9c chore: ran linting 2026-05-20 12:55:10 +05:30
Anish Sarkar
659007bc4d feat: enhance document export functionality for memory documents and update UI components 2026-05-20 11:57:31 +05:30
Varun Shukla
fead3a64f4 refactor(env): replace inline process.env reads with BACKEND_URL in editor, chat, dashboard and settings 2026-05-20 03:34:22 +05:30
Anish Sarkar
cb1cf26ef3 feat: improve document editor panel behavior 2026-05-20 02:02:59 +05:30
Anish Sarkar
d66295aedd chore: ran linting 2026-05-19 21:02:07 +05:30
Anish Sarkar
f1b3c88354 feat: add collapsed header content support in LayoutShell and Sidebar components 2026-05-19 20:58:19 +05:30