hsr-optimizer icon indicating copy to clipboard operation
hsr-optimizer copied to clipboard

[Feature] Throttle relic scorer submit button

Open fribbels opened this issue 1 year ago • 0 comments

Motivation

The button fires off an api request each time, we should rate limit it on the UI side

Goal

Start a timer after each button submission and prevent the user from being able to submit the request until the timer is up. Say, 10 seconds, then if pressed again before 15s is up, there should be a popup that says "Please wait X seconds before trying again"

fribbels avatar Jun 20 '24 15:06 fribbels