apps
apps copied to clipboard
feat: add error handling for selected projects that do not have protection enabled
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
- Go to Vercel and disable protection bypass for your project
- Go to your app's config page
- Select the project with the disabled protection bypass
- Verify the error message appears below the project selector
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...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify site configuration.