From 897f6a9e5a9dc37f8f48a172517a46b0de9f752a Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Fri, 13 Nov 2026 10:14:23 -0800 Subject: [PATCH] Tweak: alter wording, force default for single manual wf dialog (#14760) --- docs/usage.md | 7 ++++--- ...run-workflow-confirm-dialog.component.html | 9 ++++++-- ...-workflow-confirm-dialog.component.spec.ts | 21 +++++++++++++++++++ .../run-workflow-confirm-dialog.component.ts | 2 ++ .../document-detail.component.spec.ts | 20 +++++++++++++++++- .../document-detail.component.ts | 2 ++ .../bulk-editor/bulk-editor.component.spec.ts | 2 ++ 7 files changed, 57 insertions(+), 6 deletions(-) diff --git a/docs/usage.md b/docs/usage.md index 541e37c1f6..0cc10269b9 100644 --- a/docs/usage.md +++ b/docs/usage.md @@ -587,9 +587,10 @@ documents from the web UI: - From the document list, select one or more documents and choose **Run workflow** from the "Actions" menu. - From an individual document, choose **Run workflow** from the "Actions" menu. -You will be asked which workflow to run. By default the workflow's trigger filters still apply, so documents that do -not match are skipped. You can instead choose to **run on all selected documents**, which ignores the trigger filters -and runs the workflow's actions on every selected document. +You will be asked which workflow to run. From the document list, the workflow's trigger filters apply by default, so +documents that do not match are skipped. You can choose to **run on all selected documents** to ignore the filters. +From an individual document, the option to ignore trigger filters is selected by default. Clear it to run the workflow +only if the document matches its trigger filters. Manual runs happen in the background. As with scheduled workflows, the document list is not refreshed automatically when they finish, so you may need to reload the list to see the results. diff --git a/src-ui/src/app/components/common/confirm-dialog/run-workflow-confirm-dialog/run-workflow-confirm-dialog.component.html b/src-ui/src/app/components/common/confirm-dialog/run-workflow-confirm-dialog/run-workflow-confirm-dialog.component.html index e46d3454be..e6cf5e7109 100644 --- a/src-ui/src/app/components/common/confirm-dialog/run-workflow-confirm-dialog/run-workflow-confirm-dialog.component.html +++ b/src-ui/src/app/components/common/confirm-dialog/run-workflow-confirm-dialog/run-workflow-confirm-dialog.component.html @@ -18,8 +18,13 @@
- -
Ignore the workflow's trigger filters and run on every selected document.
+ @if (singleDocument) { + +
Ignore the workflow's trigger filters for this document.
+ } @else { + +
Ignore the workflow's trigger filters and run on every selected document.
+ }