Commit Graph

4 Commits

Author SHA1 Message Date
qianlifeng 4b2018934d
feat(mru): Implement Most Recently Used (MRU) functionality across plugins
- Added MRU support to SysPlugin and UrlPlugin, allowing users to access recently used commands and URLs.
- Introduced new data structures for MRU items and context data.
- Updated the query methods to include MRU results based on user settings.
- Modified the settings management to accommodate the new query mode for MRU.
- Enhanced the UI to reflect the changes in query modes and added relevant translations.
- Created a dedicated MRU manager for handling MRU items in the database.
- Updated Flutter UI to support MRU queries and settings.
2025-07-30 19:54:31 +08:00
qianlifeng 734d0f0830
refactor(setting): unify setting store architecture and introduce type-safe value wrappers
- Split Store into separate WoxSettingStore and PluginSettingStore with unified SettingStore interface
- Introduce SettingValue[T] and WoxSettingValue[T] generic wrappers for type-safe setting access
- Refactor PluginSetting to use PluginSettingValue[T] wrappers instead of direct field access
- Remove redundant plugin_setting_test.go and consolidate setting management logic
- Update plugin API, manager, and UI components to work with new setting architecture
- Simplify setting store operations and improve separation of concerns between core and plugin settings

This refactoring provides better type safety, cleaner separation between different setting types,
and a more maintainable architecture for future setting system enhancements.
2025-07-17 21:06:31 +08:00
qianlifeng ccfdbc5e4a
Refactor plugin host 2024-12-22 22:24:04 +08:00
qianlifeng 975b268f9b
Replace justfile with makefile and unify project naming 2024-12-19 23:12:38 +08:00