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

feat:[IOPID-2619] New PosteID App2App educational bottom sheet #6665

Merged
merged 16 commits into from
Feb 5, 2025

Conversation

ChrisMattew
Copy link
Collaborator

@ChrisMattew ChrisMattew commented Jan 31, 2025

Short description

This PR aims to direct citizens who select the login with PosteID towards the app2app approach (if they have the PosteID app on their device) to optimize the login process.

List of changes proposed in this pull request

  • Improved bottom-sheet performance
  • Added a bottom-sheet to the IdpLoginScreen, which is displayed when the citizen selects Poste ID

Demo

Android iOS
android-posteid-app2app-educational.mp4
iOS-posteid-app2app-educational.MP4
A11Y
Android iOS
android-a11y-posteid-app2app-educational.mp4
iOS-a11y-posteid-app2app-educational.MP4

How to test

In the production environment, try selecting different idp options (it's not necessary to proceed with the login). The bottom-sheet should appear only when selecting the Poste ID idp (as shown in the demo). Make sure everything works correctly.

@ChrisMattew ChrisMattew self-assigned this Jan 31, 2025
Copy link
Contributor

github-actions bot commented Jan 31, 2025

Jira Pull Request Link

This Pull Request refers to Jira issues:

Copy link
Contributor

PR Title Validation for conventional commit type

All good! PR title follows the conventional commit type.

Copy link

codecov bot commented Jan 31, 2025

Codecov Report

Attention: Patch coverage is 12.00000% with 22 lines in your changes missing coverage. Please review.

Project coverage is 50.02%. Comparing base (a7d95e6) to head (05e7b2b).
Report is 2 commits behind head on master.

Files with missing lines Patch % Lines
...hentication/hooks/usePosteIDApp2AppEducational.tsx 6.25% 15 Missing ⚠️
ts/screens/authentication/IdpLoginScreen.tsx 0.00% 6 Missing ⚠️
ts/hooks/useHardwareBackButton.ts 50.00% 1 Missing ⚠️
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #6665      +/-   ##
==========================================
- Coverage   50.04%   50.02%   -0.03%     
==========================================
  Files        1539     1540       +1     
  Lines       32187    32204      +17     
  Branches     7305     7309       +4     
==========================================
+ Hits        16109    16110       +1     
- Misses      16028    16043      +15     
- Partials       50       51       +1     
Files with missing lines Coverage Δ
ts/utils/hooks/bottomSheet.tsx 74.57% <100.00%> (ø)
ts/hooks/useHardwareBackButton.ts 64.70% <50.00%> (ø)
ts/screens/authentication/IdpLoginScreen.tsx 1.85% <0.00%> (-0.02%) ⬇️
...hentication/hooks/usePosteIDApp2AppEducational.tsx 6.25% <6.25%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a7d95e6...05e7b2b. Read the comment docs.

@ChrisMattew ChrisMattew added IO-A&I IO - Autenticazione e Identità copy review needed ✋🏼 🖊️ Awaiting copy review by UX Writers. Don't merge if there is this label. labels Jan 31, 2025
@ChrisMattew ChrisMattew marked this pull request as ready for review January 31, 2025 14:12
@ChrisMattew
Copy link
Collaborator Author

@mariateresaventura copy review needed 🙏🏻

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
IO-A&I IO - Autenticazione e Identità
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants