The current action buttons in the inbox don't give any feedback for the user as to whether the action was performed or not. So, users might click multiple times in the same action button. This is causing conflicting requests that lead to type errors, such as: https://0xacab.org/leap/bitmask-dev/issues/8820
Acceptance criteria
Given I've selected an email, when I click on the delete button, it should be disabled until I get a success or failure message.
The current action buttons in the inbox don't give any feedback for the user as to whether the action was performed or not. So, users might click multiple times in the same action button. This is causing conflicting requests that lead to type errors, such as: https://0xacab.org/leap/bitmask-dev/issues/8820
Acceptance criteria
Given I've selected an email, when I click on the
delete
button, it should be disabled until I get a success or failure message.