-
-
Notifications
You must be signed in to change notification settings - Fork 381
Enhancement: Rename Quick Access Links #3586
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
Jack251970
merged 33 commits into
Flow-Launcher:dev
from
01Dri:rename-quick-access-links
Jun 7, 2025
Merged
Changes from 14 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
5bae202
Columns - Path and Name
01Dri 59d5cd6
AccessLink Refactor
01Dri 179babe
New window to add/edit quick access link
01Dri 3777e2b
Changing QuickAccessLinks property to static
01Dri 61aca74
Separating add commands between QuickAccessLink and IndexSearchExclud…
01Dri 74167a9
Strings translations and warning box
01Dri 3b42541
Edit access link
01Dri 4b15add
Code quality
01Dri 287f3f8
Settings
01Dri a6a544a
Translations
01Dri fdeec11
FixLegacyQuickAccessLinkNames
01Dri 589e37a
Action QuickAccessLinks
01Dri bc2648c
Code quality
01Dri cd62e7b
uP
01Dri 29831d6
AI Review Refactor suggestion
01Dri 65eb648
Merge branch 'dev' into rename-quick-access-links
01Dri 6693cb1
Revert changes in ExplorerSettings.xaml
Jack251970 37cab1b
Merge branch 'dev' into rename-quick-access-links
Jack251970 29b7462
Add setting ui
Jack251970 4218b63
Add size changed event
Jack251970 fd2952b
Improve code quality
Jack251970 d429304
Improve code quality
Jack251970 ab1fe67
Remove command parameter
Jack251970 fdb0cf5
Fix null check
Jack251970 74d6016
Revert to original style
Jack251970 c19e9ad
Fix format
Jack251970 16371af
Mark static
Jack251970 201d373
Add blank line
Jack251970 9d3d3c8
Save when editing
Jack251970 ae9a755
Explictly add isEdit
Jack251970 bdbd1e7
Remove blank lines
Jack251970 6d206c5
Adjust columns
Jack251970 a6b6076
Set IsEdit get only & Add type & Improve code quality
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
22 changes: 22 additions & 0 deletions
22
Plugins/Flow.Launcher.Plugin.Explorer/Helper/PathHelper.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,22 @@ | ||
using System; | ||
using System.IO; | ||
using System.Linq; | ||
using Flow.Launcher.Plugin.Explorer.Search; | ||
|
||
namespace Flow.Launcher.Plugin.Explorer.Helper; | ||
|
||
public static class PathHelper | ||
{ | ||
public static string GetPathName(this string selectedPath) | ||
{ | ||
if (string.IsNullOrEmpty(selectedPath)) return ""; | ||
var path = selectedPath.EndsWith(Constants.DirectorySeparator) ? selectedPath[0..^1] : selectedPath; | ||
|
||
if (path.EndsWith(':')) | ||
return path[0..^1] + " Drive"; | ||
|
||
return path.Split(new[] { Path.DirectorySeparatorChar }, StringSplitOptions.None) | ||
.Last(); | ||
} | ||
|
||
} |
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
22 changes: 3 additions & 19 deletions
22
Plugins/Flow.Launcher.Plugin.Explorer/Search/QuickAccessLinks/AccessLink.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 |
---|---|---|
@@ -1,29 +1,13 @@ | ||
using System; | ||
using System.Linq; | ||
using System.Text.Json.Serialization; | ||
|
||
namespace Flow.Launcher.Plugin.Explorer.Search.QuickAccessLinks | ||
namespace Flow.Launcher.Plugin.Explorer.Search.QuickAccessLinks | ||
{ | ||
public class AccessLink | ||
{ | ||
public string Path { get; set; } | ||
|
||
public ResultType Type { get; set; } = ResultType.Folder; | ||
|
||
[JsonIgnore] | ||
public string Name | ||
{ | ||
get | ||
{ | ||
var path = Path.EndsWith(Constants.DirectorySeparator) ? Path[0..^1] : Path; | ||
|
||
if (path.EndsWith(':')) | ||
return path[0..^1] + " Drive"; | ||
public string Name { get; set; } | ||
|
||
return path.Split(new[] { System.IO.Path.DirectorySeparatorChar }, StringSplitOptions.None) | ||
.Last(); | ||
} | ||
} | ||
} | ||
|
||
} |
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.
Uh oh!
There was an error while loading. Please reload this page.