Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion pages/feature-flags/_meta.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
{
"the-flag-list": "The Flag List",
"organizing-flags": "Organizing flags",
"create-flag-variations": "Create flag variations",
"targeting-users-with-flags": "Targeting users with flags",
"the-flag-insights": "The flag insights",
"organizing-flags": "Organizing flags",
"users-and-user-segments": "Users and user segments",
"feature-workflow": "Feature workflow",
"audit-log": "Audit log"
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions pages/feature-flags/organizing-flags/_meta.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"the-flags-list": "Targeting rules",
"copy-flags": "Copy flags",
"projects": "Projects",
"environments": "Environments",
"copy-flags": "Copy flags",
"clone-existing-flags": "Clone existing flags",
"compare-and-copy-settings": "Compare and copy settings",
"archiving-and-deleting": "Archiving and Deleting"
}
18 changes: 18 additions & 0 deletions pages/feature-flags/organizing-flags/clone-existing-flags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Cloning existing flags

## Overview

This topic explains how to create new flags within the same environment by cloning existing flags. When you clone a flag, FeatBit creates a new flag and copies the original flag’s on/off state and targeting settings to the new flag. You can then modify the clone’s configuration if needed.

To clone a flag:

1. Navigate to the flag list and choose the flag you want to clone.
2. Click the **Clone** action button to open the "Clone feature flag" dialog.

![Clone feature flag](../../feature-flags/assets/organizing-flags/clone-existing-flags/open-clone-dialog.png)

3. In the dialog, enter a unique, human-readable **Name** for the new flag.
4. (Optional) The **Key** field auto-populates based on the name you enter, but you can modify it if needed.
5. (Optional) Enter a Description of the new flag. A brief, human-readable description helps your team members understand what the flag is for.
6. (Optional) Choose one or more tags for your flag.
7. Click the **Clone** button to create the new flag.
55 changes: 55 additions & 0 deletions pages/feature-flags/organizing-flags/compare-and-copy-settings.mdx
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
import { Callout } from 'nextra/components'

# Compare and copy settings

## Overview

This topic explains how to compare a feature flag’s settings between two project environments and copy selected settings to another environment for the same flag key.

## Compare settings

To compare flag settings between two project environments:

1. Navigate to the flags list and select the flag you want to compare.
2. Click **Compare** to open the Compare drawer, as shown below:

![Compare feature flag drawer](../assets/organizing-flags/compare-and-copy-settings/compare-drawer.png)

3. In the drawer, select the target environment to compare with the current environment.
4. If a flag with the same key does not exist in the target environment, you will see a message indicating that. Otherwise, a side-by-side comparison of the flag settings appears, as shown below:

![Compare flag settings](../assets/organizing-flags/compare-and-copy-settings/compare-settings.png)

## Copy settings

When reviewing the comparison result, you can select settings that differ and copy them from the current environment to the target environment.

When copying `Individual Targeting` and `Targeting Rules`, you can choose whether to **append** to the existing settings in the target environment or **overwrite** them.

<Callout type="info">
Targeting rules cannot be copied if any rule references environment-specific segments or uses shared segments that are incompatible with the target environment.
</Callout>

1. In the comparison view, select the settings you want to copy by checking the corresponding checkboxes.
2. When you select a setting, the "Value after applied" section shows the expected value after the copy is applied.

![Show value after applied](../assets/organizing-flags/compare-and-copy-settings/value-after-applied.png)

3. After selecting the desired settings, click the **Copy Settings** button.

## Helicopter view

You can also get a helicopter view of all flags with differences between project environments. To do this:

1. Navigate to the flag list of your project.
2. Click the **Compare** button in the top right corner of the page to open the helicopter view index page.

![Helicopter view index](../assets/organizing-flags/compare-and-copy-settings/helicopter-view-index.png)
3. On the helicopter view index page, select the target project environments you want to compare with the current environment, and then click **Apply**.
4. A comparison overview table appears. Columns represent the selected target environments, while rows represent the flags. Each cell shows differences between the current environment and the target environment for that flag.

![Helicopter view results](../assets/organizing-flags/compare-and-copy-settings/helicopter-view-results.png)

5. You can also click on a cell to open the detailed comparison view for that specific flag between the two environments.

![Helicopter view open detail](../assets/organizing-flags/compare-and-copy-settings/helicopter-view-open-detail.png)
38 changes: 38 additions & 0 deletions pages/feature-flags/organizing-flags/copy-flags.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copy feature flags across project environments

## Overview

This topic explains how to copy feature flags across different project environments within your organization.

## Copy Feature Flags

In the flags list page, click the **Copy To** action button and then the dialog shows up:

![Copy single flag](../../feature-flags/assets/organizing-flags/copy-flags/copy-single-flag.png)

After that, choose the target environment to which you want to copy the flag, a precheck will then be done to make sure if we can fully copy the flag to the target environment

![Copy precheck result](../../feature-flags/assets/organizing-flags/copy-flags/copy-single-flag-precheck-result.png)

If there is no issue to you, click the **Save** button to confirm, and the feature flag will be copied to the target project environment.

## Batch Copy

Select the flags you want to copy from the flags list. Then, click the **Batch Copy To** button, as shown below:

![Select the flags to copy](../../feature-flags/assets/organizing-flags/copy-flags/select-flags.png)

Choose the target environment to which you want to copy the flags. Then, check the flags you want to copy. Once you've made your selections, click the **Save** button.

## Current Restrictions

Certain scenarios will prevent fully copying feature flags:

1. **Duplicate Keys**: A flag cannot be copied if the target environment already contains a flag with the same key.
2. **Individual Users**: Individual user targets cannot be copied because user data is environment-specific.
3. **Restricted Shareable Segments**: Targeting rules cannot be copied if the flag references a shareable segment, but the scope of that shareable segment does not contain the target environment.
4. **Environment-Specific Segments**: Targeting rules cannot be copied if the flag references an environment-specific segment.

As shown below, a warning message will appear if you attempt to copy a feature flag that has one or more of these restrictions.

![Restrictions on copying feature flags](../../feature-flags/assets/organizing-flags/copy-flags/restrictions.png)
37 changes: 0 additions & 37 deletions pages/feature-flags/organizing-flags/copy-flags.mdx

This file was deleted.

54 changes: 0 additions & 54 deletions pages/feature-flags/organizing-flags/the-flags-list.mdx

This file was deleted.

26 changes: 26 additions & 0 deletions pages/feature-flags/the-flag-list.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# The flag list

## Overview

This topic explains how to use the feature flags list, which shows your feature flags and gives you options to create, modify, and manage them.

## Viewing feature flags

All of your feature flags **within an environment** appear on the flags list. Creating a new flag adds it to the list, and archiving a flag removes it from the list. You can use the search bar to find a flag by name, key, tag, or status.
By default, the archived flags **will not** be shown in the list. To view them, you need to check the **Archived** checkbox.

Here is an image of the feature flags list:

![Flag List](../feature-flags/assets/the-flag-list/overview.png)

## Sort feature flags

By default, the most recently created flags appear first, and you can configure this default sorting behavior at the **organization level**.
We currently support two sorting options:

- **Recently created**: Flags are sorted based on their creation date, in **descending** order.
- **Key Alphabetical order**: Flags are sorted in alphabetical order based on their keys, in **ascending** order (a to z).

Here is an image showing how to configure the default sorting behavior:

![Sort Flags By](../feature-flags/assets/the-flag-list/sort-flags-by.png)
9 changes: 7 additions & 2 deletions pages/licenses/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@ FeatBit is an Open Core product, with the majority of its code under the permiss

Certain features in FeatBit are subject to licensing restrictions and require a valid license key. These features include:

- Schedule
- Change request
- Schedule Flag Changes
- Flag Change Requests
- Single Sign-On (SSO)
- Multi-organizations
- Global User
- Shareable Segments
- Auto Agents
- Fine-grained Access Control
- Flag Comparison

Each license key is associated with a specific workspace. Once set up, the license key applies to all organizations within that workspace.