Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(core): add localized data-fetching #1703

Merged
merged 1 commit into from
Dec 4, 2024
Merged

Conversation

chanceaclark
Copy link
Contributor

What/Why?

Passes the shopper locale into the client request which responds back with localized catalog data. It should also return other localized data, which is done by passing the Accept-Language header in the client request.

Testing

EN

https://catalyst-latest-git-feat-shopper-locale-bigcommerce-platform.vercel.app/smith-journal-13/

ES

https://catalyst-latest-git-feat-shopper-locale-bigcommerce-platform.vercel.app/es/smith-journal-13/

@chanceaclark chanceaclark requested a review from a team as a code owner December 3, 2024 23:00
Copy link

changeset-bot bot commented Dec 3, 2024

🦋 Changeset detected

Latest commit: 5caf1e1

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

Copy link

vercel bot commented Dec 3, 2024

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 Dec 4, 2024 4:07pm
catalyst-soul ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 4, 2024 4:07pm
3 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Dec 4, 2024 4:07pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2024 4:07pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Dec 4, 2024 4:07pm

@chanceaclark chanceaclark added this pull request to the merge queue Dec 4, 2024
Merged via the queue into main with commit 7b598ff Dec 4, 2024
15 of 17 checks passed
@chanceaclark chanceaclark deleted the feat/shopper-locale branch December 4, 2024 17:20
@github-actions github-actions bot mentioned this pull request Dec 4, 2024
Copy link
Contributor

github-actions bot commented Dec 4, 2024

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-j8ybtdeee-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 99
🟢 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 99
🟢 Accessibility 96
🟢 Best practices 100
🟠 SEO 85

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants