Description
Proposed Changes
On #68965 A message was added for the Sites Management Page on list mode.
This PR introduces the same concept for Grid mode, a.k.a. Tiles.
- Add new component
SitesGridAction
to display messages in grid mode.
- Add new component
SitesGridActionRenew
to show the Renew CTA on expiring sites.
- I’m using the same events used on
sites-plan-renew-nag.tsx
, I just added a new property display_mode
.
- I’m using the same icon on
sites-plan-renew-nag.tsx
.
- I’ve added the plan name to the message.
Screenshots
SitesGridActionRenew
on Coming Soon Site
SitesGridActionRenew
on Public Site
SitesGridActionRenew
on Private Site
SitesGridAction
with long text:
Testing Instructions
- Select an Atomic site and change the expiration date to the past using SA.
- Go to
/sites
- Search for your site
- Observe a Notice appears over the Thumbnail.
- Only if you are the site owner you’ll see a
Renew
CTA. Other users will see only the notice without the link.
- Repeat these steps for coming soon, private and public sites.
Pre-merge Checklist
Unfortunately, no screenshots were provided by the developer.