feat: expose slack agent configuration page via posthog code settings#2061
feat: expose slack agent configuration page via posthog code settings#2061posthog[bot] wants to merge 3 commits intomainfrom
Conversation
Adds a Slack tab in the settings sidebar that explains the integration and links to the project-level Slack integration page in PostHog Web, since the integration isn't yet configurable from PostHog Code itself. Generated-By: PostHog Code Task-Id: 510f78f8-695d-4c28-95e9-e309b049158a
|
- Move openUrlInBrowser out of the GitHub hook into its own utility module so SlackSettings (and any future caller) doesn't depend on a feature-specific file. - Wrap the disabled "Manage in PostHog Web" button in a Tooltip explaining why it's disabled when the user has no active project. Generated-By: PostHog Code Task-Id: 510f78f8-695d-4c28-95e9-e309b049158a
Summary
Slacktab to the settings sidebar (between GitHub and Signals) using the PhosphorSlackLogoicon.Slack integrationpage with a short description and aManage in PostHog Webbutton that opens the project-level Slack integration page in the user's active PostHog cloud region (/project/{projectId}/settings/project-posthog-code#integration-posthog-code-slack).Test plan
Slack integration, description copy, andManage in PostHog Webbutton render.getPostHogUrl).projectId) and confirm the button is disabled rather than opening a broken URL.Created with PostHog Code