BeamMW / beam-ui

Beam Desktop Wallet (Win / Mac / Linux)
https://beam.mw/
Apache License 2.0
27 stars 24 forks source link

Add an alert system to the Assets Swap #1127

Open dbadol opened 5 months ago

dbadol commented 5 months ago

Feature title Add and asset swap alert system to allow notifications on the main Wallet window when certain predefined asset swaps offers are available.

Current situation Today, we need to open the Asset Swaps window and scroll through the available offers to check if any corresponds to our needs.

Feature we propose An alert definition system in the asset swap window to be notified when certain swaps of interest are in offer.

Any given alert would be defined by an operator (=, > or <), an amount and an asset name for each side of the swap (the special case ">0" would thus cover any amount). An option "Any" could also be added to the dropdown asset name lists.

The list of active alerts would appear in a "MY ALERTS" tab, next to "MY OFFERS", with options to activate/deactivate, delete and create. And a colored dot for those that have a match.

The asset swap list would also display the colored dot for the offers corresponding to an active alert. A filter could also be a possible option to allow displaying only the offers corresponding to the active alerts.

Possible alternatives 1) Use the current wallet notification system (although we would still need to define the desired alerts). It might get lost in the middle of all the other notifications... 2) Maybe instead of defining alerts, the correct way to do this would be to actually publish an offer that we would like to fulfill (instead of waiting for an interesting one to appear)?...

Mockups

Mockups of the alert definition: image

Mockup of the notification icon: image

dbadol commented 5 months ago

An idea: Could this notification system also be used for the Beam Messenger?