fix(ui): align campaign tables, recipient sizing and contextual help
Verified with the coordinated workspace changes by devkit full run 2026-09-08T225814-186389-0000-3e3ed7cd (all seven phases passed). This shared UI pass does not mark the individual module reviews complete.
This commit is contained in:
@@ -23,7 +23,6 @@ import {
|
||||
import { getDraftFields } from "../utils/fieldDefinitions";
|
||||
import { asRecord } from "../utils/campaignView";
|
||||
import {
|
||||
getEntryAddresses,
|
||||
hiddenRecipientAddressMatch,
|
||||
recipientAddressFilterValue,
|
||||
recipientAddressSummary
|
||||
@@ -74,7 +73,7 @@ export function recipientProfileColumns({ settings, campaignId, draft, locked, f
|
||||
id: "recipients",
|
||||
header: "Recipient(s)",
|
||||
width: "minmax(320px, 1.4fr)",
|
||||
maxWidth: 640,
|
||||
preferredMaxWidth: 640,
|
||||
resizable: true,
|
||||
filterable: true,
|
||||
render: (entry, index) => {
|
||||
@@ -114,7 +113,7 @@ export function recipientProfileColumns({ settings, campaignId, draft, locked, f
|
||||
id: "delivery",
|
||||
header: "Delivery",
|
||||
width: "minmax(260px, 0.9fr)",
|
||||
maxWidth: 480,
|
||||
preferredMaxWidth: 480,
|
||||
resizable: true,
|
||||
filterable: true,
|
||||
render: (entry, index) => {
|
||||
@@ -151,7 +150,7 @@ export function recipientProfileColumns({ settings, campaignId, draft, locked, f
|
||||
Postboxes ({targets.length})
|
||||
</Button>
|
||||
)}
|
||||
{printTarget.target && (
|
||||
{Boolean(printTarget.target) && (
|
||||
<span className="muted small-note" title={String(printTarget.target)}>
|
||||
{printTarget.channel === "internal_mail" ? "Internal mail" : "Postal"}: {String(printTarget.target)}
|
||||
</span>
|
||||
@@ -185,13 +184,13 @@ export function recipientProfileColumns({ settings, campaignId, draft, locked, f
|
||||
|
||||
},
|
||||
value: (entry) => normalizeAttachmentRules(entry.attachments).map((rule) => `${rule.label ?? ""} ${rule.file_filter ?? ""}`).join(", ")
|
||||
}] : []),
|
||||
} satisfies DataGridColumn<Record<string, unknown>>] : []),
|
||||
...fieldDefinitions.filter((field) => field.can_override !== false).map((field): DataGridColumn<Record<string, unknown>> => ({
|
||||
id: `field-${field.name}`,
|
||||
header: field.label || field.name,
|
||||
width: 190,
|
||||
minWidth: 160,
|
||||
maxWidth: 360,
|
||||
preferredMaxWidth: 360,
|
||||
resizable: true,
|
||||
sortable: true,
|
||||
filterable: true,
|
||||
|
||||
Reference in New Issue
Block a user