roots-id / roots-react-native

Mock RootsWallet UI, for fast UI/UX iterations
Apache License 2.0
4 stars 5 forks source link

Mock the verification button in Credential Details modal to check if a credential has been revoked #16

Closed 2byrds closed 1 year ago

2byrds commented 1 year ago

The button can have three states:

https://github.com/roots-id/rootswallet/blob/main/src/screens/CredentialDetailScreen.tsx

image image
2byrds commented 1 year ago

Since we have Redux now, we can keep some state that will allow this mock to be more meaningful. I'm going to create another issue that allow you to generate a credential for a contact. and you will have the option of revoking the credential. So that for this issue, when you check revocation, you will be checking redux for the state of the credential (revoked or not)

2byrds commented 1 year ago

@HunnySajid one optimization in our github workflow. If you generate your branch from the issue (through github issue page) image

and then generate your PR from your branch, then all three are tied together in github for easier traceability.