diff --git a/Directory.Packages.props b/Directory.Packages.props index 104afec006..d083f672a1 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -18,15 +18,15 @@ - - - - - - - - - + + + + + + + + + diff --git a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/SearchBar.xaml.cs b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/SearchBar.xaml.cs index e61967bb3d..2ee2d2069f 100644 --- a/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/SearchBar.xaml.cs +++ b/src/modules/cmdpal/Microsoft.CmdPal.UI/Controls/SearchBar.xaml.cs @@ -157,12 +157,6 @@ public sealed partial class SearchBar : UserControl, { // Clear the search box FilterBox.Text = string.Empty; - - // hack TODO GH #245 - if (CurrentPageViewModel is not null) - { - CurrentPageViewModel.SearchTextBox = FilterBox.Text; - } } break; @@ -170,14 +164,6 @@ public sealed partial class SearchBar : UserControl, e.Handled = true; } - else if (e.Key == VirtualKey.Back) - { - // hack TODO GH #245 - if (CurrentPageViewModel is not null) - { - CurrentPageViewModel.SearchTextBox = FilterBox.Text; - } - } } private void FilterBox_PreviewKeyDown(object sender, KeyRoutedEventArgs e) @@ -332,19 +318,6 @@ public sealed partial class SearchBar : UserControl, private void FilterBox_TextChanged(object sender, TextChangedEventArgs e) { // Logger.LogInfo($"FilterBox_TextChanged: {FilterBox.Text}"); - - // TERRIBLE HACK TODO GH #245 - // There's weird wacky bugs with debounce currently. We're trying - // to get them ingested, but while we wait for the toolkit feeds to - // bubble, just manually send the first character, always - // (otherwise aliases just stop working) - if (FilterBox.Text.Length == 1) - { - DoFilterBoxUpdate(); - - return; - } - if (InSuggestion) { // Logger.LogInfo($"-- skipping, in suggestion --");