From 1ab6b21b25220158ca87f2da3cda6879852b9cec Mon Sep 17 00:00:00 2001 From: Maidul Islam Date: Tue, 26 Mar 2024 15:22:55 -0400 Subject: [PATCH 1/2] add maintenance notice for april --- .../src/pages/org/[id]/overview/index.tsx | 34 ++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) 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

Date: Tue, 26 Mar 2024 15:37:24 -0400 Subject: [PATCH 2/2] move to weekend --- frontend/src/pages/org/[id]/overview/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/pages/org/[id]/overview/index.tsx b/frontend/src/pages/org/[id]/overview/index.tsx index 481a2e5c0..40a07fa25 100644 --- a/frontend/src/pages/org/[id]/overview/index.tsx +++ b/frontend/src/pages/org/[id]/overview/index.tsx @@ -601,9 +601,9 @@ const OrganizationPage = withPermission( >
- Scheduled maintenance on April 4th 2024 {" "} + Scheduled maintenance on April 6th 2024 {" "}
- Infisical will undergo scheduled maintenance for approximately 1 hours on Thursday, April 4th, 11am EST. During these hours, read + Infisical will undergo scheduled maintenance for approximately 1 hours on Saturday, April 6th, 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.