fixes VICE-1026
flag=notification_update_account_ui
test plan:
- make sure that in your site admin feature flags,
Account level notification preferences UI update is
- in your root account settings page, go to notifications tab,
check Display one time pop-up warning on Notification Preferences page.
- now, as a user who hasn't seen the popup warning before,
visit /profile/communication
- verify that you see 2 alerts, where the second alert
shows the privacy notice
- close this privacy notice alert
- reload the page, and verify that you no longer see
the privacy notice alert
- as a different user, visit your course notification overrides page
- verify that you do not see the privacy notice alert
- now, visit your profile notifications page
- verify that you see the privacy notice alert
- dismiss the alert, and reload the page
- verify that you no longer see the privacy notice alert
Change-Id: I06552231f48a716333384f59e616e074d10c5030
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/256566
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Davis Hyer <dhyer@instructure.com>
QA-Review: Davis Hyer <dhyer@instructure.com>
Product-Review: Davis Hyer <dhyer@instructure.com>