diff --git a/.github/workflows/check-fe-ts-and-lint.yml b/.github/workflows/check-fe-ts-and-lint.yml index deb605a9a..c9b38d068 100644 --- a/.github/workflows/check-fe-ts-and-lint.yml +++ b/.github/workflows/check-fe-ts-and-lint.yml @@ -30,6 +30,6 @@ jobs: - name: 🏗️ Run Type check run: npm run type:check working-directory: frontend - - name: 🏗️ Run Link check + - name: 🏗️ Run Lint check run: npm run lint working-directory: frontend diff --git a/frontend/src/components/app-connections/AppConnectionOption.tsx b/frontend/src/components/app-connections/AppConnectionOption.tsx index cce6d2d37..30a37425c 100644 --- a/frontend/src/components/app-connections/AppConnectionOption.tsx +++ b/frontend/src/components/app-connections/AppConnectionOption.tsx @@ -17,7 +17,7 @@ export const AppConnectionOption = ({
{isCreateOption ? ( -
+
Create New Connection
@@ -26,8 +26,8 @@ export const AppConnectionOption = ({

{children}

{!props.data.projectId && ( -
- +
+ Organization @@ -35,7 +35,7 @@ export const AppConnectionOption = ({ )} {isSelected && ( - + )} )} diff --git a/frontend/src/components/auth/CodeInputStep.tsx b/frontend/src/components/auth/CodeInputStep.tsx index c11b8ca47..297a9f883 100644 --- a/frontend/src/components/auth/CodeInputStep.tsx +++ b/frontend/src/components/auth/CodeInputStep.tsx @@ -90,8 +90,8 @@ export default function CodeInputStep({ return (
-

{t("signup.step2-message")}

-

{email}

+

{t("signup.step2-message")}

+

{email}

@@ -111,11 +111,11 @@ export default function CodeInputStep({ fields={6} onChange={setCode} {...propsPhone} - className="mb-2 mt-2" + className="mt-2 mb-2" />
{codeError && } -
+
-

{t("signup.step2-spam-alert")}

+

{t("signup.step2-spam-alert")}

); diff --git a/frontend/src/components/auth/EnterEmailStep.tsx b/frontend/src/components/auth/EnterEmailStep.tsx index 809114dea..01b7006d3 100644 --- a/frontend/src/components/auth/EnterEmailStep.tsx +++ b/frontend/src/components/auth/EnterEmailStep.tsx @@ -55,7 +55,7 @@ export default function EnterEmailStep({ return (
-

+

{t("signup.step1-start")}

@@ -68,12 +68,12 @@ export default function EnterEmailStep({ className="h-12" /> {emailError && ( -

+

Please enter a valid email.

)}
-
+
-
+
diff --git a/frontend/src/components/auth/InitialSignupStep.tsx b/frontend/src/components/auth/InitialSignupStep.tsx index f86243052..91a597f07 100644 --- a/frontend/src/components/auth/InitialSignupStep.tsx +++ b/frontend/src/components/auth/InitialSignupStep.tsx @@ -23,7 +23,7 @@ export default function InitialSignupStep({ return (
-

+

{t("signup.initial-title")}

@@ -90,12 +90,12 @@ export default function InitialSignupStep({
)} -
+
{t("signup.create-policy")}
-
+
- + {t("signup.already-have-account")} diff --git a/frontend/src/components/auth/Mfa.tsx b/frontend/src/components/auth/Mfa.tsx index cc77c0a02..4577f4ece 100644 --- a/frontend/src/components/auth/Mfa.tsx +++ b/frontend/src/components/auth/Mfa.tsx @@ -159,7 +159,7 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop
Your organization requires mobile authentication to be configured.
-
+
{ @@ -173,7 +173,7 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop } return ( -
+
{!hideLogo && (
@@ -183,14 +183,14 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop )} {method === MfaMethod.EMAIL && ( <> -

{t("mfa.step2-message")}

-

{email}

+

{t("mfa.step2-message")}

+

{email}

)} {method === MfaMethod.TOTP && (
-

Two-Factor Authentication

-

+

Two-Factor Authentication

+

{showRecoveryCodeInput ? "Enter one of your backup recovery codes" : "Enter the verification code from your authenticator app"} @@ -207,13 +207,13 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop type="text" fields={6} onChange={setMfaCode} - className="mb-2 mt-6" + className="mt-6 mb-2" {...codeInputProps} />

)} {method === MfaMethod.TOTP && ( -
+
)} {method === MfaMethod.TOTP && ( -
+
{showRecoveryCodeInput ? "Use authenticator code" : "Use a recovery code"} @@ -311,7 +311,7 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop
} > - + Lost your recovery codes? @@ -322,9 +322,9 @@ export const Mfa = ({ successCallback, closeMfa, hideLogo, email, method }: Prop
{t("signup.step2-resend-alert")} -
+
-

{t("signup.step2-spam-alert")}

+

{t("signup.step2-spam-alert")}

)}
diff --git a/frontend/src/components/auth/TeamInviteStep.tsx b/frontend/src/components/auth/TeamInviteStep.tsx index 7a108a41a..ccb1e6f57 100644 --- a/frontend/src/components/auth/TeamInviteStep.tsx +++ b/frontend/src/components/auth/TeamInviteStep.tsx @@ -41,26 +41,26 @@ export default function TeamInviteStep(): JSX.Element { }; return ( -
-

+

+

{t("signup.step5-invite-team")}

-

+

{t("signup.step5-subtitle")}

-
+
-
+
Emails