leather-io / extension

Leather browser extension
https://leather.io
MIT License
305 stars 144 forks source link

Add notification center #3852

Open markmhendrickson opened 1 year ago

markmhendrickson commented 1 year ago

This could enhance our current wallet-wide banner feature in that we'd be able to notify user of a series of messages and have them arrive in a notification center that they could view and clear as needed instead of leaving a sticky message on top of the wallet UI for all users.

Ideally we'd be able to send messages to this center via user criteria (e.g. show BRC-20 relevant API downtime or new feature message only to users with BRC-20 tokens).

This notification center could also be used for client-side updates beyond the activity stream (e.g. "Your Stacks transaction has failed due to a nonce issue. Learn how to recover").

kyranjamie commented 1 year ago

+1 to this enhancement

instead of leaving a sticky message on top of the wallet UI for all users in a way that isn't dismissable.

Current messaging system supports dismissing messages fyi

314159265359879 commented 1 year ago

A user also showed an interest in having these notifications pop on the desktop. Perhaps something to consider when the codebases are aligned (extension/desktop). https://hirowallet.canny.io/feature-requests/p/request-for-desktop-notifications-feature-on-hiro-wallet-extension

image

markmhendrickson commented 1 year ago

Note that browser notifications (alerts) are related but different: https://github.com/hirosystems/wallet/issues/1045

kyranjamie commented 1 year ago

100% written by ChatGPT