diff --git a/admin/public/instance/plane-instance-not-ready.webp b/admin/public/instance/plane-instance-not-ready.webp deleted file mode 100644 index a0efca52c..000000000 Binary files a/admin/public/instance/plane-instance-not-ready.webp and /dev/null differ diff --git a/apiserver/plane/authentication/views/app/magic.py b/apiserver/plane/authentication/views/app/magic.py index 8ad71dea0..27e0b1bd6 100644 --- a/apiserver/plane/authentication/views/app/magic.py +++ b/apiserver/plane/authentication/views/app/magic.py @@ -188,7 +188,7 @@ class MagicSignUpEndpoint(View): return HttpResponseRedirect(url) # Existing user existing_user = User.objects.filter(email=email).first() - if not existing_user: + if existing_user: exc = AuthenticationException( error_code=AUTHENTICATION_ERROR_CODES["USER_ALREADY_EXIST"], error_message="USER_ALREADY_EXIST", diff --git a/space/components/instance/not-ready-view.tsx b/space/components/instance/not-ready-view.tsx index 9f624f785..e9b472960 100644 --- a/space/components/instance/not-ready-view.tsx +++ b/space/components/instance/not-ready-view.tsx @@ -2,30 +2,56 @@ import { FC } from "react"; import Image from "next/image"; +import { useTheme } from "next-themes"; // ui import { Button } from "@plane/ui"; // helper import { GOD_MODE_URL } from "@/helpers/common.helper"; // images import PlaneTakeOffImage from "@/public/instance/plane-takeoff.png"; +import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg"; +import PlaneBackgroundPattern from "public/auth/background-pattern.svg"; +import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; -export const InstanceNotReady: FC = () => ( -
-
-
-

Welcome aboard Plane!

- Plane Logo -

- Get started by setting up your instance and workspace -

-
-
- - - +export const InstanceNotReady: FC = () => { + const { resolvedTheme } = useTheme(); + const patternBackground = resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern; + + return ( +
+
+
+
+ Plane Logo + Plane +
+
+ +
+ Plane background pattern +
+ +
+
+
+
+

Welcome aboard Plane!

+ Plane Logo +

+ Get started by setting up your instance and workspace +

+
+ +
+
+
-
-); + ); +}; diff --git a/web/components/command-palette/actions/issue-actions/change-state.tsx b/web/components/command-palette/actions/issue-actions/change-state.tsx index ce6093682..fce081dfb 100644 --- a/web/components/command-palette/actions/issue-actions/change-state.tsx +++ b/web/components/command-palette/actions/issue-actions/change-state.tsx @@ -4,8 +4,7 @@ import { useRouter } from "next/router"; // hooks import { Check } from "lucide-react"; import { TIssue } from "@plane/types"; -import { StateGroupIcon } from "@plane/ui"; -import { LogoSpinner } from "@/components/common"; +import { Spinner, StateGroupIcon } from "@plane/ui"; import { EIssuesStoreType } from "@/constants/issue"; import { useProjectState, useIssues } from "@/hooks/store"; // ui @@ -59,7 +58,7 @@ export const ChangeIssueState: React.FC = observer((props) => {
No states found
) ) : ( - + )} ); diff --git a/web/components/instance/not-ready-view.tsx b/web/components/instance/not-ready-view.tsx index 3ebf50dbe..1e10c4239 100644 --- a/web/components/instance/not-ready-view.tsx +++ b/web/components/instance/not-ready-view.tsx @@ -1,41 +1,55 @@ import { FC } from "react"; import Image from "next/image"; +import { useTheme } from "next-themes"; import { Button } from "@plane/ui"; // helpers import { GOD_MODE_URL } from "@/helpers/common.helper"; // images import PlaneTakeOffImage from "@/public/plane-takeoff.png"; +// assets +import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg"; +import PlaneBackgroundPattern from "public/auth/background-pattern.svg"; import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; -export const InstanceNotReady: FC = () => ( -
-
-
-
- Plane Logo - Plane -
-
-
-
-
-
-
-

Welcome aboard Plane!

- Plane Logo -

- Get started by setting up your instance and workspace -

+export const InstanceNotReady: FC = () => { + const { resolvedTheme } = useTheme(); + const patternBackground = resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern; + + return ( +
+
+
+
+ Plane Logo + Plane
- + +
+ Plane background pattern +
+ +
+
+
+
+

Welcome aboard Plane!

+ Plane Logo +

+ Get started by setting up your instance and workspace +

+
+ +
-
-); + ); +}; diff --git a/web/components/issues/issue-layouts/roots/project-layout-root.tsx b/web/components/issues/issue-layouts/roots/project-layout-root.tsx index ad36d1e61..e153356b8 100644 --- a/web/components/issues/issue-layouts/roots/project-layout-root.tsx +++ b/web/components/issues/issue-layouts/roots/project-layout-root.tsx @@ -3,7 +3,7 @@ import { observer } from "mobx-react"; import { useRouter } from "next/router"; import useSWR from "swr"; // components -import { LogoSpinner } from "@/components/common"; +import { Spinner } from "@plane/ui"; import { ListLayout, CalendarLayout, @@ -61,8 +61,8 @@ export const ProjectLayoutRoot: FC = observer(() => {
{/* mutation loader */} {issues?.loader === "mutation" && ( -
- +
+
)} {activeLayout === "list" ? ( diff --git a/web/public/instance/plane-instance-not-ready.webp b/web/public/instance/plane-instance-not-ready.webp deleted file mode 100644 index a0efca52c..000000000 Binary files a/web/public/instance/plane-instance-not-ready.webp and /dev/null differ