Page body
What this flow does
The upload card on Email Newsletters -> Distribution Lists is the real operational entrypoint for creating or extending recipient lists.
The flow is:
- choose an optional target list
- select a CSV file
- preview the file
- upload the file
- create a list automatically when no target list is selected
- parse emails from the CSV in the FE
- attach the parsed emails to the chosen or newly created list
- show the final result modal
Important caveats
- The target-list selector uses an empty value labelled
Create new list. That is not a placeholder-only state; it is the actual create branch. Check FileandUpload CSVare different steps. Preview validates the file first; upload performs the persistent flow.- Preview does not clear the selected file. The FE keeps the file in local state until a successful upload resets the input.
- The FE looks for an
emailoremailAddresscolumn. If the file has only one column, that single column is treated as the email column. Upload CSVcan run even whenCheck Filewas never used.- The create-list branch happens only after a successful file upload.
- The default new-list name comes from the uploaded file name, with a timestamp fallback only when the file base name is empty.
- Attach errors can appear even when the file upload itself succeeded.
- The final dialog title is
File Resultand is reused for both preview and upload outcomes.