fix: carify what sender ID means (#9431)

* add tooltip on info icon

* fix text

* fix UI in addActionDialog

---------

Co-authored-by: CarinaWolli <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2023-06-11 03:20:13 +00:00
1 parent 7d1ea4ee2b
commit 9231218350
3 files changed
+16 -2

No files matched your search

@@ -23,7 +23,9 @@ import {
Label,
PhoneInput,
Select,
Tooltip,
} from "@calcom/ui";
import { Info } from "@calcom/ui/components/icon";
import { WORKFLOW_ACTIONS } from "../lib/constants";
import { onlyLettersNumbersSpaces } from "../pages/workflow";
@@ -195,7 +197,12 @@ export const AddActionDialog = (props: IAddActionDialog) => {
{isSenderIdNeeded ? (
<>
<div className="mt-5">
<Label>{t("sender_id")}</Label>
<div className="flex">
<Label>{t("sender_id")}</Label>
<Tooltip content={t("sender_id_info")}>
<Info className="mr-1 mt-0.5 ml-2 h-4 w-4 text-gray-500" />
</Tooltip>
</div>
<Input
type="text"
placeholder={SENDER_ID}
@@ -35,6 +35,7 @@ import {
Editor,
AddVariablesDropdown,
Input,
Tooltip,
} from "@calcom/ui";
import { ArrowDown, MoreHorizontal, Trash2, HelpCircle, Info } from "@calcom/ui/components/icon";
@@ -558,7 +559,12 @@ export default function WorkflowStepContainer(props: WorkflowStepProps) {
{isSenderIdNeeded ? (
<>
<div className="pt-4">
<Label>{t("sender_id")}</Label>
<div className="flex">
<Label>{t("sender_id")}</Label>
<Tooltip content={t("sender_id_info")}>
<Info className="mr-1 mt-0.5 ml-2 h-4 w-4 text-gray-500" />
</Tooltip>
</div>
<Input
type="text"
placeholder={SENDER_ID}