mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-24 18:50:56 +08:00
- Introduced `PreferenceUpdateOptions` interface to configure update behavior. - Enhanced `set` and `setMultiple` methods in `PreferenceService` to support both optimistic and pessimistic update strategies, allowing for immediate UI feedback or database-first updates. - Updated `usePreference` and `useMultiplePreferences` hooks to accept options for flexible update strategies. - Improved handling of concurrent updates with request queues and rollback mechanisms for optimistic updates. - Enhanced documentation in hooks to clarify usage of update strategies. |
||
|---|---|---|
| .. | ||
| mcp-trace | ||
| shared | ||