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): user is not redirected to Login page after requesting password reset link #979

Merged
merged 1 commit into from
Jun 20, 2024

Conversation

bc-yevhenii-buliuk
Copy link
Contributor

@bc-yevhenii-buliuk bc-yevhenii-buliuk commented Jun 6, 2024

What/Why?

This PR fixes the flow of redirecting users to the Login Page after changing the password

Testing

locally

before:

redirect_flow_1_prev.mov
redirect_flow_2_prev.mov

after:

redirect_flow_1.mov
redirect_flow_2.mov

@bc-yevhenii-buliuk bc-yevhenii-buliuk requested a review from a team as a code owner June 6, 2024 09:18
Copy link

vercel bot commented Jun 6, 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 Jun 18, 2024 7:10pm
6 Ignored Deployments
Name Status Preview Comments Updated (UTC)
catalyst-1millionproducts-store ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 7:10pm
catalyst-au ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 7:10pm
catalyst-ppr ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 7:10pm
catalyst-test-store ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 7:10pm
catalyst-uk ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 7:10pm
catalyst-unstable ⬜️ Ignored (Inspect) Visit Preview Jun 18, 2024 7:10pm

Copy link

changeset-bot bot commented Jun 6, 2024

🦋 Changeset detected

Latest commit: 029dbb1

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

@bc-yevhenii-buliuk bc-yevhenii-buliuk added the draft Ready for initial review label Jun 6, 2024
@bc-yevhenii-buliuk bc-yevhenii-buliuk removed the draft Ready for initial review label Jun 14, 2024
@bc-yevhenii-buliuk bc-yevhenii-buliuk changed the title [DRAFT] fix(core): user is not redirected to Login page after requesting password reset link fix(core): user is not redirected to Login page after requesting password reset link Jun 14, 2024
@bc-yevhenii-buliuk
Copy link
Contributor Author

To redirect to the Login, I used the context that was created for the Account, so as not to create a separate context for the Login. Guys, do you think this approach is acceptable in this case? If so, should we move this context out of the Account directory and rename it to something more generic to use for both Account and Login? thanks!

@bc-yevhenii-buliuk bc-yevhenii-buliuk requested review from yurytut1993, a team and bc-alexsaiannyi and removed request for a team and yurytut1993 June 14, 2024 16:39
@chanceaclark
Copy link
Contributor

Some functional tests would be good with this PR as well 🙏

Copy link
Contributor

⚡️🏠 Lighthouse report

Lighthouse ran against https://catalyst-latest-835frybbc-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 88
🟢 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 99
🟢 Accessibility 100
🟢 Best practices 100
🟢 SEO 92

Copy link
Contributor

@bc-alexsaiannyi bc-alexsaiannyi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@bc-yevhenii-buliuk bc-yevhenii-buliuk added this pull request to the merge queue Jun 20, 2024
Merged via the queue into main with commit 6a6c193 Jun 20, 2024
12 checks passed
@bc-yevhenii-buliuk bc-yevhenii-buliuk deleted the fix-login-redirect branch June 20, 2024 11:26
@github-actions github-actions bot mentioned this pull request Jun 20, 2024
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