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

fix(core): resolve 500 server error on locale change #1334

Merged
merged 1 commit into from
Sep 4, 2024
Merged

Conversation

deini
Copy link
Member

@deini deini commented Sep 4, 2024

What/Why?

With the recent changes to our middleware, there is an issue when switching locales form the UI. intlResponse.redirected is false when status is 307 🤔

Copy link

changeset-bot bot commented Sep 4, 2024

🦋 Changeset detected

Latest commit: 4d857fd

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 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

@deini deini marked this pull request as ready for review September 4, 2024 20:35
Copy link

vercel bot commented Sep 4, 2024

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

Name Status Preview Comments Updated (UTC)
catalyst 🔄 Building (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 8:44pm
catalyst-latest ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 4, 2024 8:44pm
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 8:44pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 8:44pm
catalyst-staging ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 8:44pm
catalyst-test-store ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 8:44pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 8:44pm
catalyst-unstable ⬜️ Ignored (Inspect) Visit Preview Sep 4, 2024 8:44pm

@deini deini requested a review from a team as a code owner September 4, 2024 20:35
@chanceaclark
Copy link
Contributor

We should probably add some tests for locale switching soon

@deini deini added this pull request to the merge queue Sep 4, 2024
Merged via the queue into main with commit 00f43f0 Sep 4, 2024
13 of 14 checks passed
@deini deini deleted the fix/locale-crash branch September 4, 2024 20:47
Copy link
Contributor

github-actions bot commented Sep 4, 2024

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-k82vllmbe-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 96
🟠 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 100
🟢 Best practices 96
🟠 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.

3 participants