PostHog / posthog

🦔 PostHog provides open-source web & product analytics, session recording, feature flagging and A/B testing that you can self-host. Get started - free.
https://posthog.com
Other
22.09k stars 1.34k forks source link

Improve feature flags implementation support #14219

Open liyiy opened 1 year ago

liyiy commented 1 year ago

Is your feature request related to a problem?

We often receive a lot of support questions around more complicated feature flags implementations as we support multiple functionalities across many client and server side libraries.

Our docs are helpful in explaining all of this but it can still be difficult to figure out exactly what you need from it and sometimes users don't want to read through pages of documentation to get things up and running.

This includes:

Describe the solution you'd like

  1. A short questionnaire wizard to help users determine what library they're planning to use and if they need any other setups (local eval, bootstrapping) within the feature flag creation screen. It'll then show the exact instructions or docs to follow for it.

  2. Updated docs and tutorial examples. @ivanagas has been doing a great job at this with tutorials like https://posthog.com/tutorials/canary-release. It would be nice to add one or two more variations (like with JSON payloads or server side local eval/bootstrapping)

  3. TBD: A way for users to check their feature flag implementation and that they're receiving events with that feature flag without having to navigate to /events or /insights to do that

Describe alternatives you've considered

Additional context

Thank you for your feature request – we love each and every one!

EDsCODE commented 1 year ago

Possible opportunities for 3:

EDsCODE commented 1 year ago

Related ^ https://github.com/PostHog/posthog/pull/14245

annikaschmid commented 1 year ago

Related: https://github.com/PostHog/product-internal/issues/441