logto-io / logto

🧑‍🚀 The better identity infrastructure for developers and the open-source alternative to Auth0.
https://logto.io
Mozilla Public License 2.0
8.15k stars 395 forks source link

refactor(experience): use button loading if possible #6225

Closed xiaoyijun closed 1 month ago

xiaoyijun commented 1 month ago

Summary

Testing

Sign in

image

Password

image

Verification code

image

Sign up

image

Password

image

Verification code

image

Setup profile

image

Forgot password

image image image

MFA

MFA verfication

TOTP

image

Passkey

image

Backup code

image

MFA binding

TOTP

image

Passkey

image

Backup code

image

SSO

image

Social sign-in

image

Checklist

github-actions[bot] commented 1 month ago

COMPARE TO master

Total Size Diff :chart_with_upwards_trend: +4.77 KB

Diff by File |Name|Diff| |---|---| |packages/experience/src/Providers/LoadingLayerProvider/index.tsx|:chart_with_upwards_trend: +132 Bytes| |packages/experience/src/assets/icons/ring.svg|:chart_with_upwards_trend: +1.07 KB| |packages/experience/src/components/Button/index.module.scss|:chart_with_upwards_trend: +327 Bytes| |packages/experience/src/components/Button/index.tsx|:chart_with_upwards_trend: +284 Bytes| |packages/experience/src/components/LoadingLayer/index.module.scss|:chart_with_upwards_trend: +87 Bytes| |packages/experience/src/components/LoadingLayer/index.tsx|:chart_with_upwards_trend: +32 Bytes| |packages/experience/src/components/LoadingMask/index.module.scss|:chart_with_upwards_trend: +118 Bytes| |packages/experience/src/components/LoadingMask/index.tsx|:chart_with_upwards_trend: +279 Bytes| |packages/experience/src/containers/SetPassword/Lite.tsx|:chart_with_upwards_trend: +98 Bytes| |packages/experience/src/containers/SetPassword/SetPassword.tsx|:chart_with_upwards_trend: +98 Bytes| |packages/experience/src/containers/SetPassword/index.tsx|:chart_with_upwards_trend: +9 Bytes| |packages/experience/src/containers/TotpCodeVerification/index.module.scss|:chart_with_upwards_trend: +46 Bytes| |packages/experience/src/containers/TotpCodeVerification/index.tsx|:chart_with_upwards_trend: +719 Bytes| |packages/experience/src/containers/TotpCodeVerification/use-totp-code-verification.ts|:chart_with_upwards_trend: +7 Bytes| |packages/experience/src/containers/VerificationCode/index.module.scss|:chart_with_upwards_trend: +19 Bytes| |packages/experience/src/containers/VerificationCode/index.tsx|:chart_with_upwards_trend: +507 Bytes| |packages/experience/src/pages/Consent/index.tsx|:chart_with_upwards_trend: +160 Bytes| |packages/experience/src/pages/Continue/IdentifierProfileForm/index.tsx|:chart_with_upwards_trend: +40 Bytes| |packages/experience/src/pages/ForgotPassword/ForgotPasswordForm/index.tsx|:chart_with_upwards_trend: +249 Bytes| |packages/experience/src/pages/MfaBinding/BackupCodeBinding/index.tsx|:chart_with_upwards_trend: +218 Bytes| |packages/experience/src/pages/MfaBinding/WebAuthnBinding/index.tsx|:chart_with_upwards_trend: +225 Bytes| |packages/experience/src/pages/MfaVerification/BackupCodeVerification/index.tsx|:chart_with_upwards_trend: +77 Bytes| |packages/experience/src/pages/MfaVerification/WebAuthnVerification/index.tsx|:chart_with_upwards_trend: +201 Bytes| |packages/experience/src/pages/Register/IdentifierRegisterForm/index.tsx|:chart_with_upwards_trend: +47 Bytes| |packages/experience/src/pages/SignIn/IdentifierSignInForm/index.tsx|:chart_with_upwards_trend: +47 Bytes| |packages/experience/src/pages/SignIn/PasswordSignInForm/index.tsx|:chart_with_upwards_trend: +47 Bytes| |packages/experience/src/pages/SignInPassword/PasswordForm/index.tsx|:chart_with_upwards_trend: +40 Bytes| |packages/experience/src/pages/SingleSignOnEmail/index.tsx|:chart_with_upwards_trend: +87 Bytes| |packages/experience/src/scss/_colors.scss|:chart_with_upwards_trend: +29 Bytes|