From 91b693be90842ca9d43de5040e9f6aa311684d4d Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Fri, 16 Oct 2026 10:12:09 -0400 Subject: [PATCH] feat(desktop): show cut-plan status in a banner at the top of the panel The outcome line sat mid-panel in coloured text and was easy to miss. It now leads the panel in a tinted, outlined banner, and the existing lead-in/cut-off alert uses the same style so the panel has one alert look. The part-order search turns the banner bright orange because it is the slow phase the operator waits on. Co-Authored-By: Claude Opus 5.5 --- .../Forms/CuttingInspectionPanelTests.cs | 8 +- OpenNest/Forms/CuttingInspectionPanel.cs | 94 +++++++++++++------ 2 files changed, 70 insertions(+), 32 deletions(-) diff --git a/OpenNest.WinForms.Tests/Forms/CuttingInspectionPanelTests.cs b/OpenNest.WinForms.Tests/Forms/CuttingInspectionPanelTests.cs index a2334969..ed3eac13 100644 --- a/OpenNest.WinForms.Tests/Forms/CuttingInspectionPanelTests.cs +++ b/OpenNest.WinForms.Tests/Forms/CuttingInspectionPanelTests.cs @@ -522,7 +522,7 @@ public class CuttingInspectionPanelTests Assert.NotEmpty(plate.CutOffs); Assert.Equal(plate.CutOffs.Count, plate.Parts.Count(p => p.BaseDrawing.IsCutOff)); Assert.Equal(plate.CutOffs.Count, panel.Proposal.Plates[0].Result.ProposedOrder.Count(p => p.IsCutOff)); - Assert.False(Field(panel, "existingWorkBanner").Visible); // Staged lines are not "existing". + Assert.False(Field(panel, "existingWorkBanner").Visible); // Staged lines are not "existing". Field(panel, "autoCutOffsCheckBox").Checked = false; PumpUntil(() => panel.Proposal != null && !panel.IsPlanning); @@ -574,7 +574,7 @@ public class CuttingInspectionPanelTests editor.OpenCuttingInspection(); var first = editor.CuttingInspection!; PumpUntil(() => first.Proposal != null && !first.IsPlanning); - Assert.False(Field(first, "existingWorkBanner").Visible); + Assert.False(Field(first, "existingWorkBanner").Visible); Field