Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

client/{core,webserver}: show match revoked status #1287

Merged
merged 1 commit into from
Nov 13, 2021

Conversation

chappjc
Copy link
Member

@chappjc chappjc commented Nov 11, 2021

Resolves #922

Supplement core.Match with an Active field, set via db.MatchIsActive.

Update (*orderReader).hasLiveMatches to consult the Active field instead of just comparing Status < MakerRedeemed.

Update (*matchReader).StatusString with text for revoked matches.
When revoked and also active show "Revoked - Refund PENDING".
When revoked and not active, show if it was refunded, (auto)redeemed, or simply complete when no txns are needed.

Revoked and waiting to refund

image

Revoked with nothing to do (inactive)

image

Revoked and auto-redeemed

image

Supplement core.Match with an Active field, set via MatchIsActive.

Update (*orderReader).hasLiveMatches to consult the Active field instead
of just comparing Status < MakerRedeemed.

Update (*matchReader).StatusString with text for revoked matches.
When revoked and also active show "Revoked - Refund PENDING".
When revoked and not active, show if it was refunded, (auto)redeemed,
or simply complete when no txns are needed.
@chappjc chappjc merged commit c2169a7 into decred:master Nov 13, 2021
@chappjc chappjc deleted the revoked-status-browser branch November 13, 2021 04:39
@chappjc chappjc added this to the 0.4 milestone Nov 24, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

revoked match display on UI is unclear
2 participants