فهرست منبع

remove continue button and modify text

Alexander Belanger 4 سال پیش
والد
کامیت
6aa73a5d35
2فایلهای تغییر یافته به همراه5 افزوده شده و 15 حذف شده
  1. 1 1
      dashboard/src/main/home/ModalHandler.tsx
  2. 4 14
      dashboard/src/main/home/modals/SkipProvisioningModal.tsx

+ 1 - 1
dashboard/src/main/home/ModalHandler.tsx

@@ -194,7 +194,7 @@ const ModalHandler: React.FC<{
           onRequestClose={() => setCurrentModal(null, null)}
           width="600px"
           height="240px"
-          title="Do you wanna skip onboarding?"
+          title="Would you like to skip project setup?"
         >
           <SkipOnboardingModal />
         </Modal>

+ 4 - 14
dashboard/src/main/home/modals/SkipProvisioningModal.tsx

@@ -14,16 +14,13 @@ const SkipOnboardingModal = () => {
   return (
     <>
       <Subtitle>
-        Looks like you already know how to setup your project!
+        Porter has detected an existing Kubernetes cluster that was connected
+        via the CLI. For custom setups, you can skip the project setup flow.
       </Subtitle>
-      <Subtitle>
-        We've found a cluster connected to your project, although you probably
-        know how to setup everything by your own, we still wanted to ask you!
-      </Subtitle>
-      <Subtitle>Do you wanna skip onboarding?</Subtitle>
+      <Subtitle>Do you want to skip project setup?</Subtitle>
       <ActionsWrapper>
         <ActionButton
-          text="Yes, take me out"
+          text="Yes, skip setup"
           color="#616FEEcc"
           onClick={() =>
             typeof currentModalData?.skipOnboarding === "function" &&
@@ -32,13 +29,6 @@ const SkipOnboardingModal = () => {
           status={""}
           clearPosition
         />
-        <ActionButton
-          text="Continue onboarding"
-          color="#616FEEcc"
-          onClick={() => setCurrentModal(null, null)}
-          status={""}
-          clearPosition
-        />
       </ActionsWrapper>
     </>
   );