Jack251970
f632a4b773
Add caching to QueryAsync and integrate cache reset logic
...
Introduced a MemoryCache to improve QueryAsync performance by
caching query results, reducing redundant computations. Added
a ResetCache method to reinitialize the cache when settings
are updated. Integrated cache reset calls into settings
property setters to ensure consistency.
Refactored query logic to leverage MemoryCache.GetOrCreateAsync
for streamlined caching. Removed redundant code and debug
logging for improved readability and maintainability. Ensured
thread safety with proper locking mechanisms. Simplified and
consolidated caching logic for better maintainability.
2025-10-26 20:59:29 +08:00
Jack251970
7f5efc5ca1
Refactor caching and improve QueryAsync method
...
Removed the `ResetCache` method and its associated calls to streamline caching management and improve performance. Refactored the `QueryAsync` method for better thread safety, synchronization, and exception handling. Simplified UWP and Win32 program filtering logic and removed redundant code. Eliminated manual cache disposal and reset logic, favoring a more efficient and automated caching mechanism. These changes enhance maintainability, responsiveness, and overall plugin performance.
2025-10-26 20:40:37 +08:00
Jack251970
9321a7df14
Fix program lock issue
2025-09-15 15:40:49 +08:00
Jack Ye
54c949b3ca
Merge pull request #3539 from Flow-Launcher/program_plugin_delete_logic
...
Improve Program plugin delete button logic
2025-05-14 14:40:08 +08:00
Jack251970
8325963047
Fix size changed width issue
2025-05-14 14:23:35 +08:00
Jack251970
da77085508
Fix logic & Improve code quality
2025-05-14 11:37:55 +08:00
Jack251970
204d1d285a
Improve string keys
2025-05-13 13:04:26 +08:00
Jack251970
a099935169
Fix message
2025-05-13 13:03:04 +08:00
Jack251970
284729afb5
Improve message noticification
2025-05-13 13:01:24 +08:00
Jack251970
e0ac6d5fee
Improve Program plugin delete button logic
2025-05-13 12:49:35 +08:00
Jack251970
1d16b30b64
Suppress async void
2025-04-15 13:22:22 +08:00
Jack251970
7da2884e84
Add locks for win32s & uwps
2025-04-08 16:29:03 +08:00
Jack251970
0496d6c04a
Use api functions for Program plugin
2025-04-01 14:21:29 +08:00
Jack251970
13fcdc60fa
Fix typo 'seperator'
2025-03-20 18:11:53 +08:00
Jack251970
62677bc40e
Fix program plugin settings panel top bottom margin issue
2025-03-01 22:08:08 +08:00
Jack251970
330a11a843
Adjust margin & Make title vertically center in program plugin
2025-02-28 21:57:27 +08:00
Jack251970
ac956bccef
Redesgin settings panel for program plugin
2025-02-27 20:51:16 +08:00
Jack251970
097633e9e0
Fix typos
2025-02-21 09:29:43 +08:00
Jack251970
7ccfbcae7f
Add hide dulplicated windows apps into settings panel
2025-02-20 23:15:12 +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
897fd7aaba
Replace Flow.Launcher.Core.MessageBoxType & MessageBoxImage with System.Windows.MessageBoxButton & MessageBoxImage
...
Remove useless warning file
2024-11-26 21:31:13 +08:00
Jack251970
b30cc4fc38
Replace System.Windows.MessageBox with MessageBoxEx
2024-11-25 10:38:43 +08:00
Yusyuriv
87542e4385
Add option to hide uninstallers from results
2024-05-26 16:01:29 +06:00
Hongtao Zhang
83553244d7
use memorypack instead of binaryformatter
2023-11-11 18:10:06 -06:00
VictoriousRaptor
dcc7dbb918
Merge branch 'dev' into RemoveUnusedNuget
2023-06-11 18:36:04 +08:00
Vic
00e6e5b30d
Remove unused using
2023-04-25 21:02:34 +08:00
Vic
b123c09c6c
Remove unused settings
2023-04-24 21:10:07 +08:00
VictoriousRaptor
2d32b33eb0
Merge branch 'dev' into DisablePATHByDefault
2022-12-21 12:57:19 +08:00
Vic
d3bae93a47
Revert "Disable PATH by default"
2022-12-18 13:35:38 +08:00
Vic
13eba18ac5
Disable PATH programs by default
2022-12-18 13:28:30 +08:00
Vic
bf91bd2492
Fix double click on header
2022-12-17 22:27:36 +08:00
Vic
1d77d45fe2
Add an option to enable/dsiable UWP indexing
2022-12-17 22:20:49 +08:00
Vic
5373cd3736
Disable PATH programs by default
2022-12-17 21:29:25 +08:00
Vic
fe66cad624
Merge remote-tracking branch 'upstream/dev' into FixProgramSource
2022-12-12 18:32:51 +08:00
Jeremy Wu
4153aa9a69
Merge pull request #1612 from onesounds/FixBoolToTranslation
...
Translatable Bool in List view
2022-12-12 20:07:04 +11:00
DB p
00e88bc871
Adjust Buttons Margin
2022-12-09 17:58:58 +09:00
DB p
056dcb3888
Change Header 'Enabled' to 'Status'
2022-12-09 10:48:56 +09:00
DB p
2dc508aa75
Bool To Translation by style in websearch plugin
2022-12-09 10:33:23 +09:00
DB p
8498883cd9
- Add BoolToTranslation Logic by Style in Program
...
- Add Responsive Width for Removing horizon scrollbar
2022-12-09 10:15:14 +09:00
DB p
711b5b6110
Fix Buttons Size
2022-12-09 09:09:39 +09:00
Vic
7362bd26cf
Remove LocationConverter
2022-12-07 01:09:26 +08:00
Vic
1990226c71
Fix item can't be unselected after editing Location
2022-12-07 00:35:41 +08:00
Vic
bfb29e384d
Fix Hashcode
2022-12-06 22:47:27 +08:00
Vic
66dee47edc
Refactor AddProgramSource dialog
2022-12-06 20:34:40 +08:00
DB p
16abd9d4f0
Fix Button Moving in programSetting panel
2022-11-18 16:22:19 +09:00
DB p
c57a2be5f0
Adjust Button Template
2022-11-18 16:07:43 +09:00
DB p
65920a50a5
Fix ProgramSetting's Button Area
2022-11-18 15:28:16 +09:00
Vic
46b9565b85
formatting
2022-11-15 00:48:24 +08:00
Vic
7f586b3106
make name not null
2022-11-15 00:43:37 +08:00
Vic
5c62c5ac9b
Fix disabled source
2022-11-15 00:07:12 +08:00