mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-27 07:05:00 +00:00
fix: Improve in-progress rebase handling (#933)
* fix: Improve in-progress rebase handling * fix: Close merge popup even if there are conflicts (#941)
This commit is contained in:
parent
c2950ad209
commit
a4157e11e6
4 changed files with 20 additions and 9 deletions
|
@ -598,11 +598,18 @@
|
|||
<Grid ColumnDefinitions="*,Auto">
|
||||
<StackPanel Grid.Column="0" Orientation="Horizontal">
|
||||
<TextBlock FontWeight="Bold" Foreground="{DynamicResource Brush.ConflictForeground}" Text="{DynamicResource Text.InProgress.Rebase}"/>
|
||||
<TextBlock FontWeight="Bold" Margin="4,0,0,0" Foreground="{DynamicResource Brush.ConflictForeground}" Text="{DynamicResource Text.InProgress.Rebase.StoppedAt}"/>
|
||||
<TextBlock FontWeight="Bold" Margin="4,0,0,0" Foreground="DarkOrange" Text="{Binding StoppedAt.SHA, Converter={x:Static c:StringConverters.ToShortSHA}}" ToolTip.Tip="{Binding StoppedAt}"/>
|
||||
<TextBlock FontWeight="Bold" Margin="4,0,0,0" Foreground="{DynamicResource Brush.ConflictForeground}"
|
||||
Text="{DynamicResource Text.InProgress.Rebase.StoppedAt}"
|
||||
IsVisible="{Binding StoppedAt, Converter={x:Static ObjectConverters.IsNotNull}}" />
|
||||
<TextBlock FontWeight="Bold" Margin="4,0,0,0" Foreground="DarkOrange"
|
||||
Text="{Binding StoppedAt.SHA, Converter={x:Static c:StringConverters.ToShortSHA}}"
|
||||
IsVisible="{Binding StoppedAt, Converter={x:Static ObjectConverters.IsNotNull}}"
|
||||
ToolTip.Tip="{Binding StoppedAt}" />
|
||||
</StackPanel>
|
||||
|
||||
<Button Grid.Column="1" Classes="flat" FontWeight="Regular" BorderThickness="0" Content="{DynamicResource Text.Repository.Skip}" Padding="8,2" Click="OnSkipInProgress"/>
|
||||
<Button Grid.Column="1" Classes="flat" FontWeight="Regular" BorderThickness="0"
|
||||
Content="{DynamicResource Text.Repository.Skip}" Padding="8,2" Click="OnSkipInProgress"
|
||||
IsVisible="{Binding StoppedAt, Converter={x:Static ObjectConverters.IsNotNull}}" />
|
||||
</Grid>
|
||||
</DataTemplate>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue