-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Feature: Added a filter header #17268
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
Conversation
|
Is this related to this request? #4813 |
|
No, this is to separate file search from filtering in preparation for #16029. |
0x5bfa
left a comment
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.
Behavior wise, looks good to me.
| if (IsOn) | ||
| { | ||
| var filterTextBox = (MainWindow.Instance.Content as Frame)?.FindDescendant("FilterTextBox") as AutoSuggestBox; | ||
| filterTextBox?.Focus(FocusState.Programmatic); |
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.
I probably recommend to create a method
ContentPageContext.ShellPage?.TryFocusItemFilterTextBox();Co-authored-by: 0x5BFA <[email protected]> Signed-off-by: Yair <[email protected]>
Co-authored-by: 0x5BFA <[email protected]> Signed-off-by: Yair <[email protected]>
e17dbcd to
4353e98
Compare
Resolved / Related Issues
To prevent extra work, all changes to the Files codebase must link to an approved issue marked as
Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.Steps used to test these changes
Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.