Features
What is a feature ?
A feature flag, also known as a feature toggle, is a development technique that allows you to enable or disable specific features within your application. In our platform, you need to provide 2 basic information:
- A reference name: This is a key you provide to uniquely identify the flag in your code.
- A display name: This is used to easily find features in our platform.
How to create a feature
![create feature](/img/create_feature.png)
How to manage a feature
In the list view, you can access the feature details by either clicking on the reference name or by choosing View
within the row's action menu
![manage feature](/img/manage_feature.png)
Overwriting the state by environments
When you create a feature flag, it will automatically be linked to a default
environment, but what if you have mutiple environments to handle? This is where overwrites
come into play. Overwrites allow you to define a specific feature flag state based on an environment, allowing overwriting the default configuration.
To add an overwrite, go in the details view of a feature flag, select the environment
dropdown and click on Add overwrite
.
![select add overwrite](/img/add_overwrite.png)
Then, select the environment you wish to add an overwrite on and click Add
. Creating an overwrite will use the same flag's state as the default
one.
![select environment](/img/select_environment.png)
To delete an overwrite, click on the three dot menu
and select Delete overwrite
.
![delete overwrite](/img/delete_overwrite.png)
You can find more information about environments here