feat(integrations): make Slack publicly available
Merged
SA
6mo ago+5+5+0123456789-66-66-01234567890123456789
What
Removes the internal-only `slack-integration-access` PostHog flag that gated the Slack integration. Slack now appears in the web integrations list and desktop settings for all users, alongside Linear and GitHub.
Paid access is still governed by the subscription paywall — this only removes the internal-only visibility gate.
Changes
- Web integrations page (`integrations/page.tsx`): render Slack unconditionally; dropped the `useFeatureFlagEnabled`/`useMemo` filter.
- Web Slack route layout (`integrations/slack/layout.tsx`): deleted — its only purpose was the server-side flag gate (returned 404 without the flag). The parent `(dashboard-legacy)` layout already redirects unauthenticated users to `/sign-in`, so the file was redundant once the gate was removed.
- Desktop IntegrationsSettings (`IntegrationsSettings.tsx`): Slack row now gates on `isItemVisible` only, same as Linear/GitHub.
- Shared constants (`constants.ts`): removed the now-dead `SLACK_INTEGRATION_ACCESS` flag.
Notes
- The API connect/callback routes and the tRPC `slackRouter` never checked this flag — only org membership — so no backend changes were needed.
- `grep` confirms zero remaining references to the flag.
Verification
- `bun run lint` — clean (exit 0)
- `bun run typecheck` (web, desktop, shared) — passes (exit 0)
Summary by cubic
Make the Slack integration publicly available by removing the internal-only slack-integration-access gate. Slack now appears in web integrations and desktop settings for all users; the subscription paywall still controls paid access.
- Refactors
- Web integrations: render Slack unconditionally; removed the flag check/filter.
- Deleted
apps/web/src/app/(dashboard-legacy)/integrations/slack/layout.tsx(server-side flag gate); parent layout already enforces auth. - Desktop settings: Slack row now gates on
isItemVisibleonly, matching Linear/GitHub. - Shared constants: removed
SLACK_INTEGRATION_ACCESS.
Summary by CodeRabbit
-
New Features
- Slack integration is now universally available to all users without restrictions.
-
Chores
- Removed feature-flag gating logic for Slack integration across the application.