Commit Graph
2 Commits
Author SHA1 Message Date
鲁树人 cb5531e9e4 feat: enhance settings persistence with platform provider integration
- Updated `persistSettings` to accept a `PlatformProvider`, enabling dynamic loading and saving of production settings.
- Refactored settings loading to handle null cases and invalid JSON gracefully.
- Introduced a new `browserSettingsIo` module for managing settings storage in the browser.
- Added comprehensive tests for `persistSettings` and `browserSettingsIo` to ensure correct functionality and error handling.
- Integrated the updated settings persistence into `AppRoot` for improved platform-specific behavior.
2026-11-01 10:54:13 +09:00
鲁树人 cc688b85bd feat: implement platform provider architecture and integrate into AppRoot
- Introduced a new platform provider architecture to manage platform-specific functionalities.
- Created `PlatformProvider`, `PlatformContext`, and related capabilities for handling downloads and key imports.
- Integrated the platform provider into `AppRoot`, allowing for dynamic platform management.
- Added error handling classes for unsupported and unimplemented methods.
- Updated tests to validate the new platform provider functionalities and capabilities.
2026-11-01 10:46:52 +09:00