Commit Graph

3846 Commits

Author SHA1 Message Date
qianlifeng fb30fc8e6a refactor(window): Simplify cross-platform window resizing and event handling
- Consolidate window resizing logic in WoxLauncherController
- Remove platform-specific window resizing code
- Enhance Windows window management with DPI scaling support
- Add comprehensive window event tracking for Windows
- Remove redundant Linux and Windows window manager plugin files
2025-03-05 22:15:57 +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 3f87168ebb refactor(shell): simplify ShellRun implementation and consolidate environment handling
- Modify ShellRun to use ShellRunWithEnv for consistent command execution
- Move common command configuration (hide window, logging) to ShellRunWithEnv
- Ensure PYTHONIOENCODING is set by default when running shell commands
2025-03-05 13:17:40 +08:00
qianlifeng fd0eef35bd
feat(selection): Improve get selected text solution on macos, close #4022 2025-03-03 21:14:43 +08:00
qianlifeng b09bd93aa7
test: remove unused Darwin-specific shell output test
- Delete open_darwin_test.go file containing an unused test case
- Remove unnecessary test for ShellRunOutput function on Darwin platform
2025-03-01 22:31:51 +08:00
qianlifeng 199715be00
test: improve test command with verbose output and regex-based skipping
- Update Makefile test command to use verbose output (-v flag)
- Use regex pattern for skipping crypto/currency-related tests
- Maintain existing test case exclusions
2025-03-01 22:25:05 +08:00
qianlifeng d68fc110e9
docs: improve README and documentation structure
- Reorganize README with tables for Install and Shortcuts sections
- Update documentation homepage configuration
- Remove redundant docs/README.md file
- Add support for translating Markdown preview data in plugin manager
2025-03-01 22:11:35 +08:00
qianlifeng f5db8846d0
docs: update sidebar with new documentation pages
- Add FAQ, AI Commands, Architecture, and Contributing pages to sidebar
- Organize documentation navigation for better user experience
2025-02-28 20:41:46 +08:00
qianlifeng 8d7ebd90d5
test: skip additional crypto/currency-related test cases, because those tests depends on networks which is not stable in tests
- Modify Makefile test command to skip TestCalculatorCrypto and TestCalculatorCurrency
- Maintain existing skip for TestFetchCryptoPrices
- Prevent potential test failures during CI/local testing
2025-02-28 16:26:06 +08:00
qianlifeng b6328ae0e4
ci: update version manifest URL to master branch
- Change version manifest URL from v2 to master branch
- Update GitHub Actions plugin workflow to trigger on master branch
- Ensure consistent branch references in updater configuration
2025-02-28 16:13:57 +08:00
qianlifeng e83615f49a
feat(deeplink): add toggle command to deep linking support #3963
- Implement `wox://toggle` deep link command to toggle Wox app
- Update documentation to include new toggle deep link option
- Add toggle command handling in UI manager
2025-02-28 16:12:08 +08:00
qianlifeng 972fc28711
docs: update image URLs from v2 to master branch
- Replace v2 branch references with master in documentation image URLs
- Update AI settings, README, and Git commit message documentation
- Ensure consistent image linking across documentation files
2025-02-28 10:29:14 +08:00
qianlifeng 07dad2e0d8
refactor(launcher): simplify setting window opening logic
- Remove nested WidgetsBinding.instance.addPostFrameCallback
- Streamline plugin setting window initialization
- Improve code readability and reduce callback nesting
2025-02-27 23:07:02 +08:00
qianlifeng a46eb5ba17
ci: update GitHub Actions workflow branch trigger to master
- Change branch trigger from 'main' to 'master'
- Align workflow configuration with current primary branch name
2025-02-27 21:54:35 +08:00
qianlifeng f4bbbc1226
docs: update README snapshot image URL to master branch 2025-02-27 21:47:06 +08:00
qianlifeng f0373a1245
docs: update README with current project status and features
- Remove outdated v2 development note
- Update build badge to point to master branch
- Simplify plugin and theme description
- Remove C# from plugin language list
2025-02-27 21:46:24 +08:00
qianlifeng 1fea5d0b12
ci: update build workflow branch trigger
- Change branch trigger from 'v2' to 'main'
- Align GitHub Actions workflow with primary development branch
2025-02-27 21:44:17 +08:00
qianlifeng 2540b88bbe
ci: simplify artifact naming in build workflow
- Remove dynamic version suffix from artifact names
- Standardize artifact naming across different platforms
- Ensure consistent artifact upload configuration
2025-02-27 21:42:49 +08:00
qianlifeng fc15ead886
ci: update artifact upload workflow
- Replace nightly release deployment with GitHub artifact upload
- Use actions/upload-artifact@v4 for build artifact management
- Set artifact retention to 3 days
- Comment out previous nightly release deployment step
2025-02-27 21:21:55 +08:00
qianlifeng af4dae5845
feat(deeplink): add logging for deeplink processing details
- Log parsed deeplink command and arguments for better traceability
- Enhance debugging capabilities for deeplink handling
- Provide visibility into deeplink parsing process
2025-02-27 17:35:20 +08:00
qianlifeng 5cf9b78a66
fix(preview): improve markdown preview scrolling and positioning
- Add ClampingScrollPhysics to markdown preview for smoother scrolling
- Refactor scroll position logic for bottom scroll positioning
- Ensure consistent scroll behavior in preview view
2025-02-27 11:37:23 +08:00
qianlifeng dfed649470
docs(plugin): add comprehensive guide for plugin deep linking
- Document plugin deep link implementation process
- Provide JSON metadata configuration example
- Include Go code sample for deep link callback registration
- Explain deep link URL format and argument parsing
- Add best practices for plugin deep link handling
2025-02-27 11:11:06 +08:00
qianlifeng 1b2c96c479
fix(launcher): reset query icon when clearing launcher state
- Clear query icon when resetting launcher state
- Ensure clean UI state during launcher reset
- Prevent stale icon display after state clearance
2025-02-26 23:37:43 +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 8f26880526
fix(ui): prevent unintended scrolling in plugin settings tab view
- Disable scrolling for tab bar and tab bar view in plugin settings
- Add NeverScrollableScrollPhysics to prevent accidental scrolling
- Ensure consistent tab interaction and layout stability
2025-02-26 14:28:40 +08:00
qianlifeng 0c98f7a289
feat(plugin): add system action flag for default actions
- Introduce IsSystemAction flag to distinguish system-generated actions
- Modify action handling to prevent duplicate system actions
- Update action serialization across plugin, host, and UI layers
- Enhance action management with system action identification
2025-02-26 13:34:27 +08:00
qianlifeng bf7130ec97
refactor(plugin): improve default action and result scoring logic
- Separate default action generation into a dedicated method
- Move favorite result scoring logic from calculateResultScore to PolishResult
- Simplify result processing by extracting default action generation
- Enhance result scoring for favorite items with consistent approach
2025-02-26 12:02:09 +08:00
qianlifeng 70527b336d
feat(launcher): improve preview panel visibility and dynamic resizing
- Add dynamic preview panel height adjustment
- Log debug message when preview panel visibility changes
- Ensure consistent UI responsiveness when preview content updates
2025-02-25 22:14:11 +08:00
qianlifeng 3e26dc0f55
feat(ai): enhance AI command response processing and markdown rendering
- Refactor thinking tag processing with new processThinking method
- Improve markdown conversion for thinking and content sections
- Update preview rendering to support markdown blockquotes
- Modify clipboard and action handling to extract clean content
- Add markdown blockquote styling in Flutter preview component
2025-02-25 21:38:44 +08:00
qianlifeng 3af31b14bc
feat(launcher): improve action filtering and index management
- Add equals and listEquals methods to WoxResultAction for precise comparison
- Reset active action index when filtering actions
- Optimize action filtering to only update when actions have changed
- Ensure consistent action index behavior during filtering
2025-02-25 17:55:06 +08:00
qianlifeng 8def1436f8
feat(ai): improve AI command response rendering with markdown quote processing
- Add processThinkingTags function to convert <think> tags to markdown quotes
- Update AI command and selection query methods to use new processing
- Enhance preview rendering for AI-generated content
- Improve i18n translation method for answering status
2025-02-25 15:24:15 +08:00
qianlifeng 5e2c10709d
chore(dependencies): update Flutter dependencies and extend plugin initialization timeout
- Upgrade Fluent UI package from 4.9.1 to 4.11.2
- Increase plugin initialization timeout from 5 to 10 seconds in test setup
- Remove unnecessary onTap handlers in settings view
- Add WoxSettingThemeView to themes settings body
2025-02-24 20:57:57 +08:00
qianlifeng 12812855ed
feat(i18n): add theme and plugin system tags with localization #4137
- Add new localization keys for system tags in theme and plugin settings
- Update theme and plugin views to display system tag for system-level items
- Enhance UI to show system tag with appropriate styling
- Improve theme and plugin list views with system tag support
2025-02-24 16:08:47 +08:00
qianlifeng 084fa8bc86
refactor(logging): improve crash log file handling and error reporting
- Open crash log file in append mode with proper permissions
- Add error handling for file creation and permission setting
- Log informative messages for crash output configuration
- Prevent panic on file-related errors
2025-02-21 21:10:30 +08:00
qianlifeng 2d54484754
test(makefile): skip flaky crypto prices test
- Modify only_test target to skip TestFetchCryptoPrices
- Maintain existing test workflow while avoiding intermittent test failures
2025-02-20 21:57:50 +08:00
qianlifeng 4d71e489e3
refactor(makefile): simplify test target and dependency management
- Modify test target to depend on dev target, ensuring plugin hosts are built
- Remove redundant build commands from test target
- Streamline Makefile test preparation process
2025-02-20 21:43:18 +08:00
qianlifeng 2a6c1596cd
refactor(test): improve test setup and error reporting
- Move test initialization code to separate initServices() function
- Set default test language to English
- Add detailed action reporting for test failures
- Update Makefile to build plugin hosts before running tests
- Remove unused i18n instruction file
2025-02-20 21:39:36 +08:00
qianlifeng f946e21e03
feat(i18n): add theme and plugin settings translations
- Add new translations for theme and plugin settings UI

- Update UI components to use i18n keys instead of hardcoded text

- Remove .cursorrules file as it's no longer needed
2025-02-20 15:25:37 +08:00
qianlifeng 1577a33111
Add localization support for query hotkeys settings 2025-02-19 23:13:27 +08:00
qianlifeng 3c18085e56
Improve AI provider configuration validation
This commit enhances validation for AI provider settings by:
- Modifying the plugin table update validation to remove unnecessary parameter
- Adding required field validation for Ollama host
- Ensuring API key is required for non-Ollama providers
2025-02-19 22:40:47 +08:00
qianlifeng 1e57f8feb2
Enhance localization and UI for settings with multilingual support
This commit adds comprehensive localization for settings views, including:
- Adding new translation keys for network, plugins, themes, and general settings
- Updating setting view titles and labels to use localized text
- Improving plugin table update view with validation and tooltip support
- Adjusting setting controller to support new localization structure
2025-02-19 15:13:24 +08:00
qianlifeng 6af955644a
Complete HTTP proxy implementation across core and UI components
This commit finalizes HTTP proxy support by:
- Adding proxy configuration to AI providers
- Implementing HTTP proxy management in core utility functions
- Updating setting management to handle proxy configuration
- Enhancing Flutter UI with proxy settings view
- Adding localization support for proxy-related text
2025-02-19 14:13:59 +08:00
qianlifeng 26fa8b1e7d
Add HTTP proxy support [WIP] 2025-02-19 11:02:33 +08:00
qianlifeng 5152dc6828
Improve plugin installation UX with loading state and error handling #4117 2025-02-19 08:17:38 +08:00
qianlifeng 14e9fc7b07
feat: Add ECB exchange rate source and improve currency rate fetching resilience 2025-02-16 19:24:36 +08:00
enzosoares 04a61de3e1 feat: add support for brazillian portuguese with localization files 2025-02-16 17:28:31 +08:00
qianlifeng 7ff5127ee8
Refactor logging setup and improve error handling in crash output; adjust widget structure in Flutter UI for better readability 2025-01-22 20:52:11 +08:00
Ivan Redun 34fd0cfeba feat: Add Russian language support with localization files 2025-01-04 08:47:12 +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 b51c9bbc8a
Update ai models 2024-12-30 11:17:34 +08:00