pull-request-notifier-for-bitbucket icon indicating copy to clipboard operation
pull-request-notifier-for-bitbucket copied to clipboard

Disable button to prevent double-click

Open kashyap-parikh-ck opened this issue 8 years ago • 3 comments

Hi Tomas,

Is there an easy way to disable custom buttons on PR pages so that people are not able to double-click it (multiple times)?

Since the button provides no feedback on the click action, the user ends up re-trying it.

Thanks Kashyap

kashyap-parikh-ck avatar Dec 01 '16 18:12 kashyap-parikh-ck

In the latest version you can ask the button give you feedback, to let them know the click was registered.

itay avatar Dec 01 '16 18:12 itay

Thanks Itay. We plan to customize that message with a link to push url.

kashyap-parikh-ck avatar Dec 01 '16 20:12 kashyap-parikh-ck

In which case, it's an enhancement. It likely isn't too hard to add in the plugin - I added the original "confirmation" notification in about a day. You should give it a go :)

itay avatar Dec 01 '16 20:12 itay