- Changed the API URL in the DashboardBreadcrumb component to include search space ID for fetching editor content, ensuring correct context is used when accessing documents.
- Simplified the RowActions component by removing unused imports and replacing the dropdown menu with tooltip buttons for editing, viewing metadata, and deleting documents.
- Updated the JsonMetadataViewer component to support controlled mode for better integration with the RowActions component.
- Adjusted CSS variables for destructive actions in globals.css for improved visual consistency.
- Modified API endpoints to include search space ID in the URL for fetching and saving documents.
- Added permission checks for reading and updating documents based on search space.
- Updated the document saving endpoint to trigger reindexing after saving.
- Introduced a new Celery task for reindexing documents.
- Refactored the editor page to reflect the changes in the API endpoint and method.
- Deleted UserSearchSpacePreference class and its relationships from SearchSpace and User models.
- Cleaned up unused code to streamline database interactions.
- Added "Add Sources" button in ChatInputGroup for easier document management.
- Introduced a "Manage Team" card in CompletionStep to facilitate team collaboration.
- Updated UI elements for better visual feedback and interaction.
- Removed unused role examples in LLMRoleManager for cleaner code.
-Introduce granular permissions for documents, chats, podcasts, and logs.
- Update routes to enforce permission checks for creating, reading, updating, and deleting resources. - Refactor user and search space interactions to align with RBAC model, removing ownership checks in favor of permission validation.
- Add sharp@0.33.5 override to support Node.js 22
- Add sharp as direct dependency
- Upgrade plasmo to 0.90.5
- Add Node.js version constraint (>=18.0.0 <23.0.0)
- Add pnpm version constraint (>=8.0.0)
This fixes the 'Cannot find module sharp-win32-x64.node' error
reported in issue #413 when building on Node.js v22.0.0