Skip to content

feat(sidebar): add Slack Community link to help dropdown#5858

Merged
waleedlatif1 merged 2 commits into
stagingfrom
feat/sidebar-slack-community
Jul 22, 2026
Merged

feat(sidebar): add Slack Community link to help dropdown#5858
waleedlatif1 merged 2 commits into
stagingfrom
feat/sidebar-slack-community

Conversation

@waleedlatif1

Copy link
Copy Markdown
Collaborator

Summary

  • Add a Slack Community item to the sidebar help dropdown that opens the community invite link in a new tab
  • Uses the existing SlackIcon and mirrors the Docs item pattern, with a typed slack_community_opened PostHog event

Type of Change

  • New feature

Testing

Tested manually

Checklist

  • Code follows project style guidelines
  • Self-reviewed my changes
  • Tests added/updated and passing
  • No new warnings introduced
  • I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)

@vercel

vercel Bot commented Jul 22, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
docs Skipped Skipped Jul 22, 2026 8:53pm

Request Review

@cursor

cursor Bot commented Jul 22, 2026

Copy link
Copy Markdown

PR Summary

Low Risk
UI-only navigation and analytics; no auth, data, or workflow behavior changes.

Overview
Adds a Slack Community entry to the workspace sidebar Help menu (between Docs and Report an issue). Selecting it opens the shared Slack invite in a new tab, using the same pattern as Docs (noopener,noreferrer).

The invite URL is defined as SLACK_COMMUNITY_URL in sidebar.tsx, and clicks emit a typed PostHog slack_community_opened event with source: 'help_menu', registered in events.ts alongside docs_opened.

Reviewed by Cursor Bugbot for commit ac8491d. Configure here.

Comment thread apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx Outdated
@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR adds a Slack Community link to the sidebar help menu. The main changes are:

  • Opens the Slack invite in a protected new tab.
  • Records a typed PostHog event from the help menu.

Confidence Score: 5/5

This looks safe to merge.

  • No blocking issues found in the changed code.

Important Files Changed

Filename Overview
apps/sim/app/workspace/[workspaceId]/w/components/sidebar/sidebar.tsx Adds the Slack Community menu item, protected new-tab action, and analytics callback.
apps/sim/lib/posthog/events.ts Adds the typed Slack Community event and its help-menu source.

Reviews (2): Last reviewed commit: "chore(sidebar): use existing Slack commu..." | Re-trigger Greptile

@waleedlatif1
waleedlatif1 merged commit 5338485 into staging Jul 22, 2026
13 checks passed
@waleedlatif1
waleedlatif1 deleted the feat/sidebar-slack-community branch July 22, 2026 20:54
@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@greptile

@waleedlatif1

Copy link
Copy Markdown
Collaborator Author

@cursor review

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit ac8491d. Configure here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant