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

Display Driving Privileges in a human-friendly format. #778

Merged
merged 1 commit into from
Nov 19, 2024

Conversation

kdeus
Copy link
Contributor

@kdeus kdeus commented Nov 14, 2024

This required refactoring the way we store the display data for mdoc attributes. Now, instead of mapping from human-readable name to a value string, we map from attribute name to a AttributeDisplayInfo object that includes the attribute's human-readable name and information about how to display the value.

Tested by:

  • Manual testing of both the wallet and appverifier.

  • ./gradlew check

  • ./gradlew connectedCheck

  • Tests pass

@kdeus kdeus requested a review from davidz25 November 14, 2024 01:50
@kdeus
Copy link
Contributor Author

kdeus commented Nov 14, 2024

Here's what the new UI looks like in the Wallet, on the Show Data / Document Data screen:
NewDrivingPrivilegesUi

@kdeus kdeus force-pushed the driving_priviliges_ui branch from ce2cc26 to db3fba9 Compare November 14, 2024 02:06
@kdeus kdeus force-pushed the driving_priviliges_ui branch from db3fba9 to 91ab58e Compare November 18, 2024 23:27
This required refactoring the way we store the display data for mdoc attributes.
Now, instead of mapping from human-readable name to a value string, we map
from attribute name to a AttributeDisplayInfo object that includes the
attribute's human-readable name and information about how to display the value.

Tested by:
- Manual testing.
- ./gradlew check
- ./gradlew connectedCheck

Signed-off-by: Kevin Deus <[email protected]>
@kdeus kdeus force-pushed the driving_priviliges_ui branch from 91ab58e to 47647b7 Compare November 18, 2024 23:30
@kdeus kdeus merged commit 468e99c into openwallet-foundation-labs:main Nov 19, 2024
3 checks passed
@kdeus kdeus deleted the driving_priviliges_ui branch November 19, 2024 00:16
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.

2 participants