Disable submit button after submission of vote in live voting system
#653 opened on 2023/03/02
Repository metrics
- Stars
- (24 個のスター)
- PR merge metrics
- (30d に merged PR はありません)
説明
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.