From b630b50b7b868977f23b90f790ef793178aeda18 Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Thu, 5 Nov 2026 15:00:15 -0500 Subject: [PATCH] fix(ui): label the server jobs button Stop Job The job it acts on is shown as Stopping and then Stopped, and the rest of the app talks about stopping server jobs, so the button now says Stop Job too. --- OpenNest/Forms/ServerJobsForm.Designer.cs | 2 +- OpenNest/Forms/ServerJobsForm.cs | 2 +- docs/server-nesting.md | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/OpenNest/Forms/ServerJobsForm.Designer.cs b/OpenNest/Forms/ServerJobsForm.Designer.cs index 4c9ba527..7379305e 100644 --- a/OpenNest/Forms/ServerJobsForm.Designer.cs +++ b/OpenNest/Forms/ServerJobsForm.Designer.cs @@ -201,7 +201,7 @@ namespace OpenNest.Forms cancelJobButton.MinimumSize = new System.Drawing.Size(93, 29); cancelJobButton.Name = "cancelJobButton"; cancelJobButton.TabIndex = 2; - cancelJobButton.Text = "&Cancel Job"; + cancelJobButton.Text = "&Stop Job"; cancelJobButton.UseVisualStyleBackColor = true; cancelJobButton.Click += CancelJobButton_Click; // diff --git a/OpenNest/Forms/ServerJobsForm.cs b/OpenNest/Forms/ServerJobsForm.cs index 4fed0508..f6fc8ff6 100644 --- a/OpenNest/Forms/ServerJobsForm.cs +++ b/OpenNest/Forms/ServerJobsForm.cs @@ -18,7 +18,7 @@ namespace OpenNest.Forms /// Polling rather than the per-job event stream because the list must also show jobs other /// desktops submit and jobs removed or expired, which no one job's stream announces, and one /// conditional request covers every row. Open reopens a result that is ready to review (Keep - /// or Discard as after a local run, kept at most once); Cancel Job stops a queued or running + /// or Discard as after a local run, kept at most once); Stop Job stops a queued or running /// job; Remove deletes a finished job and its result from the server. /// See docs/server-nesting.md. /// diff --git a/docs/server-nesting.md b/docs/server-nesting.md index 5ca31d07..2552ea3c 100644 --- a/docs/server-nesting.md +++ b/docs/server-nesting.md @@ -68,7 +68,7 @@ refreshes at once after anything this desktop does to a job. the result (`NestReplayMismatchException`) and leaves the job unreviewed, so it can be opened again once the drawing is back. Settings that live only on the sending dialog (ledger stock codes, saved plate-size offers) are not reapplied by a later Open. -- **Cancel Job** stops a queued or running job (`POST .../cancel`). +- **Stop Job** stops a queued or running job (`POST .../cancel`). - **Remove** deletes a finished job and its stored result from the server, asking first when nobody has kept or discarded the result yet. Active jobs must be cancelled first. @@ -273,7 +273,7 @@ desktop's Keep refused over HTTP, If-Match, removal, a result reopened from its later session and refused for a changed or missing drawing). `RemoteNestReplayTests` also pins drawing fingerprints and a reopened replay. `OpenNest.WinForms.Tests` `ServerAutoNestTests`: the progress window's stage text and plan strip, and the finish notice; `ServerJobsFormTests`: -My Server Jobs rows and per-state actions, Cancel Job, Remove (with its confirmation), Open, +My Server Jobs rows and per-state actions, Stop Job, Remove (with its confirmation), Open, the status-bar count, and a Keep refused because another desktop kept first. A live check against the container: submit a job, then