-
-
Notifications
You must be signed in to change notification settings - Fork 457
Plugin store #740
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
Merged
Merged
Plugin store #740
Changes from 54 commits
Commits
Show all changes
69 commits
Select commit
Hold shift + click to select a range
a9476b1
Adjust Plugin List template
onesounds 165cbb7
Adjust Plugin List template
onesounds 1a43f59
Adjust Plugin page (move expander button to right position)
onesounds 2ca3c6f
- win 10 Mouse over Blue Fix
onesounds 71c7ad5
Setting Window (WIP) before adjust expander control (for fix unknown …
onesounds 096d142
- Add expander style to resource dictionary
onesounds 4bed121
- Merge Local
onesounds 592ea8c
Use Binding From item
taooceros 254a906
- Change Prriority text to button
onesounds bec7d62
- Remove Expander Button's Circle and adjust arrow size
onesounds 762df7f
- Remove colon Action keyword String
onesounds 4a4f0bb
- Add plugin page title
onesounds 0d11b79
- Adjust Shell, Calc, WebSearch Setting Margin
onesounds 2dc8bb3
- Add Automatically Hide Plugin Info Border by SettingControl Height
onesounds 234816d
- Add Automatically Hide Plugin Info Border by SettingControl Height
onesounds 5ff1e73
- Adjust Content Control Margin
onesounds e6c4ca1
- Adjust Content Control Margin
onesounds e48761a
- Adjust Content Control Margin
onesounds 2d98dcb
- Add Author name in plugin list
onesounds 579f8c8
- Add Author name in plugin list
onesounds c5f1b28
Add plugin list last item bottom margin
onesounds d87d95e
Add plugin list last item bottom margin
onesounds 1ca3c6e
remove commment
onesounds 8174d54
Fix PriorityClick Logic
taooceros e5d3424
Merge branch 'PluginStore' of github.com:onesounds/Flow.Launcher into…
taooceros 1e479ed
- Add plugin store tab (WIP)
onesounds 876d477
- Add install button with hover
onesounds 4164b46
Add author and version in hover menu.
onesounds ccb565e
Responsive Width in Plugin Store List (WIP
onesounds 3d06404
Move PluginsManifest to Flow.Launcher.Core & Change PluginStore Bindi…
taooceros c4f9dcb
Merge Dev (Conflict PluginsManifest Move)
taooceros 0fc1d15
Add Responsive Width to TabHeader
onesounds dc6babe
Adjust the alignment of the right margin of the entire page.
onesounds 4aae101
Merge Binding
onesounds 757d995
- Fix Default Font size (Tab control was the cause.)
onesounds 240dd92
- Fix Default Font size (Tab control was the cause.)
onesounds 736de20
Merge branch 'PluginStore' of https://github.com/onesounds/Flow.Launc…
onesounds c1b4f32
add website link in plugin information area
onesounds d47cb78
add website link in plugin information area
onesounds ec2db30
Merge branch 'PluginStore' of https://github.com/onesounds/Flow.Launc…
onesounds 08f50ea
- Add Website hyperlink to author
onesounds 80a76b0
- Add Refresh Button (it need function binding)
onesounds 47749df
change string "plugin" to "plugins" in tab menu
onesounds e784ea6
- Change store Item to toggle mode. when it one more click, it desele…
onesounds 1ce3150
Merge remote-tracking branch 'upstream/dev' into PluginStore
taooceros 52b3579
Implement Install & Refresh Button
taooceros da12a06
Add style for toggle button
onesounds 2c96467
Fix QueryTime won't change by adding fody to Flow.Launcher.Plugin.csp…
taooceros a452feb
change plugin/plugin store scrollbar to autohidescrollbar.
onesounds be0df40
Merge branch 'PluginStore' of https://github.com/onesounds/Flow.Launc…
onesounds d106f06
- Add a string where there's no string in setting window.
onesounds 4b63d82
- Add a string where there's no string in setting window.
onesounds 21931a8
Add install string
onesounds ead14f2
- Redesign Priority Change Window
onesounds fd70326
Merge branch 'dev' of github.com:Flow-Launcher/Flow.Launcher into Plu…
taooceros ef01cfe
Merge branch 'PluginStore' of github.com:onesounds/Flow.Launcher into…
taooceros f6d4736
add scroll movement with drag
jjw24 3bacb3f
Revert "add scroll movement with drag"
taooceros 82464b7
Remove deferred scroll option to enable direct scrolling
taooceros 799ed81
Update en.xaml
Garulf e5a7c86
- remove AutoHideScrollbar tooltip
onesounds d1addc7
Remove Auto HIde Scrollbar section
onesounds 1a51160
remove auto hiding of setting window's scrollbar
jjw24 8a59e87
Fix unselected issue for bookmark plugin by using binding (Don't unde…
taooceros 5487834
Add back field to avoid duplicate plugin control loading
taooceros 5610ca3
Additional string clarifications
Garulf a7ac7b1
remove GroupName attribute from Url plugin's open url behaviour
jjw24 b939f22
update result modifier key selection wording and tooltip in settings
jjw24 63ffb3a
plugin version bumps
jjw24 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,57 @@ | ||
| using Flow.Launcher.Infrastructure.Http; | ||
| using Flow.Launcher.Infrastructure.Logger; | ||
| using System; | ||
| using System.Collections.Generic; | ||
| using System.Text.Json; | ||
| using System.Threading; | ||
| using System.Threading.Tasks; | ||
|
|
||
| namespace Flow.Launcher.Core.ExternalPlugins | ||
| { | ||
| public static class PluginsManifest | ||
| { | ||
| static PluginsManifest() | ||
| { | ||
| UpdateTask = UpdateManifestAsync(); | ||
| } | ||
|
|
||
| public static List<UserPlugin> UserPlugins { get; private set; } = new List<UserPlugin>(); | ||
|
|
||
| public static Task UpdateTask { get; private set; } | ||
|
|
||
| private static readonly SemaphoreSlim manifestUpdateLock = new(1); | ||
|
|
||
| public static Task UpdateManifestAsync() | ||
| { | ||
| if (manifestUpdateLock.CurrentCount == 0) | ||
| { | ||
| return UpdateTask; | ||
| } | ||
|
|
||
| return UpdateTask = DownloadManifestAsync(); | ||
| } | ||
|
|
||
| private async static Task DownloadManifestAsync() | ||
| { | ||
| try | ||
| { | ||
| await manifestUpdateLock.WaitAsync().ConfigureAwait(false); | ||
|
|
||
| await using var jsonStream = await Http.GetStreamAsync("https://raw.githubusercontent.com/Flow-Launcher/Flow.Launcher.PluginsManifest/plugin_api_v2/plugins.json") | ||
| .ConfigureAwait(false); | ||
|
|
||
| UserPlugins = await JsonSerializer.DeserializeAsync<List<UserPlugin>>(jsonStream).ConfigureAwait(false); | ||
| } | ||
| catch (Exception e) | ||
| { | ||
| Log.Exception("|PluginManagement.GetManifest|Encountered error trying to download plugins manifest", e); | ||
|
|
||
| UserPlugins = new List<UserPlugin>(); | ||
| } | ||
| finally | ||
| { | ||
| manifestUpdateLock.Release(); | ||
| } | ||
| } | ||
| } | ||
| } |
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we dont need this right? since auto hide scroll bar is removed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am still seeing alot of places where the auto hide scroll bar code exists, are we removing this option completely? if so i can clean it up.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This function was created because of a problem that people don't know the menu below, so it's a function that you don't need unless the design has been reorganized. If there is a similar problem, it is right to just grow a scroll bar without option. and this option has a problem of confusing the scroll bar in the result window.
yeah, You can get rid of it.