-
-
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
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.
It looks like there are some extra modifications to this file.
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.
Done.
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.
Looks good.
if (e.IsRootItem) | ||
{ | ||
// TODO: Populate a different flyout for the root item | ||
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.
Can you remove the placeholder menu? I would prefer not merging placeholder code.
@@ -198,17 +206,56 @@ public bool IsSearchBoxVisible | |||
} | |||
} | |||
|
|||
private string? _PathText; | |||
public string? PathText | |||
private string? _LegacySharedPathPaletteText; |
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.
Unless the property name is being reused, I would feel more comfortable if we kept the existing property names. Otherwise it will require additonal testing and a more thorough review.
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.
Done.
@@ -417,20 +417,20 @@ protected async void ShellPage_PathBoxItemDropped(object sender, PathBoxItemDrop | |||
|
|||
protected async void ShellPage_AddressBarTextEntered(object sender, AddressBarTextEnteredEventArgs e) | |||
{ | |||
await ToolbarViewModel.SetAddressBarSuggestionsAsync(e.AddressBarTextField, this); | |||
await ToolbarViewModel.SetLegacyAddressBarSuggestionsAsync(e.AddressBarTextField, this); |
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.
Same as above ^
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.
Done.
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. |
8000bab
to
0aeb079
Compare
0aeb079
to
e4ba94d
Compare
Resolved / Related Issues
Steps used to test these changes