fix: added link to notion doc (#4670)

This commit is contained in:
Dhruwang Jariwala
2025-01-27 18:14:09 +05:30
committed by GitHub
parent d28f321aa2
commit d8386328e7
6 changed files with 17 additions and 2 deletions

View File

@@ -6,8 +6,10 @@ import { Checkbox } from "@/modules/ui/components/checkbox";
import { DropdownSelector } from "@/modules/ui/components/dropdown-selector";
import { Label } from "@/modules/ui/components/label";
import { Modal } from "@/modules/ui/components/modal";
import { CircleHelpIcon } from "lucide-react";
import { useTranslations } from "next-intl";
import Image from "next/image";
import Link from "next/link";
import { useEffect, useMemo, useState } from "react";
import { useForm } from "react-hook-form";
import toast from "react-hot-toast";
@@ -216,9 +218,18 @@ export const AddChannelMappingModal = ({
setSelectedItem={setSelectedChannel}
disabled={channels.length === 0}
/>
<Link
href="https://formbricks.com/docs/developer-docs/integrations/slack"
target="_blank"
className="text-xs">
<Button variant="ghost" size="sm" className="my-2" type="button">
<CircleHelpIcon className="h-4 w-4" />
{t("environments.integrations.slack.dont_see_your_channel")}
</Button>
</Link>
{selectedChannel && hasMatchingId && (
<p className="text-xs text-amber-700">
<strong>{t("environments.integrations.slack.note")}:</strong>{" "}
<strong>{t("common.note")}:</strong>{" "}
{t("environments.integrations.slack.already_connected_another_survey")}
</p>
)}

View File

@@ -13,7 +13,7 @@ const buttonVariants = cva(
destructive: "bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",
outline: "border border-input bg-background shadow-sm hover:bg-accent hover:text-accent-foreground",
secondary: "bg-secondary text-secondary-foreground shadow-sm hover:bg-secondary/50",
ghost: "hover:bg-accent hover:text-accent-foreground",
ghost: "hover:bg-accent hover:text-accent-foreground text-primary",
link: "text-primary underline-offset-4 hover:underline",
},
size: {

View File

@@ -754,6 +754,7 @@
"connect_your_first_slack_channel": "Verbinde deinen ersten Slack Kanal, um loszulegen.",
"connected_with_team": "Verbunden mit {team}",
"create_at_least_one_channel_error": "Du musst mindestens einen Kanal erstellen, um diese Integration einrichten zu können.",
"dont_see_your_channel": "Siehst du deinen Kanal nicht?",
"link_channel": "Kanal verknüpfen",
"link_slack_channel": "Slack Kanal verknüpfen",
"please_select_a_channel": "Bitte wähle einen Kanal aus",

View File

@@ -754,6 +754,7 @@
"connect_your_first_slack_channel": "Connect your first Slack channel to get started.",
"connected_with_team": "Connected with {team}",
"create_at_least_one_channel_error": "You have to create at least one channel to be able to setup this integration",
"dont_see_your_channel": "Don't see your channel?",
"link_channel": "Link channel",
"link_slack_channel": "Link Slack Channel",
"please_select_a_channel": "Please select a channel",

View File

@@ -754,6 +754,7 @@
"connect_your_first_slack_channel": "Connectez votre premier canal Slack pour commencer.",
"connected_with_team": "Connecté avec {équipe}",
"create_at_least_one_channel_error": "Vous devez créer au moins un canal pour pouvoir configurer cette intégration.",
"dont_see_your_channel": "Tu ne vois pas ton canal?",
"link_channel": "Canal de lien",
"link_slack_channel": "Lier le canal Slack",
"please_select_a_channel": "Veuillez sélectionner une chaîne.",

View File

@@ -754,6 +754,7 @@
"connect_your_first_slack_channel": "Conecte seu primeiro canal do Slack para começar.",
"connected_with_team": "Conectado com {equipe}",
"create_at_least_one_channel_error": "Você tem que criar pelo menos um canal para poder configurar essa integração",
"dont_see_your_channel": "Não está vendo seu canal?",
"link_channel": "Canal de link",
"link_slack_channel": "Link do Canal do Slack",
"please_select_a_channel": "Por favor, escolha um canal",