Edits to Multi Environment docs#2712
Conversation
- Add intro blurb framing the dev/staging/prod use case - Fix location: Configuration tab > More section (not Settings) - Clarify push direction (source/original -> linked destination) - Document the actual Duplicate UI path (overflow menu) - Note Mixpanel-flag vs third-party-flag duplication behavior - Tighten copy and fix typos Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
| #### Feature Flags | ||
|
|
||
| If an experiment is linked to a Mixpanel Feature Flag, you can manage both from within the Experiments "Other Environments" menu. | ||
| If an experiment is linked to a **Mixpanel** Feature Flag, the underlying flag cannot be duplicated on its own from the Feature Flags page — use the experiment's Duplicate flow to copy the experiment and flag together. If your experiment uses a **third-party** flag instead, you can duplicate the experiment directly; no flag duplication step is involved. |
There was a problem hiding this comment.
Currently a user can duplicate the flag on it's own if they want to. But they are also able to duplicate both from the experiment page
There was a problem hiding this comment.
Interesting — in P3 I'm seeing the Duplicate button disabled on experiment-type flags with the tooltip "You cannot duplicate an experiment type feature flag" (screenshot below).
There was a problem hiding this comment.
Gotcha. Yeah in this case we should probably match the existing flow.
Are you good with me just disabling the "Duplicate to Project" button in the Other Environments selector and displaying a tooltip with the same copy writing here?
|
|
||
| This flow is for duplicating across projects only — to duplicate within the same project, use the same **Duplicate** option and leave the current project selected (this is also the standard in-project duplicate behavior). | ||
|
|
||
| Note that flags created as part of an experiment (experiment-type flags) cannot be duplicated from the Feature Flags page — duplicate the parent experiment instead, which will optionally duplicate the linked flag with it. |
There was a problem hiding this comment.
This is not currently true, although we could add this restriction. It may need some UX work though (I'm imagining the Multi Env selector just shows a redirect message to the experiment page instead of the normal multi-env content). Or we just hide the button altogether and replace with a link to the experiment tab.
There was a problem hiding this comment.
Same topic as the experiments.mdx thread — see screenshot there.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>

Suggested edits to your Multiple Environments section in #2706. Open against your branch so you can review and merge into your PR if you like the changes — or cherry-pick parts.
Summary
...menu → Duplicate → choose destination), and clarified the same-project caseTest plan
🤖 Generated with Claude Code