From ad8fc6533747ce08d449ae9a093b89d4e780e538 Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Thu, 14 Dec 2023 14:05:37 +0800 Subject: [PATCH] Update branching info (#19715) * Update branching info * swap --------- Co-authored-by: Joshen Lim --- .../BranchManagement/CreateBranchModal.tsx | 18 +++++++ .../EnableBranchingModal.tsx | 53 ++++++++++++++++--- 2 files changed, 63 insertions(+), 8 deletions(-) diff --git a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx index 4d956e891ac..4e53b5d80fb 100644 --- a/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx +++ b/apps/studio/components/interfaces/BranchManagement/CreateBranchModal.tsx @@ -5,12 +5,16 @@ import { useEffect, useState } from 'react' import { useForm } from 'react-hook-form' import toast from 'react-hot-toast' import { + AlertDescription_Shadcn_, + AlertTitle_Shadcn_, + Alert_Shadcn_, Button, FormControl_Shadcn_, FormField_Shadcn_, FormItem_Shadcn_, FormMessage_Shadcn_, Form_Shadcn_, + IconAlertCircle, IconCheck, IconExternalLink, IconLoader, @@ -210,6 +214,20 @@ const CreateBranchModal = ({ visible, onClose }: CreateBranchModalProps) => { + + + + Preview branches are billed per hour + + Launching a new preview branch incurs additional compute costs, starting at $0.01344 + per hour (~$10/month). This cost will continue for as long as the branch has not + been removed. + + + + + +
{isLoading && ( @@ -207,6 +227,23 @@ const EnableBranchingModal = () => { Please keep in mind the following:

+
+
+ +
+
+
+

+ Preview branches are billed per hour +

+

+ Launching a new preview branch incurs additional compute costs, starting at + $0.01344 per hour (~$10/month). This cost will continue for as long as the + branch has not been removed. +

+
+
+