The "vote" button should be disabled when the limit is reached

As it stands, when you’ve reached your voting limit, the button’s text changes to read “limit”. If you click on it, it shows a small pane explaining that you’ve reached your limit – but it also sends an XHR off to /voting/vote which returns a 403 response – resulting in an error modal.

To alleviate this, the button should be disabled, so that this XHR is never made.

9 个赞

Here is a description with screenshots: 403 error popup when trying to view vote limit details - Other Issues - Bitrise Discussions

5 个赞

:man_zombie: 刚刚看到这个旧的开放主题。看起来现在可以关闭了,因为点击“Limit”现在会弹出一个对话框,而不是报错: