jaros1 / Money-Network

Demo with complementary and alternative money. Implemented in ZeroNet and AngularJS. Focus on privacy, encryption, max data in client and min data on ZeroNet. Work in progress.
GNU General Public License v2.0
4 stars 4 forks source link

Timeout notification #269

Closed jaros1 closed 6 years ago

jaros1 commented 6 years ago

For example wallet ping: 1) approve money transaction. wallet ping error. using timeout = 10 seconds 2) mn receives a timeout message with more info about failed operation 3) user should get a notification in UI about retrying approve money transaction.

Add an extra parameter timeout_notification to send_message. Used a user notification when receiving a timeout message with stat about this failed message.

jaros1 commented 6 years ago

add special notification when receiving timeout message for a previous failed operation.

jaros1 commented 6 years ago

Added timeout_msg to send_message options. Here an test example with approve incoming money transaction. First wallet ping timeout. Running on a slow device. Notification to user about fixed issue.

screenshot from 2017-11-24 18-04-28

jaros1 commented 6 years ago

Add validation for debug_grouo_operation_update. For example timeout_msg must be a notification. string or [type,message[,timeout]] array.

jaros1 commented 6 years ago

Added validation function to send_message and debug_group_operation_update. test OK