apps icon indicating copy to clipboard operation
apps copied to clipboard

feat: add error handling for selected projects that do not have protection enabled

Open rusticpenguin opened this issue 1 year ago • 1 comments

Purpose

When a user selects a project, that project may not be setup correctly to be displayed in our Preview. We require the project to have protection bypass enabled.

Approach

  • Add logic around checking if the protection bypass is enabled
  • Add case to the error reducer

Testing steps

  1. Go to Vercel and disable protection bypass for your project
  2. Go to your app's config page
  3. Select the project with the disabled protection bypass
  4. Verify the error message appears below the project selector

rusticpenguin avatar May 03 '24 19:05 rusticpenguin

Deploy Preview for ecommerce-app-base-components ready!

Name Link
Latest commit 623b89028228610631d0ea5b0c72a3cbfd7db4a1
Latest deploy log https://app.netlify.com/sites/ecommerce-app-base-components/deploys/66608a7dd6baaf0008d5c007
Deploy Preview https://deploy-preview-7566--ecommerce-app-base-components.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

netlify[bot] avatar May 03 '24 19:05 netlify[bot]