AlexanderOtavka / ride-board

Ride sharing for Grinnell students
https://rideboard.app
MIT License
1 stars 3 forks source link

Message Debouncing #116

Open YourFin opened 4 years ago

YourFin commented 4 years ago

Currently its pretty easy to accidentally send two messages in a row; it may be good to put in some sort of check to see if the exact same message is getting sent twice in a row in a short time frame, and either ignore or ask for confirmation on the duplicate.

For the debouncing uninitiated: https://www.allaboutcircuits.com/technical-articles/switch-bounce-how-to-deal-with-it/ https://en.m.wikipedia.org/wiki/Switch#Contact_bounce