fix(claude-do): merge Hide the "Submit for review" button on list-handler panes in
ClaudeDo-Task: ea129b1c8c2f47cbaa4db19a2bb5b441
This commit is contained in:
@@ -1143,6 +1143,19 @@ public class MissionControlViewModelTests : IDisposable
|
||||
}
|
||||
}
|
||||
|
||||
// The handler submits its own task, so only a non-handler task-based pane shows the button.
|
||||
[Fact]
|
||||
public async Task ShowSubmitForReview_FalseForListHandler_TrueForNormalTaskPane()
|
||||
{
|
||||
var worker = new RecordingAbandonWorker();
|
||||
using var vm = BuildVm(worker);
|
||||
await vm.OpenConPtySessionAsync("t1");
|
||||
await vm.OpenMergeHelperConPtySessionAsync("L1", new[] { "t2" });
|
||||
|
||||
Assert.True(vm.ConPtySessions[0].ShowSubmitForReview);
|
||||
Assert.False(vm.ConPtySessions[1].ShowSubmitForReview);
|
||||
}
|
||||
|
||||
// A plain OpenConPtySessionAsync pane (not a list handler) never shows/allows the action --
|
||||
// acceptance criterion 5 ("only at handler panes").
|
||||
[Fact]
|
||||
|
||||
Reference in New Issue
Block a user