From 105ed972b2ef7f489f1530aada0ef599c66f8338 Mon Sep 17 00:00:00 2001 From: "inkeep[bot]" <257615677+inkeep[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 21:51:59 +0000 Subject: [PATCH 1/2] docs: add inline editing section to feature flags docs Documents the new inline editing capabilities from PR posthog/posthog#49134, including editable sections, flag description save-on-blur, flag key rename safety, and experiment-linked flag restrictions. --- .../feature-flags/creating-feature-flags.mdx | 38 +++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/contents/docs/feature-flags/creating-feature-flags.mdx b/contents/docs/feature-flags/creating-feature-flags.mdx index 8312e254b206..ed5a81696504 100644 --- a/contents/docs/feature-flags/creating-feature-flags.mdx +++ b/contents/docs/feature-flags/creating-feature-flags.mdx @@ -249,3 +249,41 @@ You can use tags to accomplish: We recommend reading the [evaluation contexts documentation](/docs/feature-flags/evaluation-contexts) in detail before using it in production. + +## Editing feature flags + +After creating a feature flag, you can edit it directly from the flag's overview page without navigating to a separate edit form. + +### Inline editing + +Hover over any editable section on the feature flag overview page to reveal an **Edit** button. Click it to enter edit mode for that section. The following sections support inline editing: + +| Section | What you can edit | +|---------|-------------------| +| **Advanced options** | Tags, evaluation runtime, persistence settings | +| **Payload** | JSON payload values for boolean flags | +| **Release conditions** | Targeting rules and rollout percentages | +| **Variants** | Variant keys, rollout percentages, descriptions, and payloads | + +After making changes, click **Save** to apply them or **Cancel** to discard. If you cancel with unsaved changes, a confirmation dialog appears to prevent accidental data loss. + + + +You can only edit one section at a time. Save or cancel your current edits before editing another section. + + + +### Editing the flag description + +The flag description is editable directly from the overview page. Click on the description text to edit it inline. Changes save automatically when you click away. + +### Editing the flag key + +The flag key is not editable from the overview page because changing it can break SDK calls like `posthog.isFeatureEnabled('your-flag-key')` or `posthog.getFeatureFlag('your-flag-key')`. + +To change a flag key, use the full edit form. When you change the key, PostHog shows an inline warning under the key field and requires confirmation before saving. + +### Experiment-linked flags + +For feature flags linked to an [experiment](/docs/experiments), inline editing is restricted for **variants** and **release conditions** since these are managed by the experiment. + From 27832075fe9b16d2e74dd39232688793a36d4af9 Mon Sep 17 00:00:00 2001 From: "inkeep[bot]" <257615677+inkeep[bot]@users.noreply.github.com> Date: Thu, 26 Feb 2026 21:52:43 +0000 Subject: [PATCH 2/2] docs: add inline editing bullet to feature flags start-here page Reflects PR posthog/posthog#49134 which adds inline section editing to the feature flag overview page for release conditions, payloads, and variants. --- contents/docs/feature-flags/start-here.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/contents/docs/feature-flags/start-here.mdx b/contents/docs/feature-flags/start-here.mdx index 49ca1e6127aa..433f3c309a35 100644 --- a/contents/docs/feature-flags/start-here.mdx +++ b/contents/docs/feature-flags/start-here.mdx @@ -72,6 +72,7 @@ import OSButton from 'components/OSButton' - **Phased rollout** — Start at 5-10% of users, monitor metrics, then gradually increase - **Target by properties** — Show features to specific users, cohorts, or groups - **Set up dependencies** — Make flags depend on other flags for complex rollout strategies + - **Edit inline** — Update release conditions, payloads, and variants directly from the flag overview page