From 4006143e3a77b3b0b8d8a47179ab7213327f7017 Mon Sep 17 00:00:00 2001 From: Dhairyashil Shinde <93669429+dhairyashiil@users.noreply.github.com> Date: Tue, 4 Nov 2025 17:26:21 +0530 Subject: [PATCH] refactor: remove cal ai tip (#24904) --- apps/web/public/static/locales/en/common.json | 1 - packages/features/tips/Tips.tsx | 22 ++++--------------- 2 files changed, 4 insertions(+), 19 deletions(-) diff --git a/apps/web/public/static/locales/en/common.json b/apps/web/public/static/locales/en/common.json index d4aad4d37e..fed36184b4 100644 --- a/apps/web/public/static/locales/en/common.json +++ b/apps/web/public/static/locales/en/common.json @@ -1800,7 +1800,6 @@ "team_url": "Team URL", "team_members": "Team members", "more": "More", - "cal_ai_workflows": "Cal.ai Workflows", "and_count_more": "and {{count}} more", "more_page_footer": "We view the mobile application as an extension of the web application. If you are performing any complicated actions, please refer back to the web application.", "workflow_example_1": "Send SMS reminder 24 hours before event starts to attendee", diff --git a/packages/features/tips/Tips.tsx b/packages/features/tips/Tips.tsx index adfeca740b..604d946fa0 100644 --- a/packages/features/tips/Tips.tsx +++ b/packages/features/tips/Tips.tsx @@ -1,4 +1,4 @@ -// eslint-disable-next-line no-restricted-imports + import shuffle from "lodash/shuffle"; import { useState, memo } from "react"; @@ -156,17 +156,7 @@ export const tips: Tip[] = [ }, ]; -const CalAIWorkflowsTip: Tip = { - id: 18, - thumbnailUrl: "https://img.youtube.com/vi/fMHW6jYPIb8/0.jpg", - title: "cal_ai_workflows", - description: "supercharge_your_workflows_with_cal_ai_description", - href: "/workflows", - coverPhoto: "/cal-ai-workflow-sidebar.jpg", - variant: "NewLaunchSidebarCard", -}; - -const reversedTips = [...shuffle(tips).slice(0).reverse(), CalAIWorkflowsTip]; +const reversedTips = [...shuffle(tips).slice(0).reverse()]; function Tips() { const { t } = useLocale(); @@ -216,7 +206,6 @@ function Tips() { }}> {list.map((tip) => { const isTopTip = baseOriginalList.indexOf(tip) === 0; - const isCalAIWorkflowsTip = tip.title === "cal_ai_workflows"; return (