Add in in-feed notices for various prompts #5390
Ticket(s) / Related Merge Requests
Issue card #5390 (closed)
Summary of Changes
Adds in feed notices as per the specification of #5390 (closed) - the "refer friends" notice has been omitted as requested, and the requirements have changed such that the state is only stored in local storage.
Testing Considerations
Need to test notices display properly with and without the new activity feature flags.
Note the build your algorithm notice's link does not work, because it's pointing to a blog on production - you can swap the URL it redirects to with the prod URL to check this will work.
To test you need to:
- make an account
- Test verify email notice
- Then when verified you should see the email verification notice is replaced by Build Your Algorithm
- At this point you should go into your settings and disable push notifications - else the next notice won't show
- Make sure you have enough users followed that you have a feed - on production the main Minds channel makes this a non-issue but on sandbox you should make sure you have a scrollable feed.
- Complete build your algorithm survey - it should disappear
- Scroll down and you should see the push notifications notice.
Notice functionality should all work, including dismissal, primary and secondary actions. 2 notices should not be displayed at the same time.
Deployment Considerations
To be deployed to the front-end.
Regression Scope
Primarily new additions but slots into the feed, so any visual bugs could make the feed look messy.
Platform Affected (web, mobile, etc)
Web
Developer Testing Completed
Specs and manual
Screenshots / Screen Recording
Does this impact
-
Localization -
Dark/light mode -
Guest mode
Definition of Done Checklist
-
The Acceptance Criteria has been met -
Code is tested: Testing includes unit/spec, E2E/automated and manual testing -
Merge requests description has been filled out