From 10f2e05fcc9d0016d707fbe40c9c9b2bb3ecdf27 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 22 Jul 2026 13:45:26 -0700 Subject: [PATCH 1/2] feat(sidebar): add Slack Community link to help dropdown --- .../[workspaceId]/w/components/sidebar/sidebar.tsx | 13 +++++++++++++ apps/sim/lib/posthog/events.ts | 4 ++++ 2 files changed, 17 insertions(+) diff --git a/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx b/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx index 66a04dfd0d4..ff7919b019a 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx @@ -39,6 +39,7 @@ import { MoreHorizontal, Pin } from 'lucide-react' import Link from 'next/link' import { useParams, usePathname, useRouter } from 'next/navigation' import { usePostHog } from 'posthog-js/react' +import { SlackIcon } from '@/components/icons' import { useSession } from '@/lib/auth/auth-client' import { SIM_RESOURCES_DRAG_TYPE } from '@/lib/copilot/resource-types' import { isMacPlatform } from '@/lib/core/utils/platform' @@ -115,6 +116,9 @@ import { useSidebarStore } from '@/stores/sidebar/store' const logger = createLogger('Sidebar') +const SLACK_COMMUNITY_URL = + 'https://join.slack.com/t/sim-ott9864/shared_invite/zt-451nu802o-ZS8Q5qHLXK1EJ0Mt~wycYA' + export function SidebarTooltip({ children, label, @@ -1170,6 +1174,11 @@ export const Sidebar = memo(function Sidebar({ isCollapsed }: SidebarProps) { captureEvent(posthog, 'docs_opened', { source: 'help_menu' }) }, [posthog]) + const handleOpenSlackCommunity = useCallback(() => { + window.open(SLACK_COMMUNITY_URL, '_blank', 'noopener,noreferrer') + captureEvent(posthog, 'slack_community_opened', { source: 'help_menu' }) + }, [posthog]) + const handleChatRenameBlur = useCallback( () => void chatFlyoutRename.saveRename(), [chatFlyoutRename.saveRename] @@ -1670,6 +1679,10 @@ export const Sidebar = memo(function Sidebar({ isCollapsed }: SidebarProps) { Docs + + + Slack Community + Report an issue diff --git a/apps/sim/lib/posthog/events.ts b/apps/sim/lib/posthog/events.ts index abef034dcd7..61534aeb1a3 100644 --- a/apps/sim/lib/posthog/events.ts +++ b/apps/sim/lib/posthog/events.ts @@ -547,6 +547,10 @@ export interface PostHogEventMap { block_type?: string } + slack_community_opened: { + source: 'help_menu' + } + search_result_selected: { result_type: | 'block' From ac8491d1b4810cd294bc41d2411e67c67e180a82 Mon Sep 17 00:00:00 2001 From: Waleed Latif Date: Wed, 22 Jul 2026 13:53:27 -0700 Subject: [PATCH 2/2] chore(sidebar): use existing Slack community invite link --- .../workspace/[workspaceId]/w/components/sidebar/sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx b/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx index ff7919b019a..e7a22926be7 100644 --- a/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx +++ b/apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx @@ -117,7 +117,7 @@ import { useSidebarStore } from '@/stores/sidebar/store' const logger = createLogger('Sidebar') const SLACK_COMMUNITY_URL = - 'https://join.slack.com/t/sim-ott9864/shared_invite/zt-451nu802o-ZS8Q5qHLXK1EJ0Mt~wycYA' + 'https://join.slack.com/t/sim-ott9864/shared_invite/zt-43lp8tc5v-0qrrqHGBKUsvQlpoouH~TA' export function SidebarTooltip({ children,