Operator guideENdistribution-listsdetailcontacts

Distribution Lists / Detail

Read-only detail workspace for one distribution list and the contacts currently attached to it.

Reader view

Clean portal guidance

This page keeps the operator explanation, field and action descriptions, and screenshots visible without exposing repo paths, raw sidecars, or editorial-only implementation details.

Narrative content

Page body

What this page shows

This page shows one distribution list and a read-only table of the contacts currently attached to that list.

How operators use it

  • confirm the list name before it is used in a newsletter program
  • check how many contacts are currently attached
  • inspect the contact rows returned by the newsletter service
  • confirm whether the list needs to be reopened from the separate edit route

Route behavior that matters

  • The page title changes from the generic Distribution List shell to Distribution List: {name} after the detail payload loads.
  • This route reuses the same newsletter detail hook and contact payload as the edit page.
  • The contact table has no local search, filter, pagination, or row actions on this route.

Important caveats

  • The contact table is read-only on this page. No remove-contact action was verified on the current FE surface.
  • The page uses the distribution-list detail endpoint and trusts the contacts array returned with the list payload.
  • The shown contact count can come from contact_count on the list payload or from the current contacts array when that summary is missing.
  • The current FE detail page shows a back button only. It does not expose a local Edit action from this route.
Calculation notes

Calculations

calculation

Numeric route-id fetch gate

Verification
verified_fe_only
Logic
The FE parses `query.id` into a number before it calls the detail hook., `useGetDistributionList` passes `null` to SWR when the id is missing or not numeric, so the request does not run.
calculation

Contact-count fallback

Verification
verified_fe_only
Logic
The detail page prefers `list.contact_count` for the summary card., When the backend summary is missing, the FE falls back to `contacts.length`.
calculation

Shared detail and edit payload

Verification
verified_fe_only
Logic
The detail and edit routes both use `useGetDistributionList`., The read-only detail page therefore shows the same `contacts` array and summary payload shape as the edit route.
Grid columns

Columns

field

ID

Internal contact record ID inside the newsletter service.

Visual Type
grid-column
field

Email

Recipient email stored in the list.

Visual Type
grid-column
field

First Name

Contact first name if the newsletter contact record has it.

Visual Type
grid-column
field

Last Name

Contact last name if the newsletter contact record has it.

Visual Type
grid-column
field

Phone

Phone number stored on the newsletter contact record.

Visual Type
grid-column
field

Tags

Tag list joined into one comma-separated string in the FE table.

Visual Type
grid-column
Caveats
Arrays are rendered as a comma-joined string.
Operational notes

Notes

item

This surface depends on the newsletter proxy rather than a direct `gs-admin-backend` route.

item

The route shell is `ModuleLayout addBack`; the FE does not mount a local edit button on this detail page.

item

The same detail hook is reused by the edit surface, so detail semantics and contact rows must stay aligned.

item

The detail request is gated on a numeric route id; invalid or missing ids do not start the SWR request.

Related references

Related pages

pageDistribution Lists

Operator documentation for newsletter recipient lists, including detail, rename, contacts inspection, and CSV upload or attach flows.

pageDistribution Lists / Form

Rename flow for an existing distribution list plus the implicit create-a-list branch triggered from the CSV upload card.

pageEmail Newsletters / Distribution Lists

Reusable contact-list inventory with CSV preview, upload, create, and add-contacts actions.

pageActivity Tag Rules / Detail

Rule inspection page with backend identity, conditions, timestamps, impact estimate, run action, delete action, and recent application history.

pageAffiliate Payment Settings / Detail

Saved affiliate payment-setting detail page for reviewing one configured record.

pageAffiliate Settings / Detail

Saved affiliate detail workspace for reviewing one affiliate and opening report actions.