Disable submit button after submission of vote in live voting system
#653 创建于 2023年3月2日
仓库指标
- 星标
- (24 个星标)
- PR 合并指标
- (30 天内没有已合并 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.