fix(details): offer clean reset for parked tasks in the Git tab
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
0b2802efbb
commit
9a9b86fdcd
@@ -445,6 +445,11 @@
|
|||||||
ToolTip.Tip="{loc:Tr details.sendToQueueTip}"
|
ToolTip.Tip="{loc:Tr details.sendToQueueTip}"
|
||||||
ToolTip.ShowOnDisabled="True"
|
ToolTip.ShowOnDisabled="True"
|
||||||
Command="{Binding EnqueueCommand}" />
|
Command="{Binding EnqueueCommand}" />
|
||||||
|
<!-- Parked (Idle + Active worktree): clean reset, discards worktree and branch. -->
|
||||||
|
<Button Classes="btn" Content="{loc:Tr details.workConsole.resetDiscardBranch}"
|
||||||
|
ToolTip.Tip="{loc:Tr session.reviewResetTip}"
|
||||||
|
IsVisible="{Binding Task.IsParked, FallbackValue=False}"
|
||||||
|
Command="{Binding ResetReviewCommand}" />
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
</StackPanel>
|
</StackPanel>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user