ReFi-Protocol / dashboard

https://dashboard-indol-zeta-98.vercel.app
0 stars 4 forks source link

Modal popup wrong time fix #70

Closed samfeeng closed 1 month ago

samfeeng commented 2 months ago

When a user connects their wallet, the first time that they land on the dashboard page they will encounter a pop up.

Upon closing the pop up, if the user navigates to another page (i.e. /marketplace, /staking, etc...) and back to dashboard then they will not encounter the pop up again.

Essentially the popup only appears ONCE in a user's session on the app.

https://github.com/user-attachments/assets/ffb590a1-3d66-4421-bed1-e26249be8262

netlify[bot] commented 2 months ago

Deploy request for refi-dashboard pending review.

Visit the deploys page to approve it

Name Link
Latest commit 2a2ff62a917f9cad491e4bfa32f77b195b8a1af0
vercel[bot] commented 2 months ago

@samfeeng is attempting to deploy a commit to the ReFi Protocol Team on Vercel.

A member of the Team first needs to authorize it.

ReFiProtocol commented 1 month ago

This pop up actually opens on the wrong page, it shouldn't open on the marketplace page. It should open after bridging is complete. However, I like the idea of this popup showing up if someone has more than 0 refi on the dashboard page for the first time. https://github.com/ReFi-Protocol/dashboard/issues/49