Closed marija-nikolic closed 7 months ago
Acceptance Criteria:
View my subscription
button will be removed when displaying this bannerAcceptance Criteria:
- Promo section is not a part of this PR
- When the user is less or equal to 20% of his quota, we'll update the banners.
- It's related to Free and Growth users only
- The
View my subscription
button will be removed when displaying this banner- Copyright for Free and Growth users will be different and it's present in the document.
- The design and colors are available in the document
- Links for Free, Growth monthly and Growth Yearly will be different and they're present in the document
- The banner will be dismissible
- Once dismissed, the banner won't be displayed until the quota is restarted and going to 20% again (@marija-nikolic or should it be dismissed forever?)
Not forever. As you said until the quota is restarted and going to 20% again.
The method managing the display of this section is currently in Imagify_Admin_Ajax_Post:imagify_get_admin_bar_profile_callback()
.
Looking at what is needed to happen, I think the better approach will be to extract that method to its own class, and create views for it too (right now the HTML is directly in the method).
In addition, we will need to:
effort [M]
Looks fine to me
We would like to update copy and color for the part of the account status notification in the toolbar menu (red box), for the users who are <= 20% of the unconsumed quota.
Details are provided here.