From 3e89b73ca0fb898e8c6fc24ac8734b48e4dd09a6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Elena=20Torr=C3=B3?= Date: Tue, 25 Feb 2025 12:51:00 +0100 Subject: [PATCH] :books: Add developer docs about how to test feature flags by team (#5949) --- docs/technical-guide/developer/devenv.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/technical-guide/developer/devenv.md b/docs/technical-guide/developer/devenv.md index 1f9f720b3..8728a8cbc 100644 --- a/docs/technical-guide/developer/devenv.md +++ b/docs/technical-guide/developer/devenv.md @@ -157,3 +157,11 @@ similar to a webmail client. Simply navigate to: [http://localhost:1080](http://localhost:1080) +## Team Feature Flags + +To test a Feature Flag, you can enable or disable them by team through the `dbg` page: + +1. Create a new team or navigate to an existing team in Penpot. +2. Copy the `team-id` from the URL (e.g., `?team-id=1234bd95-69dd-805c-8005-c015415436ae`). If no team is selected, the default profile team will be used. +3. Go to [http://localhost:3449/dbg](http://localhost:3449/dbg). +4. Open the Feature Flag panel, enter the `team-id` and the `feature` name in either the enable or disable section, and click `Submit`.