copilot-swe-agent[bot]
531b45210a
Fix exception when setting Folder Search action keyword in Explorer plugin
...
- Fix (false, false) case in EditActionKeyword to break gracefully instead
of throwing ArgumentException. This handles the valid scenario where the
user changes a disabled keyword's text but keeps it disabled.
- Fix GetActiveActionKeywords to return an empty dictionary instead of null
when actionKeywordStr is null/empty, preventing NullReferenceException.
- Fix ActionKeyword setter to only auto-enable when the value actually
changes, preventing unintended side-effects during construction.
- Initialize ActionKeywordSetting backing fields directly in constructor to
avoid the auto-enable triggering during initialization.
- Change TextBox binding to UpdateSourceTrigger=PropertyChanged so the
checkbox auto-enables as the user types (before they click the checkbox),
fixing the checkbox toggle issue caused by LostFocus timing.
Co-authored-by: Jack251970 <53996452+Jack251970@users.noreply.github.com>
2026-03-10 05:40:25 +00:00
Jack251970
78e5bf2a60
Use Flow.Launcher.Localization to improve code quality
2025-09-21 11:50:51 +08:00
Jack251970
b18d0a8bdb
Improve code quality
2025-06-17 16:55:23 +08:00
DB P
d97b9ed113
Merge branch 'dev' into 250411-BlockMultipleKewordsPlugin
...
# Conflicts:
# Plugins/Flow.Launcher.Plugin.Explorer/Views/ActionKeywordSetting.xaml.cs
2025-04-17 12:37:30 +09:00
Jack251970
1e603ea20f
Code quality
2025-04-15 13:21:00 +08:00
DB p
b842f08b51
Add logic to block space key input when registering an action keyword for plugins that do not support multiple action keywords.
2025-04-11 13:23:17 +09:00
Jack251970
ad63b0e7f4
Improve code quality for field names
2025-02-23 19:48:38 +08:00
Jack251970
534a1117aa
Use public api to call ShowMsgBox functions & remove useless Core project import
2024-11-27 12:21:34 +08:00
Jack251970
b30cc4fc38
Replace System.Windows.MessageBox with MessageBoxEx
2024-11-25 10:38:43 +08:00
Vic
00e6e5b30d
Remove unused using
2023-04-25 21:02:34 +08:00
Hongtao Zhang
281f4db5f8
fix enable not working at the first time (also refactor a little bit code)
2022-12-04 01:47:48 -06:00
Hongtao Zhang
d5e1b7cb22
Rewrite Explorer View Logic based on MVVM Pattern to avoid complicated View Logic
2022-06-30 23:56:15 -05:00
DB p
b83bbb5923
Adjust popup in explorer plugin with string
...
Fix Color
2021-12-06 11:59:21 +09:00
Jeremy
dd6b8f8c47
Merge remote-tracking branch 'origin/dev' into add_quickaccess_actionkeyword
2021-09-15 21:15:33 +10:00
Jeremy
ee38561ece
allow File Content search to be toggled on off
2021-09-03 07:47:52 +10:00
Jeremy
0534dece0b
remove comment
2021-09-02 07:47:05 +10:00
Jeremy
333d3da07f
remove underscore variable name
2021-09-01 21:52:32 +10:00
Jeremy
91564e0933
remove null state from action keyword Enabled status
2021-09-01 21:17:20 +10:00
Jeremy
53e305d765
update per review
2021-08-06 18:52:09 +10:00
Jeremy
6978b65d8e
add Quick Access action keyword
2021-07-30 20:44:29 +10:00
Jeremy
d807b21eac
remove obsolete settings class
2021-06-13 17:53:55 +10:00
Jeremy
69f58518b2
update revert to global wildcard logic
2021-06-13 17:41:44 +10:00
Jeremy
596b5b803e
update logic when content search is global
2021-06-13 17:27:44 +10:00
Kevin Zhang
7854cf348b
Finishing editing logic, and add a few interactive for ActionKeywordSetting.xaml
...
1. It will automatically focus on the textbox
2. Enter will trigger the done button
2021-06-06 11:01:50 +08:00
Jeremy
ff404c5c5b
update ActionKeywordSetting view logic
2021-06-05 18:44:16 +10:00
Jeremy
f13e24bd07
removed obsolete api object, updated search action keyword naming,
2021-06-05 14:07:13 +10:00
弘韬 张
5966ddc4d9
Refactor Code
...
1. Moving Property match to Settings.cs
2. Use Binding to avoid explicit Function Assign
3. Simplify ActionKeywordMatch
2021-06-01 18:10:24 -07:00
Jeremy
995cf568ff
option to allow action keywords to be disabled
2021-05-30 19:28:18 +10:00
Jeremy
3bf3afc795
update action keyword match logic
2021-05-30 15:11:59 +10:00
Jeremy
e5fbfa24b4
replace action keyword when updating
2021-05-29 22:00:10 +10:00
Jeremy
7e799b5625
keep search activation, enable and disable path and index search
2021-05-29 20:08:34 +10:00
弘韬 张
acba2dd1a3
Add specific keyword for path explore in explorer plugin
2021-05-22 17:23:25 +08:00
Jeremy Wu
24fe5a11f9
prevent user from using global action keyword for content search
...
would bring up too many results
2020-08-26 08:06:10 +10:00
Jeremy Wu
e37d976d04
add option for user to customise Explorer's Action Keywords
...
ui + backend logic
2020-07-19 00:12:11 +10:00