Commit graph

122 commits

Author SHA1 Message Date
Jack251970
2856803371 Ensure hotkey actions return to query results page first
Added a call to App.API.BackToQueryResults() after showing the main window when a hotkey is triggered. This prevents issues that can occur if the current page is a context menu before changing the query.
2025-12-25 21:14:11 +08:00
Jack Ye
48f67b1886
Improve and fix query result update logic issue & provide access to exact query typed by user (#3502) 2025-11-26 21:15:12 +11:00
Jack Ye
a773b51ada
Handle recoverable DWM composition exceptions gracefully (#4113) 2025-11-19 22:16:09 +02:00
Jack251970
c00d804073 Resolve conflicts 2025-10-15 13:07:43 +08:00
Jack251970
df4f08b071 Add exception logging to ResultHelper catch block
Updated the `catch` block in the `ResultHelper` class to explicitly catch `System.Exception` and log the error using `App.API.LogException`. The log includes the class name, a failure message for querying results, and the exception details. This improves error visibility and debugging.
2025-10-15 12:35:53 +08:00
01Dri
9ca7c8431b Revert modifications and returning actions 2025-10-15 00:34:16 -03:00
01Dri
a8d3cdf62c SubTitle equals 2025-10-14 23:26:32 -03:00
01Dri
764c674350 code quality 2025-10-14 23:15:14 -03:00
01Dri
ced824d791 is equals 2025-10-14 22:49:03 -03:00
Jack251970
787ccad384 Refactor history handling with async ResultHelper
Replaced `HistoryHelper` with a new `ResultHelper` class to handle plugin result population asynchronously, improving performance and maintainability. Removed `ExecuteAction` and `QueryAction` properties from `LastOpenedHistoryItem` and updated `QueryHistory` and `MainViewModel` to use `LastOpenedHistoryItems` directly.

Refactored history result generation to support `AsyncAction` in `Result` objects, replacing synchronous plugin queries. Simplified legacy history migration and enhanced support for `HistoryStyle`. Improved error handling, code readability, and UI-related logic for history navigation.
2025-10-14 21:29:22 +08:00
Jack Ye
5ae159de5b
Move to iNKORE.UI.WPF.Modern UI Framework (#3593) 2025-10-05 13:44:40 +03:00
Jack251970
d87650de08 Use Flow.Launcher.Localization to improve code quality 2025-09-23 16:21:09 +08:00
Jack251970
bbc12ec041 Revert "Disable cache feature"
This reverts commit 9a597f2b4d.
2025-09-18 21:45:24 +08:00
Jack251970
9a597f2b4d Disable cache feature 2025-09-18 18:32:13 +08:00
Jack Ye
e50a2772f8
Update code comments
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-17 19:33:46 +08:00
Jack251970
354b04bea4 Add code comments 2025-09-17 19:29:36 +08:00
Jack251970
60ec9b5c49 Use OnLoaded to ensure the wallpaper file is not locked 2025-09-17 19:24:32 +08:00
Jack251970
83f02f5c91 Use log error & Improve returned color 2025-09-17 19:16:58 +08:00
Jack251970
5c16b86edf Fix file lock during file stream 2025-09-17 19:16:09 +08:00
Jack251970
80c283a370 Improve code quality 2025-09-17 19:15:46 +08:00
Kevin Zhang
4f269d3fa9
Dialog Jump - Quickly navigate the Open/Save As dialog window (#1018) 2025-07-20 21:11:09 +10:00
Jack251970
9e24d2cb91 Output log info 2025-06-16 21:31:51 +08:00
Jack251970
30d10bb37f Add try catch for register key check 2025-06-16 21:11:50 +08:00
Jack251970
2582a9fa20 Log exception instead of reporting 2025-06-04 13:31:41 +08:00
Jack251970
6b54ca28b0 Silent handle TaskSchedulerUnobservedTaskException 2025-06-04 12:32:57 +08:00
Jack Ye
8bb96d7f58
Fix copy to clipboard STA thread issue & Support retry for copy & Async build-in shortcut model & Fix build shortcuts text replace issue & Fix startup window hide issue (#3314) 2025-05-02 14:26:14 +10:00
Jack251970
c35eca2788 Fix logon task issue message box & Improve startup path check 2025-04-25 10:22:36 +08:00
Jack251970
1b0c114255 Fix possible window show issue during startup 2025-04-17 23:14:41 +08:00
Jack251970
3eb9493bdd Remove unused usings 2025-04-17 23:01:45 +08:00
Jack251970
50130e4b00 Use class name instead 2025-04-13 17:59:39 +08:00
Jack251970
4a7915b9ff Use api fuctions forr main project 2025-04-13 17:50:44 +08:00
Jack Ye
5bafe23971
Improve code comments
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-12 14:36:43 +08:00
Jack251970
5045f19ebe Fix task scheduler unobserved task exception window issue 2025-04-12 14:29:40 +08:00
Jack251970
eaac72b696 Handle TaskSchedulerUnhandledException 2025-04-12 10:52:59 +08:00
Jack251970
f47699829c Remove MessageBoxEx.Show 2025-04-09 21:27:03 +08:00
Jack251970
9f11c8739a Remove _mainViewModel.ChangeQueryText 2025-04-09 21:26:27 +08:00
Jack251970
0a8963b74e Remove Notification.Show & _mainViewModel.Show(); 2025-04-09 21:16:33 +08:00
Jack251970
4400734963 Remove InternationalizationManager.Instance 2025-04-09 21:12:09 +08:00
Jack251970
c685075436 Code quality & Lock & Bitmap memory & Registry access improvement 2025-03-29 21:01:30 +08:00
DB p
9ac9ec8497 - Fix Preview in WelcomePage
- Adjust BG Color
- Fix aspect ratio wallpaper bitmap
2025-03-29 18:10:03 +09:00
Jack251970
48792b6a3b Restore style 2025-03-22 13:29:47 +08:00
Jack251970
1b066a5724 Improve code quality 2025-03-21 16:49:22 +08:00
Jack251970
2cd1683741 Improve code quality 2025-03-16 22:24:06 +08:00
Jack251970
d8c547f7ef Improve code quality 2025-02-28 18:10:58 +08:00
Jack251970
9dbc174994 Add cache size management & Add error handling 2025-02-28 15:34:59 +08:00
Jack251970
0fddb84735 Add wallpaper path in cache dictionary 2025-02-25 19:41:41 +08:00
Jack251970
ff45f5f7f5 Cache image brush & Invoke on UI thread 2025-02-25 18:14:42 +08:00
Jack251970
1a6733e86d Improve background wallpaper fetch 2025-02-25 18:06:23 +08:00
Jeremy Wu
c143aa4fdb
Merge pull request #3218 from Jack251970/logon_task
Support Logon Task for Faster Startup Experience
2025-02-25 20:10:22 +11:00
Jack251970
fe48427252 Log error for logon task 2025-02-25 15:08:27 +08:00