The Flags page is an overview of all the flags you have created on your Flagship account, with an overview of how many live, paused and draft use cases use this flag. All the flags you create in this page will be available in the flag section of your use cases.
π Definition
A flag is a variable you want to act on with a specific value (Boolean, integer, string, object, array).
Each flag displays the number of live, paused, draft features and code-based references in which it is used.
βοΈ Configuration
To create a flag, apply the following steps:
- Click Create new flag.
- Enter the flag name and description.
- Select the flag type among the following: Text, Boolean, Numbers, Object, Array.
- (Optional) Enter the predefined values of the flag.
- Click Create:
The created flag appears in a new line.
β Good to know We recommend using a clear name and description for your flag to avoid issues with the flag spelling or type when using it in future use cases. |
Once a flag has been created, it will be displayed in the flag list along with the other, previously created flags.
π© Heads up If you are editing a flag name or type that is already used in one or several use cases, this could break your app/website. For this reason, we donβt recommend editing a flag that is already used in a use case. |
And get the following information at first sight:
- the flag name;
- the flag type;
- the creation date;
- the flag category
- the default and predefined values
- the number of live, paused and draft use cases in which the flag is being used.
And on click on the line:
- the predefined values set up earlier;
- the name and status of the use cases in which the flag is being used;
- the flag location in the use case;
- the information on whether the flag is present in the code or not and how many occurrences there are (if you have correctly set up the codebase analyzer).
To find out the exact location of your flag, you can click on the repository link to be redirected to your versioning tool.
To be able to retrieve your flags more easily, you can filter them by creation date and type using the Filter button.
π€Use case
The flags page can be useful to:
- Make sure the flag you are using in your use case will be the same as the one in your code (with the list of pre-filled flags).
- Let the developers integrate the Codebase Analyser to always have the latest flags implemented in the code and pushed live.
- Know how many features a flag is used in, and the name and status of these features from the Usage section.
- Know whether a flag is used in your code and where from the Codebase references tab.
Need additional information?
Submit your request at product.feedback@abtasty.com
Always happy to help!