-
-
Notifications
You must be signed in to change notification settings - Fork 455
Global browser setting / Private mode option #800
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
Changes from 45 commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
78af09a
Add Browser Item Area
onesounds 12b6f30
Merge Custom Control
onesounds fb97bc4
Add Browser Setting Popup
onesounds ae86daa
Merge Dev
onesounds 6458c99
Fix Merge
onesounds a1af487
Add SelectBrowserWindow Binding
taooceros 399c3c9
Finish the binding part of global browser
taooceros f97344c
Add NewTab option in viewmodel and partially implement the public api
taooceros a5e0d23
Merge Dev
onesounds e79f805
Fix dev Merge / Adjust Button Size
onesounds 892a491
Merge branch 'GlobalBrowserSetting' of github.com:onesounds/Flow.Laun…
taooceros 7a30367
Make private arg editable for default profile
taooceros 47562ea
Edit default browser behavior
taooceros d8eef69
Use Global Browser Setting around flow
taooceros 99a4a3c
Adjust arg position
taooceros 9c86af7
Align Bookmark plugin into global browser
taooceros ef959d2
Remove BrowserSetting item in bookmark / Url / Websearch
onesounds 1edcc85
Adjust Window Layout and Color
onesounds f2e284e
Merge Dev
onesounds 6468b14
Merge remote-tracking branch 'origin/dev' into GlobalBrowserSetting
jjw24 00f514f
version bump plugins
jjw24 e84e5b1
remove obsolete new tab/window methods
jjw24 5c4cb7c
Fix Done Button (remove wrong disable state)
onesounds d2e689a
Merge branch 'GlobalBrowserSetting' of https://github.com/onesounds/F…
onesounds 40d7baa
Add Chrome, Edge, Firefox Browser Profile
onesounds ba2853b
Fix Edge Private arg
onesounds b286762
Update Plugins/Flow.Launcher.Plugin.WebSearch/SettingsControl.xaml.cs
taooceros 8ba52ff
Update Flow.Launcher/SettingWindow.xaml.cs
taooceros 1278881
Update Flow.Launcher/SelectBrowserWindow.xaml.cs
taooceros 171a501
Update Flow.Launcher.Plugin/Interfaces/IPublicAPI.cs
taooceros d2bb1e8
Update Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewMod…
taooceros 233a338
Update Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewMod…
taooceros cbd2337
Update Flow.Launcher/PublicAPIInstance.cs
taooceros d952950
remove comment
onesounds 932dea0
Add Checkbox disable when no private arg
onesounds af2277d
add backwards compatibility for open in new browser tab/window
jjw24 05fd41a
fix new tab not save issue
taooceros 38a9b9a
Update SelectBrowserWindow.xaml.cs
onesounds 53f965f
remove group to make sure everything static
taooceros 9369589
ignore openinnewwindow
taooceros 721a658
Change Space Position for NewWindow
taooceros 13ccd58
move url before options
taooceros 581e842
Revert "move url before options"
taooceros dbab7b6
Optional Inprivate argument & Comment
taooceros 27d1796
Fix Suggestion Result Action
taooceros b3b85c1
update comment
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
33 changes: 33 additions & 0 deletions
33
Flow.Launcher.Infrastructure/UserSettings/CustomBrowserViewModel.cs
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,33 @@ | ||
| using Flow.Launcher.Plugin; | ||
| using System.Text.Json.Serialization; | ||
|
|
||
| namespace Flow.Launcher.Infrastructure.UserSettings | ||
| { | ||
| public class CustomBrowserViewModel : BaseModel | ||
| { | ||
| public string Name { get; set; } | ||
| public string Path { get; set; } | ||
| public string PrivateArg { get; set; } | ||
| public bool EnablePrivate { get; set; } | ||
| public bool OpenInTab { get; set; } = true; | ||
| [JsonIgnore] | ||
| public bool OpenInNewWindow => !OpenInTab; | ||
| public bool Editable { get; set; } = true; | ||
|
|
||
| public CustomBrowserViewModel Copy() | ||
| { | ||
| return new CustomBrowserViewModel | ||
| { | ||
| Name = Name, | ||
| Path = Path, | ||
| OpenInTab = OpenInTab, | ||
| PrivateArg = PrivateArg, | ||
| EnablePrivate = EnablePrivate, | ||
| Editable = Editable | ||
| }; | ||
| } | ||
| } | ||
| } | ||
|
|
||
|
|
||
|
|
||
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.