:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(slack_app): drop references to the deleted slack-app flags (#96918)
posthog[bot]27a390427726
diff --git a/docs/internal/slack-local-setup-guide.md b/docs/internal/slack-local-setup-guide.mdindex 22eb39bde1fc..9a09199a7ad1 100644--- a/docs/internal/slack-local-setup-guide.md+++ b/docs/internal/slack-local-setup-guide.md@@ -142,7 +142,8 @@ Django must be up at that moment.> The `app_home` block + `app_home_opened` bot event power the App Home tab; the> Sign in with Slack (OpenID Connect) flow needs `user` scopes `openid` + `email` + `profile` and> the second redirect URL (`/complete/slack-link/`). Drop those if you don't want either feature-> locally — they're behind the `slack-app-home` and `slack-app-oauth` flags.+> locally. Neither is behind a feature flag: the App Home tab renders for every install, and the+> identity link appears only when the install holds the `users:read` and `users:read.email` scopes.> `reaction_added` + `reactions:read` power thumbs-reaction feedback on agent replies. Without> them a 👍/👎 reaction on a reply records nothing, again with no error.diff --git a/products/slack_app/backend/services/slack_app_home.py b/products/slack_app/backend/services/slack_app_home.pyindex c47466aceb45..335ae6d44edb 100644--- a/products/slack_app/backend/services/slack_app_home.py+++ b/products/slack_app/backend/services/slack_app_home.py@@ -698,7 +698,7 @@ def _linked_accounts_section_blocks(section and renders `actions` blocks full width, so a row apiece is theonly layout that keeps each button next to the account it acts on.The PostHog row only appears when `is_slack_app_oauth_enabled` returned- True; the GitHub row is independent of that flag.+ True; the GitHub row is independent of that gate."""rows: list[dict] = []@@ -2395,8 +2395,7 @@ def _resolve_stats_state() -> StatsState | None:"""Workspace activity aggregates, or None when the card shouldn't render at all.- Admin-only, and rides the same `slack-app-home` gate as the rest of the tab — the- callers already returned early when that flag is off.+ Admin-only: every other card on the tab renders for any viewer.Scoped to the projects this admin can already reach: being a Slack workspace adminsays nothing about PostHog org membership, so the card must never widen what its