Trisha-tech / OnlineBookSales

This project named Online Book Sales - Backend deals with developing an e-commerce website for Online Book Sale. It provides the user with a catalog of different books available for purchase in the store. In order to facilitate online purchase, a shopping cart is provided to the user.
https://book4u-j5au.onrender.com/
MIT License
137 stars 238 forks source link

[Bug]: Issue with Wishlist Screen and Login Redirection #542

Open poonam17122004 opened 1 month ago

poonam17122004 commented 1 month ago

Is there an existing issue for this?

Describe the bug

When I land on the wishlist screen, it gets flooded with snackbars displaying the message: "Please login to see the wishlist." After that, I am redirected to the login screen, but the snackbars remain visible. Additionally, the toggle elements remain open on the login page after the redirection.

Expected behavior

Wishlist Screen:

Login Page:

Add ScreenShots

https://github.com/user-attachments/assets/5dd1a68b-d298-4276-a5d3-bdf778d0d98d

Screenshot 2024-10-18 at 7 36 54 PM

On which device are you experiencing this bug?

Android, iPhone, Linux, Chrome, Windows

Record

poonam17122004 commented 1 month ago

@Trisha-tech Please assign me this issue

Trisha-tech commented 1 month ago

Is there an existing issue for this?

  • [x] I have searched the existing issues

Describe the bug

When I land on the wishlist screen, it gets flooded with snackbars displaying the message: "Please login to see the wishlist." After that, I am redirected to the login screen, but the snackbars remain visible. Additionally, the toggle elements remain open on the login page after the redirection.

Expected behavior

Wishlist Screen:

  • If the user is not logged in, only one snackbar with the message "Please login to see the wishlist" should appear.
  • After the snackbar is displayed, the user should be immediately redirected to the login screen.

Login Page:

  • Once redirected to the login screen, no snackbars should remain visible.
  • All toggle elements should be reset or closed upon redirection to the login page.

Add ScreenShots

Screen.Recording.2024-10-18.at.7.36.26.PM.mov

Screenshot 2024-10-18 at 7 36 54 PM

On which device are you experiencing this bug?

Android, iPhone, Linux, Chrome, Windows

Record

  • [x] I have read the Contributing Guidelines
  • [x] I'm a GSSOC'24 contributor
  • [x] I have starred the repository

Hello @poonam17122004, Go for it All the Best

poonam17122004 commented 1 month ago

Thank you