push-dapp icon indicating copy to clipboard operation
push-dapp copied to clipboard

Show rewards notification on DApp

Open rohitmalhotra1420 opened this issue 6 months ago • 0 comments

After completing this task https://github.com/push-protocol/push-dapp/issues/1797

We will implement a notification component in DApp https://www.figma.com/design/FvJL0JWHlsVohsHTERB1Lh/Push-Design-Foundations?node-id=3682-30737&t=xtvA5BxQdRlTzLLS-1

  • It will be shown when user lands on the Dapp for the first time on any of the page. So it is not page specific to any page but the whole dapp.
  • When user goes to another page from the current page the notification should persist.
  • If the user goes to rewards page from header or directly lands on the rewards page then it should not be visible.
  • If the user clicks on the close icon in it should be hidden and not visible again until the cookies(localstorage) are not cleared.
  • If the user clicks on the notification itself it should redirect user to the notification page and be hidden and not visible again until the cookies(localstorage) are not cleared.

rohitmalhotra1420 avatar Aug 06 '24 09:08 rohitmalhotra1420