-
Notifications
You must be signed in to change notification settings - Fork 2
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: [OI-249] login data status #549
Conversation
9fe2e4d
to
7afb552
Compare
7afb552
to
7d7ec3a
Compare
I am not particularly convinced about loading the spinner when the page loads. This causes the user to see the loading every time they land on the page when in fact the time it takes the user to click on the “Entra con SPID” button can be used for background loading. |
7d7ec3a
to
293419c
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚀
- separete api functions - separet login data hook - separetd login buttons - unit test
- adds react-query - refactors api - refactors useLoginData - adds spid skeletons - reduces code repeatition SpidSelection & SpidModal - login refactoring - imporeves error handling
6eda7d2
to
1b28d77
Compare
src={clientData?.logoUri} | ||
alt={clientData?.friendlyName} | ||
src={clientQuery.data?.logoUri} | ||
alt={clientQuery.data?.friendlyName || 'PagoPa Logo'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
alt={clientQuery.data?.friendlyName || 'PagoPa Logo'} | |
alt={clientQuery.data?.friendlyName || 'PagoPA Logo'} |
SpidSelection & SpidModal