roots-id / roots-react-native

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

Mock issuing a credential to a contact and having the option to revoke it #18

Closed 2byrds closed 1 year ago

2byrds commented 2 years ago

See this older video for an example where we issued ourself a credential, and had a message that would allow us to revoke it. Using Redux we should be able to maintain the state of the credentials we created. Start at 1:00 in this video for an example https://youtu.be/666UCwT9Alw However, instead of issuing ourself a credential, whenever we add a contact, the contact chat should have a message that gives us the option of issuing them a business card credential... and another message that says we issued it, with a button that allows us to revoke it.

Note that in our Credential List view, an issued credential shows up on the opposite side from the credentials that we've been given.... in the future we can work on ways of differentiating/separating credentials.

HunnySajid commented 2 years ago

@2byrds Wanted to update you about the progress. I am still working on this issue along with issue-16. Will be done atmost by tomorrow.

2byrds commented 2 years ago

@HunnySajid fantastic! It's busy here in Dubai, but I should be able to review it, etc. Looking forward to it. @AlexAndrei98 is working on some issue credential related work in RootsWallet so he should take a look and make comments as well.

AlexAndrei98 commented 2 years ago

@HunnySajid Let me know if there is an issue creating credentials. I was able to implement a react native way to create some demo ones that conform to the standards. Also if there is any code you want me to run or test just let me know which branch and I can pull it!

HunnySajid commented 2 years ago

Hey @AlexAndrei98 Thanks for the help. I was busy creating some underlying structure for dummy wallet -> contact -> chat correlation. The work is almost finished, I will raise an MR today.

2byrds commented 2 years ago

@AlexAndrei98 can you post the Discord Social Credential diagrams you did, here. If we can get that mock into this project then I can submit for additional milestone completion/funding. @HunnySajid when Alex posts that we can decide if that should be a separate issue or include it here.

AlexAndrei98 commented 2 years ago
Screen Shot 2022-11-04 at 9 17 18 AM

This is what I had mocked up and the idea was that the green check appears after you click the 'document' icon that does some verification. And the idea behind the qr code is that once you click on it it creates a "verifiable presentation" that can be checked by anyone else as well!

2byrds commented 2 years ago

I had forgotten how much I like that :)

HunnySajid commented 2 years ago

Hey Alex,

I will check it out, it might reduce my work. Can you share the branch where I can look at it?

On Fri, Nov 4, 2022, 8:13 PM Lance @.***> wrote:

I had forgotten how much I like that :)

— Reply to this email directly, view it on GitHub https://github.com/roots-id/roots-react-native/issues/18#issuecomment-1303730679, or unsubscribe https://github.com/notifications/unsubscribe-auth/AES5BDTPEVNZ6QENRKQWYODWGURZXANCNFSM6AAAAAARQRIGOA . You are receiving this because you were mentioned.Message ID: @.***>

2byrds commented 2 years ago

@HunnySajid I don't think he's implemented it. But I wanted you to be aware of his mock so that we can add it to roots-react-native as soon as you think we are ready. It is a deliverable for a customer that we'd like to show them since it the mock will get us some payment

2byrds commented 1 year ago

For now revocation is based on even/odd credentials and that's okay. we have a new ticket for the Discord credential.