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

chore: set user email as not mandatory #333

Merged
merged 1 commit into from
Dec 14, 2023

Conversation

shadowsheep1
Copy link
Member

@shadowsheep1 shadowsheep1 commented Dec 14, 2023

Short description

This PR makes email user field as optional.

@shadowsheep1 shadowsheep1 self-assigned this Dec 14, 2023
@shadowsheep1 shadowsheep1 added the IO-A&I IO - Autenticazione e Identità label Dec 14, 2023
Copy link

codecov bot commented Dec 14, 2023

Codecov Report

Merging #333 (b327325) into master (7259b6b) will not change coverage.
Report is 1 commits behind head on master.
The diff coverage is n/a.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##           master     #333   +/-   ##
=======================================
  Coverage   67.73%   67.73%           
=======================================
  Files         154      154           
  Lines        5232     5232           
  Branches      608      608           
=======================================
  Hits         3544     3544           
  Misses       1687     1687           
  Partials        1        1           
Files Coverage Δ
src/types/config.ts 100.00% <ø> (ø)

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 8047b9f...b327325. Read the comment docs.

@shadowsheep1 shadowsheep1 marked this pull request as ready for review December 14, 2023 14:58
@shadowsheep1 shadowsheep1 requested a review from a team as a code owner December 14, 2023 14:58
Copy link
Contributor

@Ladirico Ladirico left a comment

Choose a reason for hiding this comment

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

LGTM

@shadowsheep1 shadowsheep1 merged commit 341b99c into master Dec 14, 2023
6 checks passed
@shadowsheep1 shadowsheep1 deleted the IOPID-1257-mail-not-mandatory branch December 14, 2023 15:45
shadowsheep1 added a commit to pagopa/io-app that referenced this pull request Dec 14, 2023
## Short description
This PR fix an edge case that is present, if a profile coming from BE
has an empty email (like with EIC) and the user restart the app, thus
restarting their onboarding.

<details open><summary>Details</summary>
<p>

| correct flow |
| - |
| <video
src="https://github.com/pagopa/io-app/assets/16268789/9698a65f-406b-44ed-acd6-10250975f64f"
/> |

</p>

</details> 

## How to test
With this [io-dev-server
PR](pagopa/io-dev-api-server#333), start with a
profile without email. When prompt to insert your email, restart the
app. You should be block until you set and validate a non empty email.

---------

Co-authored-by: Alice Di Rico <[email protected]>
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.

2 participants