Commit Graph

3 Commits

Author SHA1 Message Date
CodingOnStar b58a482475 refactor(plugin-tasks): consolidate plugin task components and improve state management
- Removed redundant components and consolidated logic for handling plugin tasks.
- Updated the rendering logic to directly manage plugin states within the main component.
- Enhanced the modal handling for clearing tasks and displaying statuses.
- Improved the overall structure and readability of the code by eliminating unnecessary files and simplifying the component hierarchy.
2025-12-29 15:30:13 +08:00
CodingOnStar e42627289d test: enhance JinaReader component tests
- Updated tests to handle promise resolution for task creation and status checking, preventing act() warnings.
- Removed redundant tests for null and undefined limits, streamlining the test suite.
- Improved assertions to ensure proper rendering and state updates during API interactions.
2025-12-26 11:11:25 +08:00
CodingOnStar 289d752565 test: enhance unit tests for plugin components
- Added comprehensive tests for the plugin authentication and management components, including PluginItem, FilterManagement, and PluginList.
- Implemented tests for rendering, props handling, user interactions, and edge cases.
- Ensured proper integration with mocked API hooks and context providers.
- Improved coverage for various plugin states and filter functionalities.
2025-12-25 17:27:54 +08:00