- Added `resource_counts` to the `ListOrganizationsResponse` to include per-organization knowledge base and agent counts, enhancing the sidebar display.
- Removed the deprecated `getMeResourceCounts` API endpoint, consolidating resource count retrieval into the organization listing.
- Updated the organization store to manage and utilize the new resource counts effectively.
- Adjusted UI components to leverage the new resource counts structure, improving data retrieval and display for agents and knowledge bases.
This update streamlines resource count management and enhances the user experience by providing relevant data in a single API call.
- Introduced new interfaces for handling shared knowledge bases and agents, including visibility and selection modes for agents.
- Added API functions to list shared knowledge bases and agents within an organization, improving data retrieval for UI components.
- Updated existing components to utilize the new API endpoints and interfaces, ensuring accurate representation of shared resources.
- Enhanced error handling in API calls to provide clearer feedback on failures.
This update improves the functionality and user experience by providing better access to shared resources and enhancing the overall data structure within the application.
- Standardized card dimensions and padding across AgentList, KnowledgeBaseList, and OrganizationList for a cohesive appearance.
- Adjusted font sizes and line heights in card descriptions to enhance readability and maintain uniformity.
- Enhanced card content layout with flex properties to improve visual structure and spacing.
This update improves the user interface by ensuring consistent styling and layout across multiple components, enhancing the overall user experience.
- Updated background colors and margins in ListSpaceSidebar, KnowledgeBase, OrganizationList, and other components for a unified visual experience.
- Improved padding, font sizes, and hover effects in various UI elements to enhance readability and user interaction.
- Introduced scrollbar styling and box shadows for better aesthetics and functionality in sidebar components.
This update improves the overall user interface by ensuring consistent styling and enhancing the usability of components across the application.
- Replaced organization icons with a new control platform icon in AgentShareSettings, ShareKnowledgeBaseDialog, and KBShareSettings for consistency.
- Added new styles for the agent icon to improve visual representation.
- Adjusted padding, margins, and layout in various components including ListSpaceSidebar, KnowledgeBase, and OrganizationList to enhance overall UI consistency and readability.
- Introduced hover effects and popover details for knowledge cards to improve user interaction and information accessibility.
This update enhances the user interface by ensuring consistent iconography and improving the layout and interaction design across components.
- Updated button and icon colors in ListSpaceSidebar and OrganizationList for improved visual consistency.
- Adjusted font sizes, line heights, and letter spacing in AgentList, KnowledgeBase, KnowledgeBaseList, and OrganizationList to enhance readability.
- Modified card styles in KnowledgeBase to improve layout and responsiveness, including grid adjustments and hover effects.
- Replaced organization icons with updated SVGs for better visual representation in OrganizationList.
This update improves the overall user interface by ensuring consistent styling and enhancing the readability of text elements across components.
- Updated the logic for cleaning invalid knowledge base IDs to include checks for shared agent knowledge bases, ensuring accurate selection retention.
- Refactored the mention chip component styles and structure for improved clarity and usability, including updated class names and enhanced visual elements.
- Introduced a new context key for session tenant ID to streamline tenant context handling in message and session services, improving the accuracy of operations in shared agent scenarios.
This update enhances the user experience by ensuring correct knowledge base selections and improving the visual representation of selected items.
- Updated the API to include disabled agent IDs for better management of user-specific agent visibility.
- Introduced a new function to set the disabled state for shared agents, allowing users to manage their shared agent preferences.
- Added a new Skills API to retrieve available skills, enhancing the overall agent capabilities.
- Improved the AgentSelector and related components to filter out disabled agents, ensuring a cleaner user experience.
- Updated localization strings to reflect new features and improve clarity in agent and skill management.
This update enhances the user experience by providing better control over agent visibility and introducing new skill management functionalities.
- Added new localization strings for 'Mine' in English and Chinese.
- Enhanced organization subtitles to include agents in shared spaces.
- Updated permission descriptions to clarify roles related to knowledge bases and agents.
- Improved UI components to reflect new labels and permissions for better user experience.
This update strengthens the localization support, ensuring clarity in knowledge base and organization functionalities across multiple languages.
- Updated the AgentSelector component to improve agent selection logic, ensuring accurate representation of selected agents.
- Introduced new AgentShareSettings component for managing agent sharing with organizations, including UI for selecting organizations and displaying shared agents.
- Enhanced API interactions for sharing agents, including new methods for listing and managing agent shares.
- Improved localization support for agent sharing features across multiple languages.
- Updated various components to reflect changes in agent capabilities and sharing status, enhancing user experience and clarity.
This update strengthens the agent management features, providing users with better tools for sharing and selecting agents within organizations.
- Updated the createSession function to be asynchronous, allowing for pre-validation of the selected agent's configuration before session initiation.
- Implemented checks for both built-in and custom agents to ensure they are properly configured, displaying appropriate messages if not ready.
- This update improves user experience by preventing session creation with unconfigured agents, ensuring smoother interactions.
- Replaced static organization icons with the SpaceAvatar component for better visual representation in organization selection and sharing settings.
- Updated organization metadata display to include user and knowledge base share counts with new icons for clarity.
- Enhanced access information in knowledge base and FAQ entry views with improved iconography and tooltips for better user guidance.
- Adjusted styles for consistency and improved readability across various components.
This update enhances the user experience by providing clearer visuals and more informative displays related to organizations and knowledge sharing.
- Updated organization selection dropdowns to include new SVG icons for better visual representation.
- Improved organization option layout with additional metadata display, including member count and share count.
- Enhanced share item display with organization icons and improved action buttons for better user interaction.
- Adjusted styles for organization-related components to improve usability and aesthetics.
This update enhances the user experience by providing clearer organization visuals and more intuitive sharing options.
- Added a shared height transition container for the invite preview body to improve user experience during step transitions.
- Implemented a resize observer to dynamically adjust the height of the invite body based on content changes, ensuring smooth transitions.
- Updated the template structure for invite preview steps to enhance readability and maintainability.
- Enhanced styles for the invite preview body to support the new height transition feature.
This update improves the visual experience when navigating through the invite process, making it more fluid and user-friendly.
- Introduced a new SVG icon for organization representation in the UI.
- Updated Input-field component to include organization names in file selections.
- Enhanced MentionSelector component to display organization badges for knowledge bases and files.
- Added localization strings for organization-related details in multiple languages.
- Improved styling for organization badges to enhance visual clarity.
This update improves the user experience by clearly indicating the organization associated with knowledge bases and files, fostering better organization management and visibility.
- Updated SpaceAvatar component to allow emoji-based avatars, enabling users to select emojis as their space avatar.
- Added new props and computed properties to handle emoji logic and display.
- Enhanced UI to include an emoji picker and clear option for avatars.
- Updated localization strings in English and Chinese for new avatar features.
- Adjusted styles for emoji display and interaction.
This update improves user personalization options for avatars, enhancing the overall user experience in the application.
- Added a member limit field to the SearchableOrganizationItem interface, allowing organizations to specify a maximum number of members.
- Updated API and service layers to support searching organizations by name, description, or ID.
- Enhanced UI components to display member limits and updated localization strings in English and Chinese for new features.
- Included migration files to add the searchable column to the organizations table.
This update improves the organization search functionality and membership management, enhancing user experience and administrative control.
- Introduced a new member limit feature for organizations, allowing a maximum number of members to be set (default is 50; 0 means unlimited).
- Updated API endpoints to handle member limit during organization creation and updates.
- Implemented validation to prevent adding members when the limit is reached.
- Enhanced UI components to display and manage member limits, including localization updates for English and Chinese.
- Added migration files to support the new member limit column in the organizations table.
This update improves organization management by allowing administrators to control membership size.
- Added a 'searchable' flag to organizations, allowing them to be discoverable and joinable by ID without an invite code.
- Introduced API endpoints for searching and joining searchable organizations.
- Updated UI components to support searching for organizations and displaying results.
- Enhanced localization for new search-related features in both English and Chinese.
This update improves user experience by enabling easier discovery and joining of organizations.
- Introduced a new API for organization management, including creation, updating, and deletion of organizations.
- Implemented organization sharing functionality for knowledge bases, allowing users to share knowledge bases with specific organizations and set permissions.
- Added UI components for organization selection and sharing dialogs.
- Enhanced existing components to support organization-related features, including shared knowledge base handling and organization role management.
This update enhances collaboration capabilities within the application by allowing users to manage and share knowledge bases across different organizations.
- Updated .env.example to set default sandbox mode to 'docker' and added timeout and docker image variables.
- Modified docker-compose files to include a sandbox service for building and pulling the sandbox image.
- Adjusted frontend API to reflect sandbox availability for skills, ensuring UI elements are conditionally displayed based on sandbox status.
- Implemented backend logic to disable skills when the sandbox is not enabled, improving error handling and user experience.
Use dragCounter to track drag enter/leave events properly.
The mask now hides when user drags file out of the browser window.
- Add dragleave event listener
- Use counter to handle nested element drag events
- Reset counter on drop and unmount
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Updated the delKnowledge function to accept an optional onSuccess callback for post-deletion actions.
- Modified the delCardConfirm function to refresh the document list and tag counts upon successful deletion.
- Reformatted the API functions in the knowledge base module for consistent indentation and spacing.
- Enhanced overall code readability without altering functionality.
- Introduced tag_id parameter in various knowledge-related API functions to allow categorization of knowledge entries.
- Updated frontend components to handle tag_id during knowledge creation and file uploads.
- Enhanced UI store to manage the selected tag ID for better user experience in categorizing knowledge.