Release govoplan-campaign v0.1.28: stabilize saving, review and delivery recovery
Module Package Release / publish-packages (push) Successful in 12s

This commit is contained in:
2026-09-08 01:32:26 +02:00
parent 1b32427813
commit c51fc180fb
111 changed files with 6905 additions and 980 deletions
@@ -44,11 +44,13 @@ function InterventionHint({ tone, summary, requiredAction, destination, document
export function ValidationWorkflowGuidance({
errors,
warnings,
stale
stale,
reviewSatisfied = false
}: {
errors: number;
warnings: number;
stale: boolean;
reviewSatisfied?: boolean;
}) {
return (
<div className="review-workflow-guidance">
@@ -70,7 +72,7 @@ export function ValidationWorkflowGuidance({
documentationTopicId="campaigns.workflow.prepare-validate-and-build"
/>
)}
{warnings > 0 && (
{warnings > 0 && !reviewSatisfied && (
<InterventionHint
tone="warning"
summary={i18nMessage("i18n:govoplan-campaign.value0_validation_warning_s_need_review_but_do_not_block.ff03efd1", { value0: warnings })}
@@ -124,13 +126,12 @@ export function BuiltMessageReviewProgress({ progress }: { progress: BuildReview
}
export function BuiltMessageWorkflowGuidance({
progress,
buildWarnings
progress
}: {
progress: BuildReviewProgress;
buildWarnings: number;
}) {
const showUnacknowledgedWarning = progress.remaining === 0 && buildWarnings > 0;
// Frozen job review requirements are authoritative. Aggregate build warnings
// also contain expected policy outcomes and already acknowledged conditions.
return (
<div className="review-workflow-guidance">
{progress.blocking > 0 && (
@@ -155,15 +156,6 @@ export function BuiltMessageWorkflowGuidance({
documentationTopicId="campaigns.workflow.complete-review"
/>
)}
{showUnacknowledgedWarning && (
<InterventionHint
tone="warning"
summary={i18nMessage("i18n:govoplan-campaign.value0_built_message_warning_s_need_acknowledgement.7d8e30a2", { value0: buildWarnings })}
requiredAction={i18nMessage("i18n:govoplan-campaign.inspect_the_warning_details_correct_the_data_or_accept_t.a558e0d4")}
destination={i18nMessage("i18n:govoplan-campaign.review_send_built_messages.6b030946")}
documentationTopicId="campaigns.workflow.complete-review"
/>
)}
</div>
);
}