Description
Implemented a comprehensive test suite for the chunk duplication feature, covering repository, service, and API layers. Additionally, improved the sidebar UX by enabling simple-toggle multi-selection, fixing indicator icon bugs, and adding a search-by-name field for subjects.
Tasks
Additional Context
The sidebar changes eliminate the need for Ctrl+Click, making the multi-knowledge selection more discoverable. The search field ensures usability as the number of knowledge bases grows.
Description
Implemented a comprehensive test suite for the chunk duplication feature, covering repository, service, and API layers. Additionally, improved the sidebar UX by enabling simple-toggle multi-selection, fixing indicator icon bugs, and adding a search-by-name field for subjects.
Tasks
tests/infrastructure/repositories/sql/test_chunk_duplicate_repository.pytests/infrastructure/services/test_chunk_duplicate_service.pytests/presentation/api/routes/test_duplicate_router.pySidebarContext.tsxto enable simple toggle selection for multiple bases.SidebarContext.tsx.SidebarContext.tsx.tests/conftest.pyimport path for infrastructure.Additional Context
The sidebar changes eliminate the need for Ctrl+Click, making the multi-knowledge selection more discoverable. The search field ensures usability as the number of knowledge bases grows.