Jack251970
522ff153be
Refactor hotkey initialization logic
...
Simplify hotkey initialization by using the null-coalescing
assignment operator (`??=`) to ensure `metadata.PluginHotkeys`
is initialized to an empty collection if null. Add a call to
`Clear()` to reset the collection before reuse. Replace
`List<PluginHotkey>()` with shorthand `[]` syntax for creating
empty collections, improving code readability and consistency.
2025-10-16 22:36:51 +08:00
Jack Ye
8e71130831
Merge branch 'dev' into rename-file
2025-10-16 20:07:02 +08:00
Jack Ye
3d9ef2c63f
Merge pull request #4042 from 01Dri/feature/history_mode
...
Add "Last opened" history mode & Fix non-result history item save issue
2025-10-15 12:47:45 +08:00
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
Jack Ye
922feb488e
Merge branch 'dev' into rename-file
2025-10-14 21:53:48 +08: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
Jack Ye
83c2edf7c8
Merge branch 'dev' into rename-file
2025-09-28 11:40:42 +08:00
Jack Ye
b34851bd12
Merge branch 'dev' into squirrel_upgrade
2025-09-28 11:37:18 +08:00
Jack251970
ac62ebadf0
Add space for code quality
2025-09-23 18:07:15 +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
Jack Ye
e98f7907b8
Merge branch 'dev' into rename-file
2025-09-21 21:37:22 +08:00
Jack251970
6fca1c919e
Fix issue in PortableDataLocationInUse
2025-09-21 20:07:18 +08:00
Jack251970
df1a272090
Fix argument null exception
2025-09-21 16:45:25 +08:00
Jack251970
99b7bdab27
Fix build issue
2025-09-21 16:21:38 +08:00
Jack251970
fbb9e09237
Improve code quality
2025-09-21 16:19:13 +08:00
Jack251970
21a6fdd100
Fix issue in PortableDataLocationInUse
2025-09-21 16:17:41 +08:00
Jack251970
81dcadb959
Use getter to fix data location issue
2025-09-21 14:57:50 +08:00
Jack251970
89d726de2a
Use getter to fix data location issue
2025-09-21 14:03:43 +08:00
Jack Ye
542d1eb3be
Merge branch 'dev' into rename-file
2025-09-21 13:15:44 +08:00
Jack251970
1017501153
Fix namespace issue
2025-09-18 12:36:40 +08:00
Jack251970
1fea8edb74
Add translation for default items & new profile item for explorer & browser window
2025-09-18 11:46:09 +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
Jack Ye
9733da7205
Merge branch 'dev' into rename-file
2025-09-05 19:52:26 +08:00
Jeremy Wu
e1cc50c579
Merge remote-tracking branch 'origin/master' into resolve_conflicts
2025-08-31 17:53:21 +10:00
Jack251970
b88e2e9e8e
Do not register dialog jump hotkey when dialog jump is disabled
2025-07-20 20:58:49 +08:00
Jack Ye
45ed9faf29
Merge branch 'dev' into rename-file
2025-07-20 20:24:33 +08:00
Kevin Zhang
4f269d3fa9
Dialog Jump - Quickly navigate the Open/Save As dialog window ( #1018 )
2025-07-20 21:11:09 +10:00
Jack Ye
98179eb2e9
Merge branch 'dev' into rename-file
2025-07-15 20:53:08 +08:00
Jack Ye
77a7c6ec75
Merge branch 'dev' into plugin_update
2025-07-15 19:58:49 +08:00
VictoriousRaptor
970aa5eefe
Fix typo
2025-07-14 21:24:11 +08:00
Jack251970
6317d0eec6
Reload on all settings change
2025-07-14 19:29:12 +08:00
Jack251970
c0c7546cfc
Add auto plugin update setting & UI
2025-07-14 15:48:15 +08:00
Jack Ye
2acf9b4340
Merge branch 'dev' into rename-file
2025-07-14 09:10:04 +08:00
Jeremy Wu
2e0dd1cfa1
Release 1.20.2 | Plugin 4.7.0 ( #3820 )
2025-07-13 17:18:34 +03:00
Jack251970
44d9eb8556
Change default to false BEFORE RELEASE
2025-07-13 20:58:26 +08:00
VictoriousRaptor
50de9ba6d6
Merge branch 'dev' into double-pin
2025-07-13 19:46:55 +08:00
VictoriousRaptor
130202108c
Add UI for double pinyin options
2025-07-13 19:09:40 +08:00
Jack251970
ed4fdb7561
Update result modifiers when OpenResultModifiers is changed
2025-07-13 10:55:13 +08:00
Jack251970
c5373f6abf
Use one way binding for showing result hotkey
2025-07-13 10:51:03 +08:00
Jack251970
0d4598b301
Add property changed for OpenResultModifiers
2025-07-12 15:12:56 +08:00
Jack251970
c2c8a82472
Restore plugin hotkey setting if it is not editable anymore
2025-07-10 22:15:51 +08:00