openwallet-foundation / bifold-wallet

Aries Mobile Agent React Native - Part of the Aries Bifold effort to provide SSI capabilities in a production ready app.
Apache License 2.0
154 stars 150 forks source link

feat: add credential list issued by contact in contact details #1292

Closed fc-santos closed 4 weeks ago

fc-santos commented 1 month ago

Summary of Changes

This PR add a new element to the screen ContactDetails to show all credentials issued by a Contact. This allows the user to navigate from the Contact Details screen to the Credential Details screen (by tapping on the credential). If a contact hasn't issued any credential yet, a message is displayed.

A new token was also added if other wallets have no interest in showing the connected time with the Contact and displaying the button to edit the contact name.

Contact with no issued credentials:

image

Contact with issued credentials:

image

Related Issues

Please reference here any issue #'s that are relevant to this PR, or simply enter "N/A" if this PR does not relate to any existing issues.

Pull Request Checklist

Tick all boxes below to demonstrate that you have completed the respective task. If the item does not apply to your this PR check it anyway to make it apparent that there's nothing to do.

If you have any questions to any of the points above, just submit and ask! This checklist is here to help you, not to deter you from contributing!

Pro Tip 🤓

PR template adapted from the Python attrs project.

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
4 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud