Skip to content

Conversation

@pieperm
Copy link
Collaborator

@pieperm pieperm commented Apr 12, 2024

This changes the Email page to use the new MemberSelector component in place of the transfer list for selecting recipients. There's also a small fix in here for the MemberSelectorDialog, which was sometimes not populating the list of members when reopening the dialog.

Note: This PR also removes the TransferList component. We could opt to keep it around in case it finds a use in the future.

To test:

  • Log in as an admin
  • Go to ADMIN > Email
  • Write a bogus email in text format to proceed to step 3: Select Recipients
  • Ensure that selecting recipients works correctly

I could not get the emails to actually send due to an internal server error on the back-end, but the list of recipients sent to the server seems to be correct.

Closes #2190

@mkimberlin
Copy link
Member

This loses us the export of the list, currently. Doesn't it?

@pieperm
Copy link
Collaborator Author

pieperm commented Apr 16, 2024

This loses us the export of the list, currently. Doesn't it?

This has been fixed by the most recent commits. The MemberSelector now has the exportable prop, which if enabled, will include a button that exports the list of selected members to a CSV. Exporting is currently enabled on the Email page and disabled on the Team Reports page.

mkimberlin
mkimberlin previously approved these changes Apr 17, 2024
pieperm added 3 commits April 18, 2024 15:07
…into feature-2190/replace-transfer-list-on-email-page-with-member-selector

# Conflicts:
#	web-ui/src/components/member_selector/MemberSelector.jsx
@mkimberlin mkimberlin merged commit 9ad1cda into develop Apr 19, 2024
@mkimberlin mkimberlin deleted the feature-2190/replace-transfer-list-on-email-page-with-member-selector branch April 19, 2024 16:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace transfer list on email page with member selector

4 participants