Commit graph

52 commits

Author SHA1 Message Date
Jack251970
036713c669 Refactor UI thread invocation with DispatcherHelper
Introduce DispatcherHelper for safe UI thread access and replace direct Dispatcher.Invoke calls across the codebase. This centralizes thread invocation logic, reduces boilerplate, and improves maintainability. Some methods are refactored for clarity and UI thread safety.
2026-03-10 11:48:55 +08:00
Jack251970
7350c1d4d5 Use Flow.Launcher.Localization to improve code quality 2025-09-23 17:14:30 +08:00
Jack251970
55f9857dec Remove SystemParameters.VerticalScrollBarWidth 2025-09-15 18:59:01 +08:00
Jack251970
e571204a84 No need to initialize max width 2025-09-15 18:48:09 +08:00
Jack251970
988db485a2 Merge branch 'json_plugin_setting' of https://github.com/Flow-Launcher/Flow.Launcher into json_plugin_setting 2025-09-15 18:46:53 +08:00
Jack251970
f3cb85ea59 Remove unnecessary check 2025-09-15 18:46:47 +08:00
Jack Ye
5695200940
Fix typos
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-15 18:46:05 +08:00
Jack251970
44ca9c3480 Use wrap text warpping & set max width of all children 2025-09-15 18:40:16 +08:00
Jack251970
b5c860db1d Add max width constrain 2025-09-15 18:27:19 +08:00
Jack251970
062cd2ad1d Use ISavable instead of object 2025-06-06 18:38:05 +08:00
Jack251970
cbcebad4d0 Improve code quality 2025-04-24 21:49:50 +08:00
Jack251970
82d97fd05a Improve code quality 2025-04-24 20:24:02 +08:00
Jack251970
95a3fd36de Do not crash when caught exception on saving settings 2025-04-04 10:34:59 +08:00
Jack251970
782c11c57f Update Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
Co-authored-by: Yan Li <Yusyuriv@users.noreply.github.com>
2025-03-20 18:17:47 +08:00
Jack251970
13fcdc60fa Fix typo 'seperator' 2025-03-20 18:11:53 +08:00
Jack251970
1d625c9134 Update Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
Co-authored-by: Yan Li <Yusyuriv@users.noreply.github.com>
2025-03-20 18:05:25 +08:00
Jack Ye
ffc5047810
Update Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
Co-authored-by: Yan Li <Yusyuriv@users.noreply.github.com>
2025-03-20 17:41:21 +08:00
Jack Ye
f14e79dbc1
Update Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
Co-authored-by: Yan Li <Yusyuriv@users.noreply.github.com>
2025-03-20 17:41:11 +08:00
Jack Ye
444d29506d
Update Flow.Launcher.Core/Plugin/JsonRPCPluginSettings.cs
Co-authored-by: Yan Li <Yusyuriv@users.noreply.github.com>
2025-03-20 17:38:31 +08:00
Jack251970
afb38db572 Fix possible null reference exception 2025-03-17 11:38:27 +08:00
Jack251970
43bf6342ca Improve area text box 2025-03-17 11:19:47 +08:00
Jack Ye
c848fab2d4
Merge branch 'dev' into settings_panel 2025-03-05 14:59:01 +08:00
Jack251970
20d0ed1074 Remove unnecessary todo 2025-03-03 20:01:40 +08:00
Jack251970
1681ac470c Fix path select button possibly invisible issue 2025-03-02 11:42:15 +08:00
Jack251970
ae8f647981 Use styles for JsonRPC settings panel 2025-03-02 09:38:55 +08:00
Jack251970
af3a1a310c Unify text area min width & height 2025-03-01 22:38:11 +08:00
Jack251970
bc7f4fe384 Improve text area 2025-03-01 22:29:14 +08:00
Jack251970
9f55e8387e Change file select string 2025-03-01 22:25:51 +08:00
Jack251970
cd320f3de6 Move to resource 2025-03-01 22:15:22 +08:00
Jack251970
317258af2f Redesgin settings panel for explorer plugin 2025-03-01 22:08:40 +08:00
Jack251970
4e4758677f Remove unneccessary CreateSettingPanel by introducing need check 2025-03-01 19:21:09 +08:00
Jack251970
e1c4461286 Fix JsonElement parse issue 2025-03-01 17:43:45 +08:00
Jack251970
e893645b24 Improve JsonRPC settings panel design 2025-03-01 12:13:58 +08:00
Jack251970
f99648f3b4 Redesgin json rpc settings 2025-03-01 11:41:27 +08:00
Jack251970
43043291c9 Improve code quality 2025-03-01 10:33:08 +08:00
Jack251970
196a840991 Use auto height row & auto width column 2025-03-01 10:21:17 +08:00
Jack251970
f283105182 Enable nullable & Improve code quality 2025-03-01 10:08:04 +08:00
Jack251970
51a9999a64 Improve code quality & Add seperator type 2025-02-28 22:56:51 +08:00
Jack251970
64f02c3fd7 Redesign settings panel for sys plugin & Improve design styles 2025-02-27 18:22:56 +08:00
Jack251970
c472239ea9 Fix unneccessary black lines when settings control is null 2025-02-21 11:20:00 +08:00
Yusyuriv
1bdfc3009d
Add using when creating a file/folder dialog 2024-11-03 13:28:24 +06:00
Yusyuriv
6604710a3f
Fix inputWithFileBtn not working in SettingsTemplate.yml 2024-11-03 12:42:14 +06:00
Garulf
cf48e532fa Remove short circuit on empty Settings 2024-02-11 02:33:48 -05:00
Hongtao Zhang
bdc9d02f93 update StreamJsonRPC, use System.Text.Json and apply serialization Option to the formatter; fix empty setting still trigger setting initialization 2023-12-10 02:26:43 -06:00
Garulf
9275421c1c
Merge branch 'dev' into Allow-SettingsChange-without-template-file 2023-11-19 03:09:09 -05:00
Garulf
a86e7bcaa9 Remove save function from loop 2023-11-18 23:15:39 -05:00
Garulf
5c90946a6e Save to file on update 2023-11-18 18:45:24 -05:00
Garulf
ba9aba2bff Allow new setting keys to be instantiated 2023-11-18 18:45:16 -05:00
Garulf
388688e89c Short circuit template UI process if doesn't exist 2023-11-18 18:44:27 -05:00
Garulf
1cafae8278 Allow nullable for Configuration 2023-11-18 18:43:17 -05:00