Skip to content

fix(core): user is not redirected to Login page after requesting password reset link#979

Merged
bc-yevhenii-buliuk merged 1 commit intomainfrom
fix-login-redirect
Jun 20, 2024
Merged

fix(core): user is not redirected to Login page after requesting password reset link#979
bc-yevhenii-buliuk merged 1 commit intomainfrom
fix-login-redirect

Conversation

@bc-yevhenii-buliuk
Copy link
Copy Markdown
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 June 6, 2024 09:18
@vercel
Copy link
Copy Markdown

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

@changeset-bot
Copy link
Copy Markdown

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
Copy Markdown
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 a team, bc-alexsaiannyi and yurytut1993 and removed request for a team and yurytut1993 June 14, 2024 16:39
@chanceaclark
Copy link
Copy Markdown
Contributor

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

Comment thread core/messages/en.json Outdated
@github-actions
Copy link
Copy Markdown
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
Copy Markdown
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
@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