Skip to content

fix(core): improve error message on reset password page#1520

Merged
bc-alexsaiannyi merged 2 commits intomainfrom
fix-reset-password-validation-err
Nov 4, 2024
Merged

fix(core): improve error message on reset password page#1520
bc-alexsaiannyi merged 2 commits intomainfrom
fix-reset-password-validation-err

Conversation

@bc-alexsaiannyi
Copy link
Copy Markdown
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

@changeset-bot
Copy link
Copy Markdown

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

@vercel
Copy link
Copy Markdown

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
@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
@github-actions
Copy link
Copy Markdown
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