Commit Graph

17 Commits

Author SHA1 Message Date
qianlifeng 59dc4f8bb3 fix(ui): fix last display position not work after restart app. #4222
* Added `SaveWindowPosition` method to `Manager` for saving last window coordinates.
* Introduced API endpoint `/setting/position` to handle window position save requests.
* Updated `getShowAppParams` to utilize saved window position if available.
* Implemented logic in `WoxLauncherController` to save window position after showing the window.
2025-07-13 23:58:12 +08:00
qianlifeng 5ccd96557d
fix(query-box): Fix the issue where the input box defaults to selecting text when it gains focus and then cancels the selection.
* Removed unnecessary `selectAll` parameter from `focusQueryBox` method.
* Updated calls to `focusQueryBox` throughout the application for consistency.
* Added `extended_text_field` dependency for enhanced text input capabilities.
2025-05-16 16:36:18 +08:00
qianlifeng 988366d62b feat(ui): enhance window management and query box interaction
* Added `asyncExecuteOnWindows` method to handle keyboard state issues on Windows.
* Refactored `WoxLauncherView` to simplify widget structure.
* Integrated `WoxBorderDragMoveArea` for improved drag-and-drop functionality.
* Removed unnecessary delays in window hiding logic to streamline user experience.
2025-05-10 23:40:31 +08:00
qianlifeng ef226b89a1
feat(doctor): Add DoctorCheckResult model and integrate into EntityFactory for JSON parsing
- Introduced DoctorCheckResult and DoctorCheckInfo models to handle doctor check results.
- Updated EntityFactory to support parsing of DoctorCheckResult from JSON.
- Removed unused translation method from EntityFactory to streamline code.
2025-04-28 14:11:32 +08:00
qianlifeng d927f12a9a
refactor(ui): Integrate WoxAIChatController for enhanced chat functionality
- Added WoxAIChatController to manage AI chat interactions, including model selection and tool configuration.
- Refactored WoxAIChatView to utilize GetX for state management, improving responsiveness and code organization.
- Implemented chat select panel for dynamic model and tool selection, enhancing user experience.
- Updated WoxPreviewView to initialize chat data from WoxAIChatController, ensuring consistent data handling.
- Improved overall architecture by consolidating chat-related logic within the new controller, promoting maintainability.
2025-04-12 16:08:53 +08:00
qianlifeng ac3b666975
refactor(ui): Refactor wox list view [WIP]
- Introduced WoxLauncherController and WoxListController to manage launcher and list functionalities, enhancing separation of concerns.
- Updated WoxSettingController to streamline settings management and improve user experience.
- Refactored theme handling in various components to utilize WoxThemeUtil for consistent theming across the application.
- Removed deprecated module imports and improved code organization for better maintainability.
- Enhanced WoxListItem to support generic data types, allowing for more flexible item management.
2025-04-11 23:58:57 +08:00
qianlifeng 5c44fcbef0
refactor(chat): Improve chat ui
- Update logging statements in various components to use debug level instead of info for size and paint logs, reducing log verbosity.
- Adjust WoxPreviewChatView and WoxQueryBoxView to improve logging clarity and maintainability.
- Ensure consistent logging practices across the application for better debugging and performance monitoring.
2025-03-30 15:45:59 +08:00
qianlifeng 8478284b6f
feat(launcher): Enhance focus handling and hover state for query results
- Refactor focus handling in WoxLauncherController to streamline focus requests for the query box, ensuring text selection behavior is consistent.
- Introduce hover state management in WoxListItemView, allowing for visual feedback when items are hovered over, improving user interaction.
- Update WoxQueryResultView to utilize the new hover state and focus methods, enhancing the overall user experience in the query results display.
2025-03-28 15:21:37 +08:00
qianlifeng 87b0a99c09
feat(ai): Allow user to edit the ai model name #4144
- Implement new `/plugin/detail` endpoint to retrieve specific plugin details
- Refactor plugin loading and refresh mechanisms in the settings controller
- Add support for dynamic plugin list updates (add/remove/update)
- Optimize plugin state management and reduce unnecessary API calls
- Remove loading state artifacts and improve plugin list rendering
2025-03-10 22:31:22 +08:00
qianlifeng 0683e05053
fix(ui): #4144 Fix AI command UI input jitter issue
- Add width configuration for AI command prompt setting column
- Optimize AI model selection in plugin settings table
- Prevent focus loss when in settings view
- Implement preloading of AI model options for better UX
2025-03-10 15:10:43 +08:00
qianlifeng deb28250e7 refactor(window): Update window centering method to support dynamic window sizing
Modify window centering methods across platforms to:
- Accept explicit width and height parameters
- Improve window positioning calculation
- Enhance cross-platform window management consistency
- Remove hardcoded window sizing in some method calls
2025-03-09 23:36:56 +08:00
qianlifeng 71cad94f33 refactor(window): Remove unused window event methods
Clean up window management code by removing unnecessary event methods and notifications across multiple platform-specific window manager implementations
2025-03-09 22:20:02 +08:00
qianlifeng 27800b40ca refactor(window): Enhance Windows window rendering and DWM effects
- Remove deprecated acrylic and window setup methods from Flutter and native code
- Implement Windows 11 rounded corners and system backdrop support
- Simplify window creation and styling for better DWM integration
- Remove theme-related registry checks and manual theme handling
- Improve window initialization with modern Windows UI effects
2025-03-05 23:49:47 +08:00
qianlifeng 5eeb3f09e1
refactor(window): Implement cross-platform window management abstraction
- Remove window_manager and screen_retriever plugin dependencies
- Create platform-specific window manager implementations for Linux, macOS, and Windows
- Introduce WindowManagerInterface and BaseWindowManager for consistent window handling
- Update main application code to use new window management approach
- Simplify window initialization and management across different platforms
2025-03-05 16:06:12 +08:00
qianlifeng 5e332826b1 feat(deeplink): enhance deep link processing and platform support
- Add Linux-specific deep link protocol handler registration
- Refactor deep link processing in core, UI, and Flutter layers
- Improve URL parsing and argument extraction
- Add documentation for Linux deep link setup
- Ensure consistent deep link handling across platforms
2025-02-26 23:36:43 +08:00
qianlifeng 2da8c04e6a
Refactor plugin loading mechanism in Python host and streamline launcher view handling in Flutter UI 2024-12-30 15:40:56 +08:00
qianlifeng 975b268f9b
Replace justfile with makefile and unify project naming 2024-12-19 23:12:38 +08:00