-
-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Feature: Introduced Omnibar 1 #17023
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
base: main
Are you sure you want to change the base?
Conversation
f93960a
to
e1ee482
Compare
src/Files.App/ViewModels/UserControls/NavigationToolbarViewModel.cs
Outdated
Show resolved
Hide resolved
I found an issue where text entered into the address bar isn't cleared after removing the focus. The easiest way to test this is by removing the focus and then refocusing the address bar. |
0aeb079
to
e4ba94d
Compare
75d29b5
to
aa7d7fa
Compare
35ce79a
to
dc2399d
Compare
IconOnActive="{controls:ThemedIconMarkup Style={StaticResource App.ThemedIcons.Omnibar.Search}, IsFilled=True}" | ||
IconOnInactive="{controls:ThemedIconMarkup Style={StaticResource App.ThemedIcons.Omnibar.Search}, IconType=Outline}" | ||
ModeName="Search" | ||
PlaceholderText="Enter a search query..." /> |
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.
Is this supposed to use a localized string?
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.
Yeah Ill make them string resources right before getting this ready.
ToolbarPathItemInvoked?.Invoke(this, new() { ItemPath = path }); | ||
} | ||
|
||
public async Task HandleItemNavigationAsync(string path) |
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.
Where is all this logic taken from?
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.
From here:
public async Task CheckPathInputAsync(string currentInput, string currentSelectedPath, IShellPage shellPage) |
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.
Are there any modifications?
@@ -885,6 +1030,107 @@ private static async Task<bool> LaunchApplicationFromPath(string currentInput, s | |||
); | |||
} | |||
|
|||
public async Task PopulateOmnibarSuggestionsForPathMode() |
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.
Where is this logic taken from?
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.
From here:
public async Task SetAddressBarSuggestionsAsync(AutoSuggestBox sender, IShellPage shellpage) |
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.
Are there any modifications?
49fd456
to
c93e9c0
Compare
while (shellPage.BackwardStack.Last() != itemModel.PageStackEntry) | ||
IHomeFolder homeFolder = new HomeFolder(); | ||
|
||
e.Flyout.Items.Add(new MenuFlyoutHeaderItem() { Text = "Quick access" }); |
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.
Please use the localized resource.
Two additional feedback items
|
Resolved / Related Issues
Steps used to test these changes