Scheduling infrastructure for absolutely everyone.
Fixing design issues /workflows {empty state} (#4446)
Carina Wollendorferb22786d7dfce
diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.jsonindex ccd6400299c..17abcc30444 100644--- a/apps/web/public/static/locales/en/common.json+++ b/apps/web/public/static/locales/en/common.json@@ -1181,12 +1181,12 @@"team_members": "Team members","more": "More","more_page_footer": "We view the mobile application as an extension of the web application. If you are performing any complication actions, please refer back to the web application.",- "workflow_example_1": "Send email reminder 24 hours before event starts to host",- "workflow_example_2": "Send SMS reminder 1 hour before event starts to host",- "workflow_example_3": "Send custom email when event is cancelled to host",- "workflow_example_4": "Send email reminder 24 hours before event starts to attendee",- "workflow_example_5": "Send SMS reminder 1 hour before event starts to attendee",- "workflow_example_6": "Send custom SMS when event is rescheduled to attendee",+ "workflow_example_1": "Send SMS reminder 24 hours before event starts to attendee",+ "workflow_example_2": "Send custom SMS when event is rescheduled to attendee",+ "workflow_example_3": "Send custom email when new event is booked to host",+ "workflow_example_4": "Send email reminder 1 hour before events starts to attendee",+ "workflow_example_5": "Send custom email when event is rescheduled to host",+ "workflow_example_6": "Send custom SMS when new event is booked to host","welcome_to_cal_header": "Welcome to Cal.com!","edit_form_later_subtitle": "You’ll be able to edit this later.","connect_calendar_later": "I'll connect my calendar later",diff --git a/packages/features/ee/workflows/components/v2/EmptyScreen.tsx b/packages/features/ee/workflows/components/v2/EmptyScreen.tsxindex 20267a94911..5fad1b15006 100644--- a/packages/features/ee/workflows/components/v2/EmptyScreen.tsx+++ b/packages/features/ee/workflows/components/v2/EmptyScreen.tsx@@ -15,15 +15,17 @@ function WorkflowExample(props: WorkflowExampleType) {const { Icon, text } = props;return (- <div className="mx-3 my-3 max-h-24 max-w-[600px] rounded-md border border-solid p-6">+ <div className="mx-2 my-2 max-h-24 max-w-[600px] rounded-md border border-solid p-6"><div className="flex ">- <div className="flex w-24 items-center justify-center rounded-sm">+ <div className="flex items-center justify-center"><div className="mr-4 flex h-10 w-10 items-center justify-center rounded-full bg-gray-200 dark:bg-white">- <Icon className="h-6 w-6 stroke-[1.5px]" />+ <Icon className="h-6 w-6 stroke-[2px] text-gray-700" /></div></div>- <div className="flex w-full items-center justify-center ">- <div className="line-clamp-2 w-full text-sm leading-none">{text}</div>+ <div className="m-auto w-full flex-grow items-center justify-center ">+ <div className="line-clamp-2 text-semibold w-full text-sm font-medium leading-none text-gray-900">+ {text}+ </div></div></div></div>@@ -50,13 +52,14 @@ export default function EmptyScreen({const { t } = useLocale();const workflowsExamples = [- { icon: Icon.FiMail, text: t("workflow_example_1") },+ { icon: Icon.FiSmartphone, text: t("workflow_example_1") },{ icon: Icon.FiSmartphone, text: t("workflow_example_2") },{ icon: Icon.FiMail, text: t("workflow_example_3") },{ icon: Icon.FiMail, text: t("workflow_example_4") },- { icon: Icon.FiSmartphone, text: t("workflow_example_5") },+ { icon: Icon.FiMail, text: t("workflow_example_5") },{ icon: Icon.FiSmartphone, text: t("workflow_example_6") },];+ // new workflow example when 'after meetings ends' trigger is implemented: Send custom thank you email to attendee after event (FiSmile icon),return (<>