-
Notifications
You must be signed in to change notification settings - Fork 570
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Design a new notification system #463
Comments
Agreed that once an announcement has been presented, it shouldn't be resent everytime a user switches back to the account. |
This is hardly a feature request. This is a bug. It is not suppose to pull up the last recent notification informing you that a trade that happened 5 minutes ago just happened again... and again... and again... if you are switching active accounts a lot. It is disconcerting. |
You have way too much time on your hands to quibble about categorization. It's not a bug if it's working as originally intended. And it is working as originally intended. I think the point of this is to discuss a change to the current behavior. "Annoying" things aren't bugs. They are just poor UI. |
Just trying to help, Bill. |
Notifications block various controls and are redundant when switching accounts. Design a new way to view notifications. |
Can we replace the current notifications system with #686 perhaps? |
Some will choose not to enable browser notifications. Our notifications need to be self-contained in those cases. That being said, notifications should be visible from anywhere in the application in a consistent location, but they should not obscure any part of the app during display. This presents a design problem because we are forced to reserve space for something that is temporal. I've found that the least bad option is to reserve a very small horizontal band at the top of the application. Benefits:
Message Displayed Message Not Displayed |
I don't like losing even more vertical space, and frankly I don't see why we should even replace the current notification system. The current one works on mobile and desktop, this new one will be bad for mobile especially but also for laptops with low vertical resolution. The issue in the OP is a fairly simple one to fix, it's simply because we don't store any state keeping track of what the last operation notification was for each account. Adding that would fix the original issue.. |
I don't like the current notification system because it:
|
And it pulls up the last activity for that account when switching to an account, no matter how long ago it occurred... which is a bug. |
This can probably be worked around
There's a default timeout and a custom one, so you can set a specific timeout for different notifications
This is not true, the current notifications have a color component. This is the notification library that's currently being used: https://github.com/igorprado/react-notification-system Building something to replace it will be timeconsuming and in my opinion completely unnecessary.
I addressed this in my previous comment, it's simply a matter of adding localstorage state to track this, easy fix. |
If you can work around item 1, I'd be fine with that. My biggest issue with the notification right now is that it has to be dismissed before I can do anything else. |
@wmbutler Lets do this big part step by step. I can prepare MVP of this feature and start to work if you agree. |
First of all we should prepare the list of events we should notify user. We can start from our main operations:
For me MVP looks like this:
It would be only Front-end Notification System so we can't notify users throw email about something. I'll track last operation ID on browser storage. And when user come back and fetch new operations I'll define new operations and add notifications about them. On future we can add complex features like this:
|
I'm closing this since we have a start for Chrome notifications now. Please re-open in a different issue if there are some continued features. |
@wmbutler Actually I've deployed Notifications for browsers. But for now we don't have any tab or place where we can see notifications which maybe interesting for users. In case of browser notifications user receive the message only if he have wallet opened. On another way he won't see any notification. Please read my (if you didn't) proposal - #463 (comment). I proposed you to create some place to collect all important events for users. |
I don't think we need notification history. We already have activity logs for that. |
Steps to Reproduce:
You should see a notification pop up for the last recent activity on the account you switch to.
You will keep seeing that notification pop up every time.
When a notification is dismissed it should never come back.
In the code there is something pulling up the last recent activity which simply should not be there.
I am not sure if the kind of activity or how old it is matters to reproduce but it does not always happen. For me, it was a "bought 14,842.77 BTS at 0.515 bitCNY/BTS". More testing might be needed.
The text was updated successfully, but these errors were encountered: