Update Role Targeting UI in Broadcast Messages
What does this MR do and why?
Resolves #409908 (closed)
Currently, target roles settings in Broadcast Messages implies that the message will only display on projects and groups page to users that have selected roles in that project or group. But this is not intuitive to admins creating the message.
This MR updates that part of the form, suggested here, by adding a select with three target options to emphasize the different targeting scenarios and to only show the extra form fields when the corresponding option is selected.
Screenshots or screen recordings
Screenshots are required for UI changes, and strongly recommended for all other merge requests.
Screenshots | |
---|---|
Currently | |
Option 1 (default when creating message) | |
Option 2 | |
Option 3 |
How to set up and validate locally
- Login as admin
- Go to /admin/broadcast_messages
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Roy Liu