EXPERT_COMMS_BETA_ENABLED feature flag added
EXPERT_COMMS_BETA_ENABLED is a per-team PostHog flag. Flip it on for specific teams in the
PostHog UI — no deploy needed.
PostHog flag: EXPERT_COMMS_BETA_ENABLED
Use it in a component
import { mapState } from 'pinia'
import { useAccountSettingsStore } from '@/stores/account-settings.js'
export default {
computed: {
...mapState(useAccountSettingsStore, ['isExpertCommsBetaEnabled'])
}
}
<div v-if="isExpertCommsBetaEnabled">…beta UI…</div>
The getter updates reactively as PostHog re-evaluates flags.
Enable it for a team
- Open the flag in PostHog.
- Under Match by, pick Group →
team.
- Add filter:
team-id equals <team-hashid> (from GET /api/v1/user/teams → id field).
- Save. Have the user reload FlowFuse — the flag flips on within a few seconds.
Local testing
To test locally, add to flowforge.local.yml and restart the forge backend:
telemetry:
enabled: true
frontend:
posthog:
apiurl: https://eu.posthog.com
apikey: <phc_…project-token>
capture_pageview: false
To get apikey: Posthog -> Settings -> General -> Project token
Disable ad blockers on localhost (uBlock, Brave Shields, Privacy Badger all block
PostHog). If you see ERR_BLOCKED_BY_CLIENT in the console, that's why. Easiest fix:
test in a clean Incognito window with extensions off.
Verify in the console while logged into the target team:
window.posthog.getGroups() // → { team: "<id>" }
window.posthog.isFeatureEnabled('EXPERT_COMMS_BETA_ENABLED') // → true
EXPERT_COMMS_BETA_ENABLED feature flag added
EXPERT_COMMS_BETA_ENABLEDis a per-team PostHog flag. Flip it on for specific teams in thePostHog UI — no deploy needed.
PostHog flag: EXPERT_COMMS_BETA_ENABLED
Use it in a component
The getter updates reactively as PostHog re-evaluates flags.
Enable it for a team
team.team-idequals<team-hashid>(fromGET /api/v1/user/teams→idfield).Local testing
To test locally, add to
flowforge.local.ymland restart the forge backend:To get
apikey: Posthog -> Settings -> General -> Project tokenVerify in the console while logged into the target team: