diff --git a/frontend/src/pages/org/[id]/overview/index.tsx b/frontend/src/pages/org/[id]/overview/index.tsx index c009694d7..481a2e5c0 100644 --- a/frontend/src/pages/org/[id]/overview/index.tsx +++ b/frontend/src/pages/org/[id]/overview/index.tsx @@ -21,7 +21,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"; @@ -54,6 +56,7 @@ import { fetchOrgUsers, useAddUserToWsNonE2EE, useCreateWorkspace, + useGetUserAction, useRegisterUserAction } from "@app/hooks/api"; // import { fetchUserWsKey } from "@app/hooks/api/keys/queries"; @@ -480,6 +483,12 @@ const OrganizationPage = withPermission( const addUsersToProject = useAddUserToWsNonE2EE(); + const { data: updateClosed } = useGetUserAction("april_2024_db_update_closed"); + const registerUserAction = useRegisterUserAction(); + const closeUpdate = async () => { + await registerUserAction.mutateAsync("april_2024_db_update_closed"); + }; + const { popUp, handlePopUpOpen, handlePopUpClose, handlePopUpToggle } = usePopUp([ "addNewWs", "upgradePlan" @@ -585,6 +594,29 @@ const OrganizationPage = withPermission( )}
+
+ +
+ Scheduled maintenance on April 4th 2024 {" "} +
+ Infisical will undergo scheduled maintenance for approximately 1 hours on Thursday, April 4th, 11am EST. During these hours, read + operations will continue to function normally but no resources will be editable. + No action is required on your end — your applications can continue to fetch secrets. +
+
+ +

Projects