-
-
Notifications
You must be signed in to change notification settings - Fork 395
Asynchronous Loading & Initialization Plugin Model to Improve Window Startup Speed #3854
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Jack251970
wants to merge
47
commits into
dev
Choose a base branch
from
plugin_initialization
base: dev
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+435
−248
Open
Changes from 19 commits
Commits
Show all changes
47 commits
Select commit
Hold shift + click to select a range
9ce9117
Improve code quality
Jack251970 aee46e8
Initialize quick jump earlier
Jack251970 f5f2568
Add IResultUpdateRegister interface
Jack251970 d4e672d
Add support to update translation for one plugin
Jack251970 c2157e2
Add support for concurrent operation of explorers & dialogs adding
Jack251970 6beeecb
Use async load & initialization model
Jack251970 59a7a2c
Improve code quality
Jack251970 52bb909
Add plugin to all plugin list later
Jack251970 0a01d85
Improve code quality
Jack251970 c3a5984
Fix code comments
Jack251970 35c8e39
Improve code comments
Jack251970 1d3ab39
Use () => instead of delegate
Jack251970 445a142
Add code comments
Jack251970 de56814
Improve code quality
Jack251970 55164ef
Improve code quality
Jack251970 cc68183
Change variable name
Jack251970 50924e4
Improve code quality
Jack251970 8b60d26
Fix build issue
Jack251970 566572b
Use api function & rename function
Jack251970 11e05f7
Add all loaded plugins
Jack251970 fe3339f
Get initialized plugins for plugin page
Jack251970 6e0f2fc
Return loaded plugins
Jack251970 6d99416
Search in loaded plugins
Jack251970 9149e3f
Mark initializing plugins as modified
Jack251970 8d03fce
Remove error codes
Jack251970 3bd76b2
Rename variable
Jack251970 7f797b1
Add code comments
Jack251970 fc01ddb
Save init failed plugins
Jack251970 b348deb
Code quality
Jack251970 d4a1953
Add init failed plugins
Jack251970 324b3eb
Do not call interface methods for init failed plugins
Jack251970 67c940f
Do not show setting panel for init failed plugins
Jack251970 950a4a0
Code quality
Jack251970 6409c19
Add code comments
Jack251970 a9a705f
Fix logic
Jack251970 59e4fb8
Fix logic & Add code comments
Jack251970 d9cc67c
Merge branch 'plugin_initialization' of https://github.com/Flow-Launc…
Jack251970 067a517
Fix null exception
Jack251970 63f8661
Use internal PluginModified method instead of API.PluginModified
Jack251970 f808469
Fix logic & Improve code quality
Jack251970 bef1fee
Fix plugin page logic
Jack251970 566bd04
Support two types in one class
Jack251970 269d21a
Change plugin modified logic
Jack251970 0f8553b
Refresh home page after plugins are initialized
Jack251970 e024078
Improve code quality
Jack251970 3221f93
Add info log message for plugin constructors
Jack251970 97fb8d6
Merge branch 'dev' into plugin_initialization
Jack251970 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
using Flow.Launcher.Plugin; | ||
|
||
namespace Flow.Launcher.Core.Plugin; | ||
|
||
public interface IResultUpdateRegister | ||
{ | ||
/// <summary> | ||
/// Register a plugin to receive results updated event. | ||
/// </summary> | ||
/// <param name="pair"></param> | ||
void RegisterResultsUpdatedEvent(PluginPair pair); | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.