Commit Graph

4 Commits

Author SHA1 Message Date
icarus
9b7094ea4a feat(translate): add bidirectional translation configuration in cache
Refactor bidirectional translation logic to use cache for state management
Simplify language pair handling by using language codes directly
2025-10-15 00:16:04 +08:00
icarus
9ebe4801f4 feat(translate): migrate translate state to cache system
- Replace Redux state management with cache system for translate functionality
- Add new CacheTranslating type to track translation state
- Update TranslatePage to use cache hooks for input, output and state
- Simplify translate function and improve error handling
2025-10-14 21:42:48 +08:00
fullex
c242abd81a feat: refactor cache management and update component dependencies
- Updated package.json to version 2.0.0-alpha, reflecting significant changes.
- Refactored cache management by integrating useCache hooks across various components, enhancing state management and performance.
- Replaced useRuntime references with useMinapps in multiple components to streamline minapp state handling.
- Improved type safety in cache schemas and updated related components to utilize new types.
- Removed deprecated runtime actions and streamlined the codebase for better maintainability.
2025-09-16 00:40:36 +08:00
fullex
6d89f94335 feat: CacheService & useCache Hooks 2025-09-15 14:12:41 +08:00