bigcommerce / catalyst

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

feat(core): make fetch channel aware per locale #1055

Closed jorgemoya closed 1 month ago

jorgemoya commented 1 month ago

What/Why?

Add channel <=> locale config example. Make client.fetch channel aware by fetching channel id assigned to locale. Fetch from default channel if no map is found.

Testing

Locally, it requests per channel configured.

changeset-bot[bot] commented 1 month ago

🦋 Changeset detected

Latest commit: 1abc43630e22aa2189353fa5511399a3db00ff33

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

This PR includes changesets to release 2 packages | Name | Type | | ---------------------------- | ----- | | @bigcommerce/catalyst-core | Patch | | @bigcommerce/catalyst-client | Patch |

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

vercel[bot] commented 1 month 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 Jul 2, 2024 9:21pm
5 Skipped Deployments | Name | Status | Preview | Comments | Updated (UTC) | | :--- | :----- | :------ | :------- | :------ | | **catalyst-1millionproducts-store** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-1millionproducts-store/AoyGyQxawJrBZEqEEC3uT58Px8F2)) | [Visit Preview](https://catalyst-1millionproducts-store-git-e38d31-bigcommerce-platform.vercel.app) | | Jul 2, 2024 9:21pm | | **catalyst-au** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-au/Cr8mixu4YWJDkWXammUY2qYDKD6a)) | [Visit Preview](https://catalyst-au-git-add-dynamic-channel-bigcommerce-platform.vercel.app) | | Jul 2, 2024 9:21pm | | **catalyst-test-store** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-test-store/3KLizt6PRKKJ11PHzJ548N7cu4gQ)) | [Visit Preview](https://catalyst-test-store-git-add-dynamic-a7c0db-bigcommerce-platform.vercel.app) | | Jul 2, 2024 9:21pm | | **catalyst-uk** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-uk/BjrexQzS7KRZFE5pmYPWzKipi5nJ)) | [Visit Preview](https://catalyst-uk-git-add-dynamic-channel-bigcommerce-platform.vercel.app) | | Jul 2, 2024 9:21pm | | **catalyst-unstable** | ⬜️ Ignored ([Inspect](https://vercel.com/bigcommerce-platform/catalyst-unstable/3h4NiT5zVhBnrddq7KDGnZqqSCAN)) | [Visit Preview](https://catalyst-unstable-git-add-dynamic-channel-bigcommerce-platform.vercel.app) | | Jul 2, 2024 9:21pm |
github-actions[bot] commented 1 month ago

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-kokmeu7z3-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 90
🟢 Accessibility 100
🟢 Best practices 100
🟢 SEO 90

📱 Mobile

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

Category Score
🟠 Performance 81
🟢 Accessibility 100
🟢 Best practices 100
🟢 SEO 92