daily icon indicating copy to clipboard operation
daily copied to clipboard

🐛 BUG: Browser history back is not working Following Nablink

Open ronodhirSoumik opened this issue 7 months ago • 2 comments

What went wrong? 🤔

If user tries to access certain navlinks like Following, History or Read It Loud in the main feed page without being logged in, he will be redirected to the registration page. Unlike Following, in case of other links, user can back to the main feed by using history link. But for Following, user can not get back to main feed from registration page by browser history back. It redirects again to registration page.

So user seems stuck to the registration page. Also I think this creates a discrepancy with other links.

Expected Behavior

No response

Steps to Reproduce Issue

1. Go to main feed page (https://app.daily.dev/posts). First make sure you are not logged in.
2. Click on Following link in the left nav section. (second from top)
3. As you are not registered, you will be redirected to the registration page (https://app.daily.dev/onboarding)
4. Now use browser back. It will redirect to the same page instead of going back to the main feed page.

Solution Proposed

A param after_auth is missing while redirecting to the registration page. Adding that should work.

Screenshots

No response

Environment

Windows and Linux

Browsers

Chrome

OS

No response

Version of daily.dev

No response

Additional Context


Code of Conduct

  • [x] I follow the conditions of this project.

ronodhirSoumik avatar Jun 18 '25 17:06 ronodhirSoumik

@ronodhirSoumik Thanks for reporting - it is an extreme edge case, so would be great if you could try fixing it if you have the bandwidth since I am not very sure when / if we will be able to prioritize the fix.

sabdailydev avatar Jun 19 '25 20:06 sabdailydev

I would be happy to work on this. Can you assign this to me please?

ronodhirSoumik avatar Jun 19 '25 20:06 ronodhirSoumik