Skip to content

Cannot select profile when adding mock credential after going back one screen #915

@alexfigtree

Description

@alexfigtree

Describe the bug
Cannot select profile when adding mock credential after going back one screen. Issue encountered when adding a credential to a wallet with multiple profiles.

To Reproduce
Steps to reproduce the behavior:

  1. Make sure you have 2+ profiles with credentials in each
  2. Go to dev settings, Add mock credentials
  3. On the screen where you select a profile, select any profile
  4. See list of available credentials, swipe left to go back to "Choose Profile" screen.
  5. User can no longer select a profile to go forward.

Expected behavior
Swiping left should not affect ability to choose profile on the "Choose Profile" page, should show consistent logic for this part of the app with the following:

AC1:
Swiping left should not affect ability to choose profile on the "Choose Profile" page

AC2:
Put a "go back" arrow in the upper left hand corner of the "Available Credentials" screen that has the same functionality as other screens (i.e., allows user to go back to "Choose Profile" screen. A check for # of credentials should be made to determine whether or not to show "Accept All" button.

AC3 - adding to profile when credential exists in other profiles: Just show credentials to add, no need for small grey text.

AC4 - profile where credentials already exist in selected profile
Another scenario, grey text says "This credential already exists in "NAME_OF_PROFILE" and cannot be added (do not show Accept All button).

AC5: and
Deleting a credential should update the available credentials page

AC6:
Blue Accept All button: show this text ("Accept All" when > 1 credential, and "Accept" when only one credential.

Screenshots
If applicable, add screenshots to help explain your problem.
Image
Image

Smartphone (please complete the following information):

  • Both iOS and Android

Metadata

Metadata

Assignees

Labels

Type

Projects

Status

Ready for PR Review/re-test

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions