Commit graph

961 commits

Author SHA1 Message Date
01Dri
9ca7c8431b Revert modifications and returning actions 2025-10-15 00:34:16 -03:00
01Dri
8e96d1a461 HistoryStyle enum values 2025-10-14 22:51:28 -03:00
Jack251970
f6d5a27e0b Refactor and enhance history management system
Refactored the `History` class to separate query and last opened history into distinct models, introducing `LastOpenedHistoryItem` and deprecating `HistoryItem`. Added a `HistoryStyle` enum and property to allow users to toggle between "Query History" and "Last Opened History." Simplified history display logic and updated the UI with a dropdown for history style selection.

Improved history item display with dynamic action population and relative timestamps. Enhanced performance by optimizing history storage with a maximum limit and streamlined logic for adding/retrieving items. Ensured backward compatibility by migrating legacy history data to the new format.

Updated localization strings, removed deprecated properties, and cleaned up redundant code. Fixed bugs related to inconsistent history actions and edge cases with legacy data.
2025-10-14 20:28:39 +08:00
01Dri
bf2acfec38 feat: code quality 2025-10-11 02:54:29 -03:00
01Dri
6aa35d592e merge dev 2025-10-08 21:38:10 -03:00
01Dri
c051c5cd50 feat: new history logic in MainViewModel 2025-10-08 21:15:10 -03:00
01Dri
bc1f9d3734 refactor: renaming executed history to last opened history 2025-10-02 00:09:28 -03:00
01Dri
c0369e6e76 feat: radio button with history query option or history executed option 2025-10-02 00:03:48 -03:00
01Dri
3cc4f13f4d feat: New option to show executed results in settings 2025-10-01 23:05:41 -03:00
Jack251970
c27817eaf0 Fix possible null exception 2025-09-30 21:20:00 +08:00
Jack251970
f239866c68 Use sleep mode listener to fix modern standby sleep mode issue 2025-09-30 21:11:03 +08:00
Jack Ye
2d00ab1d3e
Merge pull request #4011 from Flow-Launcher/flow_launcher_localization1
Use Flow.Launcher.Localization to improve code quality
2025-09-28 00:04:14 +08:00
Jack251970
ba7de5d33d Add documents 2025-09-23 21:39:42 +08:00
Jack251970
2770dfde56 Merge branch 'dev' of https://github.com/sstream17/Flow.Launcher into dev 2025-09-23 20:50:45 +08:00
Jack251970
9b2d36b78a Revert "Catch exception"
This reverts commit 49d5cd36df.
2025-09-23 20:48:41 +08:00
Spencer Stream
3bd6906c80 Validate iconPath exists 2025-09-23 07:19:39 -05:00
Jack251970
ac62ebadf0 Add space for code quality 2025-09-23 18:07:15 +08:00
Jack251970
54622d6759 Fix Flow.Launcher.Localization contentHash issue 2025-09-23 17:53:04 +08:00
Jack251970
0e366a6269 Use PublicApi.Instance instead of private one 2025-09-23 17:40:54 +08:00
Jack251970
7350c1d4d5 Use Flow.Launcher.Localization to improve code quality 2025-09-23 17:14:30 +08:00
Jack251970
49d5cd36df Catch exception 2025-09-23 12:24:44 +08:00
Jack Ye
130033cf4b
Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-09-23 12:22:46 +08:00
Spencer Stream
c293a273ca Fix nitpick on extension string comparison 2025-09-22 21:53:54 -05:00
Spencer Stream
90c73e5e3d Support .url file icons 2025-09-22 19:42:49 -05:00
Spencer Stream
fbc88bb4cd Add ini-parser package to Infrastructure project 2025-09-22 19:42:49 -05:00
Jack251970
6fca1c919e Fix issue in PortableDataLocationInUse 2025-09-21 20:07:18 +08:00
Jack Ye
536f1a392e
Merge pull request #3986 from Flow-Launcher/wallpaper_lock
Fix Wallpaper File Lock
2025-09-19 13:27:18 +08:00
Jack251970
fc2e3fec63 Improve ImageLoader performance 2025-09-18 18:29:45 +08:00
Jack251970
1017501153 Fix namespace issue 2025-09-18 12:36:40 +08:00
Jack251970
dd07baff59 Add SelectFile helper method & Improve code quality 2025-09-18 11:58:38 +08:00
Jack251970
1fea8edb74 Add translation for default items & new profile item for explorer & browser window 2025-09-18 11:46:09 +08:00
Jack Ye
2dd416028d
Merge pull request #3950 from Flow-Launcher/FileExplorerHelper_enhancement
Use DialogJump to get explorer path
2025-09-18 09:17:47 +08:00
Jack251970
c2fcf648e0 Improve log file format 2025-09-14 12:25:54 +08:00
Jack251970
2ae57ae34c Format & Improve string resources & Rename enums 2025-09-14 12:20:00 +08:00
dcog989
d4a757be49 Enhanced logging
User can now choose None, Error, Info, or Debug.
2025-09-13 19:57:54 +01:00
Jack251970
29b675b26a Upgrade nuget packages 2025-09-13 14:14:59 +08:00
Jack251970
f40255bc8a Use DialogJump to get explorer path 2025-09-06 15:52:57 +08:00
Jack Ye
8bc60e55e0
Merge branch 'dev' into nuget_package_upgrade 2025-09-06 13:31:24 +08:00
Jack251970
b501e52f5d Upgrade nuget packages 2025-09-05 19:49:21 +08:00
Jeremy Wu
e1cc50c579 Merge remote-tracking branch 'origin/master' into resolve_conflicts 2025-08-31 17:53:21 +10:00
Jeremy Wu
72b4ff31ed
Merge pull request #3898 from Flow-Launcher/storage_api_method
Load images into ImageCache & Use non-async method in ImageCache
2025-08-31 15:31:01 +10:00
Jack251970
6e873abc7b Upgrade nuget package & Fix lock file issue 2025-08-30 16:34:34 +08:00
Jack Ye
528687cf63
Merge branch 'dev' into nuget_package_upgrade 2025-08-30 16:27:15 +08:00
Jack251970
054135df55 Downgrade System.Drawing.Common version 2025-08-29 13:03:34 +08:00
Jack251970
afafd6dc0b Add Microsoft.Win32.SystemEvents 2025-08-29 11:44:20 +08:00
Jack251970
6b60373886 Upgrade nuget packages 2025-08-25 18:50:02 +08:00
Jack251970
922c3d5611 Upgrade nuget packages & Update lock files 2025-08-17 16:54:41 +08:00
Jack251970
3727bff865 Fix typos 2025-08-13 14:19:52 +08:00
Jack251970
e06e6e2b5a Load images into ImageCache 2025-08-13 14:01:04 +08:00
Jack251970
3afc52187f Add non-async version load in BinaryStorage & Use non-async version for ImageLoader 2025-08-13 13:58:02 +08:00