Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@abhinavohri
Copy link

Problem
This PR fixes a bug where the email preview for contributions participants would ignore the selected roles and display random user's information.

Solution:
The EmailDialog component now shares the selected recipient roles with the backend and the preview endpoint's updated logic now shares the information of the user who actually matches with the selected roles.

Fixes: #6520

@abhinavohri
Copy link
Author

  1. Should we display the event creator name if there are no people matching the selected roles?
  2. I noticed that RHAbstractsAPIEmailAbstractRolesPreview and RHEmailNotSubmittedEditablesPreview also use the same EmailRolesPreviewMixin. Should I update these as well as per the new logic?

@ThiefMaster ThiefMaster added the hacktoberfest-accepted PR accepted for hacktoberfest label Oct 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

hacktoberfest-accepted PR accepted for hacktoberfest

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Preview to emails from contributions list does not respect roles

2 participants