Disable submit button after submission of vote in live voting system
#653 opened on Mar 2, 2023
Repository metrics
- Stars
- (24 stars)
- PR merge metrics
- (PR metrics pending)
Description
During SKE (Store Kanoniske Ensemble (Large Canonical Ensemble)), many (nabla-)components were experiencing error messages after sending votes several times. To the best of my knowledge, this is because the votes are enqueued to ensure that all votes are counted. There is, as of today, no safeguard for sending in several votes at once. Fortunately, only one vote is counted. However, they flood the queue and leave (nabla-)components discombobulated by the errant messages filling up the screens of their computing device of choice.
One proposed solution is to disable the button while the vote is being processed. For simplicity's sake, a timeout for a given time interval could be considered.