Page MenuHomePhabricator

[Cashtab] Start reward countdown automatically after claiming rewards
ClosedPublic

Authored by bytesofman on Thu, Apr 18, 12:57.

Details

Summary

After claiming a reward, eligibility resets (per address). Right now, Cashtab does not automatically make an API request, so the button remains enabled (and will throw an error if the user clicks it).

Better to have the button automatically change to the countdown after a claim.

Test Plan

npm start, claim a reward with an eligibile wallet, notice the countdown appears

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

emack requested changes to this revision.Thu, Apr 18, 13:07
emack added a subscriber: emack.

The button changes to the timer all ok, and the reward is received all ok as well. However clicking on the received CACHET throws this:

image.png (450×987 px, 95 KB)

This revision now requires changes to proceed.Thu, Apr 18, 13:07

The button changes to the timer all ok, and the reward is received all ok as well. However clicking on the received CACHET throws this:

image.png (450×987 px, 95 KB)

will check this out but this does not seem related to this diff

This revision is now accepted and ready to land.Thu, Apr 18, 13:09