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

Refactor consent prompt and move it to identity-appsupport. #757

Merged
merged 1 commit into from
Oct 10, 2024

Conversation

davidz25
Copy link
Contributor

@davidz25 davidz25 commented Oct 9, 2024

  • Add support for intentToRetain and add new sample requests to identity-doctypes library.
  • Make TrustPoint available in multiplatform. This includes switching to using X509Cert instead of X509Certificate (which is Java-only).
  • Update to match design and UX in the functional specification document.
  • Rename to ConsentModalBottomSheet and for easier embedding take a SheetState.
  • Introduce ConsentDocument and ConsentRelyingParty to capture information to display in the sheet.
  • Fix height so it's not constant-height but dynamically adjusts according to how much content there is
  • Instead of disabling the "Share" button and displaying "Scroll down", turn the "Share" button into a "More" button which will scroll down. This matches the behavior in other wallets
  • Add support in samples/testapp for this for all the use-cases.
  • Use Material You in samples/testapp
  • Rework navigation in samples/testapp
  • Update some dependencies.

Test: Manually tested in samples/testapp on Android and iOS.

@davidz25 davidz25 requested a review from kdeus October 9, 2024 05:08
@davidz25 davidz25 force-pushed the rework-consent-dialog branch 6 times, most recently from 9a5ac88 to 87dd8af Compare October 9, 2024 10:23
- Add support for `intentToRetain` and add new sample requests
  to identity-doctypes library.
- Make `TrustPoint` available in multiplatform. This includes switching
  to using X509Cert instead of X509Certificate (which is Java-only).
- Update to match design and UX in the functional specification document.
- Rename to `ConsentModalBottomSheet` and for easier embedding take
  a `SheetState`.
- Introduce `ConsentDocument` and `ConsentRelyingParty` to capture
  information to display in the sheet.
- Fix height so it's not constant-height but dynamically adjusts
  according to how much content there is
- Instead of disabling the "Share" button and displaying "Scroll down",
  turn the "Share" button into a "More" button which will scroll down.
  This matches the behavior in other wallets
- Add support in samples/testapp for this for all the use-cases.
- Use Material You in samples/testapp
- Rework navigation in samples/testapp
- Update some dependencies.

Test: Manually tested in samples/testapp on Android and iOS.
Signed-off-by: David Zeuthen <[email protected]>
@davidz25 davidz25 force-pushed the rework-consent-dialog branch from 87dd8af to 38e184a Compare October 10, 2024 02:39
@davidz25
Copy link
Contributor Author

Thanks for the review, implemented all your suggestions.

@davidz25 davidz25 merged commit 07ed648 into main Oct 10, 2024
5 checks passed
@davidz25 davidz25 deleted the rework-consent-dialog branch October 10, 2024 03:35
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