Add admin page for targeted messages basic upload
What does this MR do and why?
Related to #511014 (closed)
First iteration to add a basic admin UI for creating targeted messages with the ability to process an uploaded csv file containing namespace ids to target.
References
Please include cross links to any resources that are relevant to this MR. This will give reviewers and future readers helpful context to give an efficient review of the changes introduced.
MR acceptance checklist
Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.
Screenshots or screen recordings
Index page | New page |
---|---|
![]() |
![]() |
How to set up and validate locally
This feature is EE-only for now.
- Enable the feature in rails console:
Feature.enable(:targeted_messages_admin_ui)
- Sign in as admin
- Go to
/admin/targeted_messages
to view all the targeted messages created - Click
Add new message
navigate to/admin/targeted_messages/new
for creating a new targeted message.
Edited by Roy Liu