diff --git a/frontend/src/pages/org/[id]/overview/index.tsx b/frontend/src/pages/org/[id]/overview/index.tsx index 62add27c7..9d8aabb40 100644 --- a/frontend/src/pages/org/[id]/overview/index.tsx +++ b/frontend/src/pages/org/[id]/overview/index.tsx @@ -23,7 +23,9 @@ import { faNetworkWired, faPlug, faPlus, - faUserPlus + faUserPlus, + faWarning, + faXmark } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import { yupResolver } from "@hookform/resolvers/yup"; @@ -35,8 +37,6 @@ import { OrgPermissionCan } from "@app/components/permissions"; import onboardingCheck from "@app/components/utilities/checks/OnboardingCheck"; import { encryptAssymmetric } from "@app/components/utilities/cryptography/crypto"; import { - Alert, - AlertDescription, Button, Checkbox, FormControl, @@ -58,6 +58,7 @@ import { fetchOrgUsers, useAddUserToWs, useCreateWorkspace, + useGetUserAction, useRegisterUserAction, useUploadWsKey } from "@app/hooks/api"; @@ -482,6 +483,13 @@ const OrganizationPage = withPermission( const { createNotification } = useNotificationContext(); const addWsUser = useAddUserToWs(); + const { data: updateClosed } = useGetUserAction("jan_2023_db_update_closed"); + + const registerUserAction = useRegisterUserAction(); + const closeUpdate = async () => { + await registerUserAction.mutateAsync("jan_2023_db_update_closed"); + }; + const { popUp, handlePopUpOpen, handlePopUpClose, handlePopUpToggle } = usePopUp([ "addNewWs", "upgradePlan" @@ -607,21 +615,22 @@ const OrganizationPage = withPermission( )}
- - - We will be migrating from MongoDB toPostgreSQL. During this time only read operations - are permitted.
- As a user you don't have to perform any action. -
- Timeline: - 20th Jan Sat between 10am EST - 4am EST +
+ +
+ Scheduled maintenance on January 20th
+ We've planned a database upgrade and need to pause certain functionality for approximately 6 hours on Saturday, January 20th, 10am EST. Read operations will continue to function as normal but nothing will be editable. As a user you don't have to perform any action – your applications will not be affected.
- - + +

Projects