feat: Update UI of signup / login pages (#16710)

* update UI of signup, login pages

* remove disabled state from google sign-in

* Put isGoogleLoginEnabled to its place + fix displaySignupForm default value

* Rename Signup flow test -> Email Signup flow test

* add data-testid to continue with email button

* completely decouble formMethods values from google sign in

* fix

* refactor

* add signup page test

* revert yarn.lock

* fix e2e test

* add saml in signup

* add saml in signin

* revert

* remove space
This commit is contained in:
Benny Joo authored and GitHub committed 2024-09-24 02:27:57 +09:00
1 parent 0eabe7f28b
commit b879aeef09
6 files changed
+330 -230

No files matched your search

+3 -5
View File
@@ -36,10 +36,9 @@ export function SAMLLogin({ samlTenantID, samlProductID, setErrorMessage }: Prop
return (
<Button
StartIcon="lock"
color="secondary"
color="minimal"
data-testid="saml"
className="flex w-full justify-center"
className="text-brand-500 font-medium p-0 h-auto"
onClick={async (event) => {
event.preventDefault();
@@ -65,8 +64,7 @@ export function SAMLLogin({ samlTenantID, samlProductID, setErrorMessage }: Prop
email,
});
}}>
<span>{t("signin_with_saml_oidc")}</span>
{lastUsed === "saml" && <LastUsed />}
<span>{t("saml_sso")}</span>
</Button>
);
}