mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +00:00
ux: show an icon to draw user's attention to LOCAL CHANGES
when there is an in-progress operation (#1210)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
4d31392085
commit
afe5d4b969
1 changed files with 7 additions and 1 deletions
|
@ -129,7 +129,7 @@
|
|||
</ListBoxItem>
|
||||
|
||||
<ListBoxItem IsVisible="{Binding !IsBare}">
|
||||
<Grid Classes="view_mode" ColumnDefinitions="Auto,*,Auto">
|
||||
<Grid Classes="view_mode" ColumnDefinitions="Auto,*,Auto,Auto">
|
||||
<Path Grid.Column="0" Classes="icon" Data="{StaticResource Icons.Changes}"/>
|
||||
<TextBlock Grid.Column="1" Classes="header" Text="{DynamicResource Text.WorkingCopy}"/>
|
||||
<v:CounterPresenter Grid.Column="2"
|
||||
|
@ -140,6 +140,12 @@
|
|||
FontSize="10"
|
||||
Foreground="{DynamicResource Brush.BadgeFG}"
|
||||
Background="{DynamicResource Brush.Badge}"/>
|
||||
<Path Grid.Column="3"
|
||||
Width="12" Height="12"
|
||||
Margin="0,0,6,0"
|
||||
Data="{StaticResource Icons.Info}"
|
||||
Fill="DarkOrange"
|
||||
IsVisible="{Binding InProgressContext, Converter={x:Static ObjectConverters.IsNotNull}}"/>
|
||||
</Grid>
|
||||
</ListBoxItem>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue