Page MenuHomePhabricator

[Cashtab] Support one-click redemptions for XECX
ClosedPublic

Authored by bytesofman on Thu, Feb 6, 15:07.

Details

Reviewers
emack
Group Reviewers
Restricted Project
Commits
rABC3d80d5ddb170: [Cashtab] Support one-click redemptions for XECX
Summary

Users commonly have errors in setting the price to exactly 1, which is what XECX is redeemed for. Simplify this workflow.

Test Plan

Diff Detail

Repository
rABC Bitcoin ABC
Branch
one-click-xecx-redemptions
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 32330
Build 64149: Build Diffcashtab-tests
Build 64148: arc lint + arc unit

Event Timeline

lose the tooltip and improve switch label instead

bytesofman edited the test plan for this revision. (Show Details)

improve logic for setting the min qty on redemptions

back out unrelated changes, debug log

bytesofman published this revision for review.Thu, Feb 6, 18:09
emack requested changes to this revision.Fri, Feb 7, 10:01
emack added a subscriber: emack.

Unable to redeem 7ish XECX for XEC, this is above dust so should be possible?

image.png (286×1 px, 19 KB)

Redemption worked fine for 10k XECX.

This revision now requires changes to proceed.Fri, Feb 7, 10:01

Unable to redeem 7ish XECX for XEC, this is above dust so should be possible?

image.png (286×1 px, 19 KB)

Redemption worked fine for 10k XECX.

most likely this is an earlier version of this diff at the deploy site, there was an issue with min qty not being set, which would create a hidden error

  • I updated the screen so we get the dust validation msg, otherwise the button could be mystery-disabled
  • I version bumped and deployed, so make sure the test site is on version 3.13.5

image.png (255×731 px, 27 KB)

image.png (255×731 px, 40 KB)

This revision is now accepted and ready to land.Fri, Feb 7, 22:28