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

fix(ui): handle proposal to present delete or unknown credential #1057

Conversation

iFergal
Copy link
Collaborator

@iFergal iFergal commented Mar 24, 2025

Description

In response to a presentation request, it's possible the group initiator will propose a credential that does not exist in the wallet because it either has not been accepted yet (groups have thresholds), or it has been deleted by the member.

This adds feedback in the UI that the credential is missing, and you won't be able to try to open the credential details anymore. (This could be improved to allow opening since it's in the IPEX message, but I don't have scope for that right now) It also changes the CTA buttons to the simple Ok button to go back.

Note, archived credentials cannot be proposed but if another member archives the credential, the flow remains unaffected.

Checklist before requesting a review

Issue ticket number and link

  • This PR has a valid ticket number or issue: [link]

Testing & Validation

  • This PR has been tested/validated in IOS, Android and browser.
  • The code has been tested locally with test coverage match expectations.
  • Added new Unit/Component testing (if relevant).

Design Review

  • If this PR contains changes to the UI, it has gone through a design review with UX Designer or Product owner.
  • In case PR contains changes to the UI, add some screenshots to notice the differences

Before

Screen.Recording.2025-03-24.at.10.13.54.AM.mov

After

Sorry, something went wrong.

@iFergal iFergal requested a review from sdisalvo-crd March 24, 2025 22:53
@iFergal iFergal self-assigned this Mar 24, 2025
{missingProposedCred ? (
<></>
) : (
<IonIcon icon={chevronForward} />
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is now a chevron and not an info icon

Base automatically changed from fix/DTIS-2048-Accept-reject-buttons-after-threshold-met-if-we-didn-t-contrib-to-threshold-for-group-presentation to release/1.0.0 March 25, 2025 12:08
…6-Broken-UI-if-initiator-proposes-to-present-a-credential-we-have-deleted-or-have-not-accepted
Copy link
Contributor

@obstar obstar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested

@iFergal iFergal merged commit 1c13cf1 into release/1.0.0 Mar 25, 2025
1 check passed
@iFergal iFergal deleted the fix/DTIS-2046-Broken-UI-if-initiator-proposes-to-present-a-credential-we-have-deleted-or-have-not-accepted branch March 25, 2025 14:48
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.

None yet

3 participants