Skip to content

Have Delete buttons from added URLs disabled while CDN is paused #8540

Description

@hanna-meda

Describe the bug
Currently the Delete buttons still work while the CDN is paused. In Figma, the buttons appear active while the CDN is paused, but as clarified https://github.com/wp-media/rocket-cdn/issues/914#issuecomment-4657952980, we should have them greyed out / disabled to avoid complexity.

To Reproduce
Steps to reproduce the behavior:

As a RocketCDN Free user, go to Content Delivery tab.
Add some pages to the CDN, then pause CDN.
Hover over the Bin icons for the added URLs.
Click one of the Bin icons.
Current behavior: The user can remove URLs while the CDN is paused.

Expected behavior
The Delete buttons should be disabled while RocketCDN Free is paused.

Screenshots

Image

Additional context
Related Slack thread.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions