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): improve error message on reset password page #1520

Merged
merged 2 commits into from
Nov 4, 2024

Conversation

bc-alexsaiannyi
Copy link
Contributor

@bc-alexsaiannyi bc-alexsaiannyi commented Oct 29, 2024

What/Why?

This PR improves validation error on Reset Password form for User. Previously Zod Error was an array of data that was quite hard to read through so we've transformed it into a message where User can read about invalid field and reason for appeared error.

Testing

locally
error_message

reset_password_before.mov
reset_password_after.mov

Copy link

changeset-bot bot commented Oct 29, 2024

🦋 Changeset detected

Latest commit: 009fc8b

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

Copy link

vercel bot commented Oct 29, 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 Nov 4, 2024 8:53am
6 Skipped Deployments
Name Status Preview Comments Updated (UTC)
catalyst ⬜️ Ignored (Inspect) Nov 4, 2024 8:53am
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 8:53am
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 8:53am
catalyst-test-store ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 8:53am
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 8:53am
catalyst-unstable ⬜️ Ignored (Inspect) Visit Preview Nov 4, 2024 8:53am

@bc-alexsaiannyi bc-alexsaiannyi added this pull request to the merge queue Nov 4, 2024
Merged via the queue into main with commit c898792 Nov 4, 2024
11 of 13 checks passed
@bc-alexsaiannyi bc-alexsaiannyi deleted the fix-reset-password-validation-err branch November 4, 2024 10:36
@github-actions github-actions bot mentioned this pull request Nov 4, 2024
Copy link
Contributor

github-actions bot commented Nov 4, 2024

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-c8bskcewf-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 79
🟢 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 95
🟢 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.

4 participants