Release govoplan-campaign v0.1.28: stabilize saving, review and delivery recovery
Module Package Release / publish-packages (push) Successful in 12s
Module Package Release / publish-packages (push) Successful in 12s
This commit is contained in:
@@ -41,6 +41,8 @@ assert(!params.toString().includes("unsupported") && !params.toString().includes
|
||||
|
||||
const shortcutFilters = {
|
||||
smtp_accepted: { send: 'list:["smtp_accepted","sent"]' },
|
||||
smtp_active: { send: 'list:["claimed","sending"]' },
|
||||
smtp_queued: { send: 'list:["queued"]' },
|
||||
failed: { send: 'list:["failed_temporary","failed_permanent"]' },
|
||||
outcome_unknown: { send: 'list:["outcome_unknown"]' },
|
||||
not_attempted: { send: 'list:["not_queued"]' },
|
||||
@@ -48,6 +50,9 @@ const shortcutFilters = {
|
||||
cancelled: { send: 'list:["cancelled"]' },
|
||||
imap_appended: { imap: 'list:["appended"]' },
|
||||
imap_failed: { imap: 'list:["failed"]' },
|
||||
imap_pending: { imap: 'list:["pending"]' },
|
||||
imap_active: { imap: 'list:["appending"]' },
|
||||
imap_unknown: { imap: 'list:["outcome_unknown"]' },
|
||||
imap_skipped: { imap: 'list:["skipped"]' }
|
||||
} as const;
|
||||
|
||||
@@ -80,9 +85,10 @@ assert(reportSource.includes('setQuery("");') && reportSource.includes('setAppli
|
||||
assert(reportSource.includes("deliveryOutcomeShortcuts.map") && reportSource.includes("imapOutcomeShortcuts.map"), "top-level delivery counts use one coherent shortcut model");
|
||||
assert(reportSource.includes('<Button type="button" variant={active ? "primary" : "ghost"}'), "count shortcuts render the central Button directly");
|
||||
assert(reportSource.includes('aria-pressed={active}'), "count shortcuts expose their selected state accessibly");
|
||||
assert(reportSource.includes('"skipped",\n"queued"'), "SMTP skipped is a first-class report filter option");
|
||||
const deliveryStatusSource = readFileSync("src/features/campaigns/utils/deliveryStatusOptions.ts", "utf8");
|
||||
assert(deliveryStatusSource.includes('"not_queued", "skipped", "queued"'), "SMTP skipped is a first-class shared report filter option");
|
||||
assert(reportSource.includes("i18n:govoplan-campaign.excluded_rows_are_intentionally_omitted_from_del.421a1f00"), "the report explains excluded transport semantics through the bilingual catalog");
|
||||
assert(reportSource.includes('return status === "skipped" ? "i18n:govoplan-campaign.skipped.5a000ad7"'), "the new skipped filter and status badges use the localized label");
|
||||
assert(reportSource.includes('import { SEND_STATUS_OPTIONS, IMAP_STATUS_OPTIONS, deliveryStatusLabel }'), "Report reuses shared localized delivery states");
|
||||
assert(reportSource.includes("cards?.skipped ?? jobs.counts.send?.skipped"), "SMTP skipped has a separate report count");
|
||||
assert(reportSource.includes("cards?.imap_skipped ?? jobs.counts.imap?.skipped"), "IMAP skipped has a separate report count");
|
||||
assert(!reportSource.includes("setPage((value) => Math.max(1, value - 1))"), "the one-off report pager is removed in favor of the central DataGrid pager");
|
||||
|
||||
Reference in New Issue
Block a user