cloudspout / cloudspout-button-panel

Grafana panel to integrate with any kind of HTTP/REST API
MIT License
50 stars 35 forks source link

Button style (how to remove the 'check' logo) #35

Closed JJayyyy closed 3 years ago

JJayyyy commented 3 years ago

Hi, @derjust Thanks for the contributions! I am using your button now. But I don't expect to see the "check" logo after successful request, do you know where to edit the related codes?

image

derjust commented 3 years ago

The checkmark is presented after the button click was communicated to the server successfully. (In case of a failure, a warning sign is shown).

The change daafd5b resets the button to its configured state after 2.5s. This gives the user the visual feedback if the call was successful or not but also restores the visual state eventually