|
42 | 42 | <TextBlock> |
43 | 43 | <Run Text="{DynamicResource Text.Repository.Search}" Foreground="{DynamicResource Brush.FG1}"/> |
44 | 44 | <Run Text=" "/> |
45 | | - <Run Text="{OnPlatform Ctrl+F, macOS=⌘+F}" FontSize="11" Foreground="{DynamicResource MenuFlyoutItemKeyboardAcceleratorTextForeground}"/> |
| 45 | + <Run Text="{OnPlatform Ctrl+Shift+F, macOS=⌘+⇧+F}" FontSize="11" Foreground="{DynamicResource MenuFlyoutItemKeyboardAcceleratorTextForeground}"/> |
46 | 46 | </TextBlock> |
47 | 47 | </ToolTip.Tip> |
48 | 48 | <Path Width="12" Height="12" Stretch="Fill" HorizontalAlignment="Center" Data="{StaticResource Icons.Search}"/> |
|
191 | 191 |
|
192 | 192 | <!-- Filter Branches/Tags/Submodules --> |
193 | 193 | <TextBox Grid.Row="1" |
| 194 | + x:Name="FilterBox" |
194 | 195 | Height="26" |
195 | 196 | Margin="8,6,4,0" |
196 | 197 | BorderThickness="1" |
|
253 | 254 | Nodes="{Binding LocalBranchTrees}" |
254 | 255 | IsVisible="{Binding IsLocalBranchGroupExpanded}" |
255 | 256 | SelectionChanged="OnLocalBranchTreeSelectionChanged" |
256 | | - RowsChanged="OnLeftSidebarRowsChanged"/> |
| 257 | + RowsChanged="OnLeftSidebarRowsChanged" |
| 258 | + SearchRequested="OnToggleFilter"/> |
257 | 259 |
|
258 | 260 | <!-- Remotes --> |
259 | 261 | <ToggleButton Grid.Row="2" Classes="group_expander" IsChecked="{Binding IsRemoteGroupExpanded, Mode=TwoWay}"> |
|
286 | 288 | Nodes="{Binding RemoteBranchTrees}" |
287 | 289 | IsVisible="{Binding IsRemoteGroupExpanded}" |
288 | 290 | SelectionChanged="OnRemoteBranchTreeSelectionChanged" |
289 | | - RowsChanged="OnLeftSidebarRowsChanged"/> |
| 291 | + RowsChanged="OnLeftSidebarRowsChanged" |
| 292 | + SearchRequested="OnToggleFilter"/> |
290 | 293 |
|
291 | 294 | <!-- Tags --> |
292 | 295 | <ToggleButton Grid.Row="4" Classes="group_expander" IsChecked="{Binding IsTagGroupExpanded, Mode=TwoWay}"> |
|
331 | 334 | Focusable="False" |
332 | 335 | IsVisible="{Binding IsTagGroupExpanded, Mode=OneWay}" |
333 | 336 | SelectionChanged="OnTagsSelectionChanged" |
334 | | - RowsChanged="OnLeftSidebarRowsChanged"/> |
| 337 | + RowsChanged="OnLeftSidebarRowsChanged" |
| 338 | + SearchRequested="OnToggleFilter"/> |
335 | 339 |
|
336 | 340 | <!-- Submodules --> |
337 | 341 | <ToggleButton Grid.Row="6" Classes="group_expander" IsChecked="{Binding IsSubmoduleGroupExpanded, Mode=TwoWay}"> |
|
373 | 377 | Content="{Binding VisibleSubmodules}" |
374 | 378 | RowsChanged="OnLeftSidebarRowsChanged" |
375 | 379 | Focusable="False" |
376 | | - IsVisible="{Binding IsSubmoduleGroupExpanded, Mode=OneWay}"/> |
| 380 | + IsVisible="{Binding IsSubmoduleGroupExpanded, Mode=OneWay}" |
| 381 | + SearchRequested="OnToggleFilter"/> |
377 | 382 |
|
378 | 383 | <!-- Worktrees --> |
379 | 384 | <ToggleButton Grid.Row="8" Classes="group_expander" IsChecked="{Binding IsWorktreeGroupExpanded, Mode=TwoWay}"> |
|
0 commit comments