Deployment Details:
Release Date: August 18, 2025
Dependency Upgrades & Cleanup:
- Upgraded sweetalert2 to ^11.22.4.
- Added knip for unused code detection and analysis.
- Removed unused dependencies from multiple package.json files (chrome-extension, pages/content-ui, packages/hmr), reducing bundle size and improving maintainability.
AI Chat Sidebar & Content Enhancements & AI Chat Sidebar Refactor:
- Simplified imports and state management in AIChatSidebar.tsx.
- Improved chat grouping labels:
- Yesterday → This Week
- Older → Recent Chats
- Added user info fetching and refined chatroom sorting logic for better organization.
- New Dropdown (Owner/Admin only): Added a dropdown in the sidebar to toggle between viewing all organization chats or only personal chats.
AI Chat Content Updates:
- Added new props: currentUserOnly and handleChatTypeChange for more flexible rendering.
- Adjusted sidebar/container sizing for improved layout and usability.
- Improved agent dropdown click handling for reliability.
Result: Cleaner, more intuitive chat experience with improved maintainability.
General Cleanup:
- Removed unused Button.tsx component from pages/content-ui/src.
What Was Tested:
- Version bump applied consistently across all environments.
- Dependency upgrades verified and unused packages successfully removed.
- AI Chat Sidebar groups chats as expected and fetches user info reliably.
- Sidebar dropdown correctly shows only to owners and admins and toggles between org-wide and personal chats.
- Layout adjustments in AI Chat Content render correctly across different states.
- Dropdown interactions work without unintended behavior.
Developer Updates:
- Cleaned up unused components and dependencies to streamline the project.
- Refactored AI chat components for improved readability and maintainability.