bigcommerce / catalyst

Catalyst - for Composable Commerce
https://catalyst-demo.site
MIT License
117 stars 153 forks source link

feat(core): update add to cart visual errors #1674

Closed chanceaclark closed 1 week ago

chanceaclark commented 1 week ago

What/Why?

Updates the add to cart actions to show an error based on the API response.

Testing

Screenshot 2024-11-21 at 13 59 06

vercel[bot] commented 1 week ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 22, 2024 7:59pm
4 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **catalyst** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst/7jDwN6BG6Z5beXzD4JNV4DnPCe9C)) | | | Nov 22, 2024 7:59pm | | **catalyst-au** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-au/9uuMNxKi8fquFcm2wbYppikkFwmp)) | [Visit Preview](https://catalyst-au-git-fix-inventory-handling-bigcommerce-platform.vercel.app) | | Nov 22, 2024 7:59pm | | **catalyst-soul** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-soul/7xQbfSv6rNUyyFpoJ7Di25xSGbTb)) | [Visit Preview](https://catalyst-soul-git-fix-inventory-handling-bigcommerce-platform.vercel.app) | | Nov 22, 2024 7:59pm | | **catalyst-uk** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-uk/C8kZv6yJfzorAKjgfRmpeuZnyVTT)) | [Visit Preview](https://catalyst-uk-git-fix-inventory-handling-bigcommerce-platform.vercel.app) | | Nov 22, 2024 7:59pm |
changeset-bot[bot] commented 1 week ago

🦋 Changeset detected

Latest commit: 0b325801a8521ac640896c9fc1d00338f1c841ff

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | -------------------------- | ----- | | @bigcommerce/catalyst-core | Minor |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

github-actions[bot] commented 1 week ago

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-crf6s5x87-bigcommerce-platform.vercel.app

🖥️ Desktop

We ran Lighthouse against the changes on a desktop and produced this report. Here's the summary:

Category Score
🟠 Performance 85
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 82

📱 Mobile

We ran Lighthouse against the changes on a mobile and produced this report. Here's the summary:

Category Score
🟠 Performance 88
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 85