-
-
Notifications
You must be signed in to change notification settings - Fork 366
Add user style selection page with CLI/GUI modes and Delete Word Backwards #3462
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
Closed
Closed
Changes from all commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
1a6a416
Change Default value (UseLocatinoAsWorkingDir/AutoComplete Hotkey)
onesounds 1e88c00
Change hotkey default value for reset part
onesounds 0a5fa18
Add Delete Word function and hotkey
onesounds 2d69bc3
Add String and adjust glyph
onesounds bd384b9
Add Infobar(open folder and autocomplete) in hotkey pane
onesounds 4c55fbf
Merge branch 'dev' into 250414-ChangeDefaultValue
onesounds bbe0db5
Fix EntityName
onesounds 4f18ef0
- Add Page in welcome window
onesounds b83d9e4
Adjust Page Layout
onesounds f395040
Merge branch 'dev' into 250414-ChangeDefaultValue
onesounds c46e983
Adjust Style for welcome window
onesounds 2880ceb
Add radiobutton
onesounds 230e900
Adjust Style and Add Converter for bullet
onesounds 2e6728f
Adjust UI color
onesounds 6fa5075
Rollback UseLcationAsWorkingDir to false from true
onesounds 749d68d
Remove Hotkey Infobar String
onesounds b68ab2c
Fix Start Page
onesounds a6ef43f
Adjust strings
onesounds 4e424ef
Code Clean Up
onesounds a67c919
Add function
onesounds 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
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,20 @@ | ||
using System; | ||
using System.Collections.Generic; | ||
using System.Globalization; | ||
using System.Linq; | ||
using System.Text; | ||
using System.Threading.Tasks; | ||
using System.Windows.Data; | ||
using System.Windows; | ||
|
||
namespace Flow.Launcher.Converters | ||
{ | ||
public class NullToVisibilityConverter : IValueConverter | ||
{ | ||
public object Convert(object value, Type targetType, object parameter, CultureInfo culture) | ||
=> string.IsNullOrWhiteSpace(value?.ToString()) ? Visibility.Collapsed : Visibility.Visible; | ||
|
||
public object ConvertBack(object value, Type targetType, object parameter, CultureInfo culture) | ||
=> throw new NotImplementedException(); | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,7 @@ | |
<system:String x:Key="GameMode">Game Mode</system:String> | ||
<system:String x:Key="GameModeToolTip">Suspend the use of Hotkeys.</system:String> | ||
<system:String x:Key="PositionReset">Position Reset</system:String> | ||
<system:String x:Key="PositionResetToolTip">Reset search window position</system:String> | ||
<system:String x:Key="PositionResetToolTip">Reset search window location</system:String> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Small Fix. requested by CitizenDee |
||
<system:String x:Key="queryTextBoxPlaceholder">Type here to search</system:String> | ||
|
||
<!-- Setting General --> | ||
|
@@ -58,7 +58,7 @@ | |
<system:String x:Key="setAutoStartFailed">Error setting launch on startup</system:String> | ||
<system:String x:Key="hideFlowLauncherWhenLoseFocus">Hide Flow Launcher when focus is lost</system:String> | ||
<system:String x:Key="dontPromptUpdateMsg">Do not show new version notifications</system:String> | ||
<system:String x:Key="SearchWindowPosition">Search Window Position</system:String> | ||
<system:String x:Key="SearchWindowPosition">Search Window Location</system:String> | ||
<system:String x:Key="SearchWindowScreenRememberLastLaunchLocation">Remember Last Position</system:String> | ||
<system:String x:Key="SearchWindowScreenCursor">Monitor with Mouse Cursor</system:String> | ||
<system:String x:Key="SearchWindowScreenFocus">Monitor with Focused Window</system:String> | ||
|
@@ -259,6 +259,8 @@ | |
<system:String x:Key="showOpenResultHotkeyToolTip">Show result selection hotkey with results.</system:String> | ||
<system:String x:Key="autoCompleteHotkey">Auto Complete</system:String> | ||
<system:String x:Key="autoCompleteHotkeyToolTip">Runs autocomplete for the selected items.</system:String> | ||
<system:String x:Key="DeleteWordHotkey">Delete Word Backwards</system:String> | ||
<system:String x:Key="DeleteWordHotkeyToolTip">Deletes text by word. For paths, deletes by path segment.</system:String> | ||
<system:String x:Key="SelectNextItemHotkey">Select Next Item</system:String> | ||
<system:String x:Key="SelectPrevItemHotkey">Select Previous Item</system:String> | ||
<system:String x:Key="SelectNextPageHotkey">Next Page</system:String> | ||
|
@@ -488,6 +490,18 @@ | |
<system:String x:Key="Welcome_Page5_Title">Let's Start Flow Launcher</system:String> | ||
<system:String x:Key="Welcome_Page5_Text01">Finished. Enjoy Flow Launcher. Don't forget the hotkey to start :)</system:String> | ||
|
||
<system:String x:Key="Welcome_Page_UserType_Title">Pick your style</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_Desc">Based on your selected style, Flow will customize the initial settings for you. This setting can be changed later.</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_CLI_Title">CLI Friendly</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_CLI_Desc">Recommended for users familiar with the CLI or Terminal environment.</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_CLI_Sub1">TAB is used as the key to Auto Complete.</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_CLI_Sub2">Pressing Enter will open the path in Flow.</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_GUI_Title">Windows Friendly</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_GUI_Desc">Recommended for users familiar with the Windows operating style.</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_GUI_Sub1">TAB is used as the key to switch between selectable options.</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_GUI_Sub2">Auto Complete will be ALT+RIGHT.</system:String> | ||
<system:String x:Key="Welcome_Page_UserType_GUI_Sub3">Pressing Enter will open the folder.</system:String> | ||
|
||
<!-- General Guide & Hotkey --> | ||
|
||
<system:String x:Key="HotkeyUpDownDesc">Back / Context Menu</system:String> | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,12 +23,12 @@ | |
<Border.Style> | ||
<Style TargetType="{x:Type Border}"> | ||
<Setter Property="Background" Value="{DynamicResource Color12B}" /> | ||
<Setter Property="Padding" Value="5,0,5,0" /> | ||
<Setter Property="Padding" Value="5 0 5 0" /> | ||
<Setter Property="BorderThickness" Value="1" /> | ||
<Style.Triggers> | ||
<DataTrigger Binding="{Binding Type, RelativeSource={RelativeSource AncestorType=local:HotkeyDisplay}}" Value="Small"> | ||
<Setter Property="Background" Value="Transparent" /> | ||
<Setter Property="Padding" Value="0,0,0,0" /> | ||
<Setter Property="Padding" Value="0 0 0 0" /> | ||
<Setter Property="BorderThickness" Value="0" /> | ||
</DataTrigger> | ||
</Style.Triggers> | ||
|
@@ -51,14 +51,14 @@ | |
<Border.Style> | ||
<Style TargetType="{x:Type Border}"> | ||
<Setter Property="Background" Value="{DynamicResource SystemControlBackgroundBaseLowBrush}" /> | ||
<Setter Property="Padding" Value="10,5,10,5" /> | ||
<Setter Property="Margin" Value="2,5,2,5" /> | ||
<Setter Property="Padding" Value="10 5 10 5" /> | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Minor fix: Corrected vertical alignment |
||
<Setter Property="Margin" Value="2 5 2 5" /> | ||
<Setter Property="BorderThickness" Value="1" /> | ||
<Style.Triggers> | ||
<DataTrigger Binding="{Binding Type, RelativeSource={RelativeSource AncestorType=local:HotkeyDisplay}}" Value="Small"> | ||
<Setter Property="Background" Value="{DynamicResource AccentButtonBackground}" /> | ||
<Setter Property="Padding" Value="10,5,10,5" /> | ||
<Setter Property="Margin" Value="2,0,2,0" /> | ||
<Setter Property="Padding" Value="10 4 10 6" /> | ||
<Setter Property="Margin" Value="2 0 2 0" /> | ||
</DataTrigger> | ||
</Style.Triggers> | ||
</Style> | ||
|
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.
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.
For bullet hiding.