Skip to content

RocketCDN Free Tier: Data Coupling #8264

@jeawhanlee

Description

@jeawhanlee

Description

Bind designed UI with Business logic.

Make the design functional and come to life by updating the static components in #8260 to become dynamic with the backend data here

Acceptance Criteria

  • GIVEN RocketCDN Unlimited is active,
    • THEN disable tab switching

  • GIVEN a CDN driver(Built-in CDN, RocketCDN Unlimited, BYOCDN) is paused
    • THEN I should see Re-activate CDN button state

  • GIVEN that no page is added for RocketCDN Free or No CNAME added for BYOCDN
    • THEN I should not see the PAUSE CDN Button

  • GIVEN a specific CDN driver is selected
    • THEN the specific CDN driver should stay selected on the tab after page reload
    • THEN the specific CDN driver should stay displayed as the sub title after page reload

  • GIVEN current CDN driver is Built-in CDN
    • THEN page can be added via AJAX
    • THEN page can be removed via AJAX
    • THEN page list should be updated via AJAX when a page is added/removed
    • WHEN page limit(3) hits
      • THEN no page can be added anymore
      • THEN ADD PAGE button is disabled
      • THEN CTA banner is displayed to purchase RocketCDN Unlimited.

  • GIVEN current CDN driver is RocketCDN Unlimited
    • THEN Built-in CDN components(Add page component, page list component) should not be present
    • WHEN a page/page path is added to the page exclusion textbox
    • AND the Save Changes button is clicked
      • THEN there should be no error on the admin or in debug.log
    • WHEN a file/file path is added to the file exclusion textbox
    • AND the Save Changes button is clicked
      • THEN there should be no error on the admin or in debug.log

  • GIVEN current CDN driver is Your own CDN
    • THEN Built-in CDN components(Add page component, page list component) should not be present
    • THEN RocketCDN Unlimited components(Page exclusion field) should not be present
    • WHEN one or more CNAMES are added
    • AND the Save Changes button is clicked
      • THEN there should be no error on the admin or in debug.log
    • WHEN a file/file path is added to the file exclusion textbox
    • AND the Save Changes button is clicked
      • THEN there should be no error on the admin or in debug.log

Dependency Module

Metadata

Metadata

Assignees

No one assigned

    Labels

    epics 🔥For large tasks or features, broken into smaller issues.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions