Skip to content

Commit

Permalink
feat: clarify experiments usage in FFs onboarding (#17870)
Browse files Browse the repository at this point in the history
clarify experiments usage in FFs onboarding
  • Loading branch information
raquelmsmith authored Oct 10, 2023
1 parent 03093a8 commit 69a7e45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
4 changes: 2 additions & 2 deletions frontend/src/scenes/onboarding/Onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,9 @@ const FeatureFlagsOnboarding = (): JSX.Element => {
return (
<OnboardingWrapper>
<SDKs
usersAction="loading flags"
usersAction="loading flags & experiments"
sdkInstructionMap={FeatureFlagsSDKInstructions}
subtitle="Choose the framework where you want to use feature flags, or use our all-purpose JavaScript library. If you already have the snippet installed, you can skip this step!"
subtitle="Choose the framework where you want to use feature flags and/or run experiments, or use our all-purpose JavaScript library. If you already have the snippet installed, you can skip this step!"
stepKey={OnboardingStepKey.SDKS}
/>
</OnboardingWrapper>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,18 @@ import { SDKKey } from '~/types'
export const FlagImplementationSnippet = ({ sdkKey }: { sdkKey: SDKKey }): JSX.Element => {
return (
<>
<h3>Basic implementation</h3>
<h3>Basic flag implementation</h3>
<CodeInstructions
options={OPTIONS}
selectedLanguage={sdkKey}
showAdvancedOptions={false}
showFooter={false}
/>
<h3>Running experiments</h3>
<p>
Experiments run on top of our feature flags. Once you've implemented the flag in your code, you you'll
run an A/B test by creating a new experiment in the PostHog dashboard.
</p>
</>
)
}

0 comments on commit 69a7e45

Please sign in to comment.