Skip to content

Commit afe5d4b

Browse files
committed
ux: show an icon to draw user's attention to LOCAL CHANGES when there is an in-progress operation (#1210)
Signed-off-by: leo <[email protected]>
1 parent 4d31392 commit afe5d4b

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/Views/Repository.axaml

+7-1
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
</ListBoxItem>
130130

131131
<ListBoxItem IsVisible="{Binding !IsBare}">
132-
<Grid Classes="view_mode" ColumnDefinitions="Auto,*,Auto">
132+
<Grid Classes="view_mode" ColumnDefinitions="Auto,*,Auto,Auto">
133133
<Path Grid.Column="0" Classes="icon" Data="{StaticResource Icons.Changes}"/>
134134
<TextBlock Grid.Column="1" Classes="header" Text="{DynamicResource Text.WorkingCopy}"/>
135135
<v:CounterPresenter Grid.Column="2"
@@ -140,6 +140,12 @@
140140
FontSize="10"
141141
Foreground="{DynamicResource Brush.BadgeFG}"
142142
Background="{DynamicResource Brush.Badge}"/>
143+
<Path Grid.Column="3"
144+
Width="12" Height="12"
145+
Margin="0,0,6,0"
146+
Data="{StaticResource Icons.Info}"
147+
Fill="DarkOrange"
148+
IsVisible="{Binding InProgressContext, Converter={x:Static ObjectConverters.IsNotNull}}"/>
143149
</Grid>
144150
</ListBoxItem>
145151

0 commit comments

Comments
 (0)