mirror of
https://github.com/Unleash/unleash.git
synced 2025-08-18 13:48:58 +02:00
chore: Document default strategy (#4010)
<!-- Thanks for creating a PR! To make it easier for reviewers and everyone else to understand what your changes relate to, please add some relevant content to the headings below. Feel free to ignore or delete sections that you don't think are relevant. Thank you! ❤️ --> Documenting Default Strategy ## About the changes <!-- Describe the changes introduced. What are they and why are they being introduced? Feel free to also add screenshots or steps to view the changes if they're visual. --> <!-- Does it close an issue? Multiple? --> Closes # [1-1023](https://linear.app/unleash/issue/1-1023/document-strategy-improvements) <!-- (For internal contributors): Does it relate to an issue on public roadmap? --> <!-- Relates to [roadmap](https://github.com/orgs/Unleash/projects/10) item: # --> ### Important files <!-- PRs can contain a lot of changes, but not all changes are equally important. Where should a reviewer start looking to get an overview of the changes? Are any files particularly important? --> ## Discussion points <!-- Anything about the PR you'd like to discuss before it gets merged? Got any questions or doubts? --> --------- Signed-off-by: andreas-unleash <andreas@getunleash.ai> Co-authored-by: Thomas Heartman <thomas@getunleash.ai>
This commit is contained in:
parent
f01b94c846
commit
7a5c77376a
@ -20,7 +20,7 @@ This article contains all the details about how change requests work in Unleash;
|
||||
|
||||
Feature flagging is a powerful tool, and because it's so powerful, you sometimes need to practice caution. The ability to have complete control over your production environment comes at the cost of the potential to make mistakes in production. Change requests were introduced in version 4.19.0 to alleviate this fear. Change requests allow you to group changes together and apply them to production at the same time, instead of applying changes directly to production. This allows you to make multiple changes to feature toggles and their configuration and status (on/off) all at once, reducing the risk of errors in production.
|
||||
|
||||
Our goal is developer effeciency, but we also recognize that we have users and customers in highly regulated industries, governed by law and strict requirements. Therefore, we have added a capability to change requests that will allow you to enforce the _4 eyes principle_.
|
||||
Our goal is developer efficiency, but we also recognize that we have users and customers in highly regulated industries, governed by law and strict requirements. Therefore, we have added a capability to change requests that will allow you to enforce the _4 eyes principle_.
|
||||
|
||||
## Change request configuration
|
||||
|
||||
|
@ -98,3 +98,26 @@ All available projects are available from the drop-down menu.
|
||||
If you want to change which project a feature toggle belongs to, you can change that from the feature toggle's configuration page. Under the _settings_ tab, choose the _project_ option and choose the new project from the dropdown menu.
|
||||
|
||||

|
||||
|
||||
## Project default strategy
|
||||
import Figure from '@site/src/components/Figure/Figure.tsx'
|
||||
|
||||
:::info Availability
|
||||
|
||||
The project default strategy feature is generally available starting with **Unleash 5.2.0**.
|
||||
|
||||
:::
|
||||
|
||||
You can define default strategies for each of a project's environments. The default strategy for an environment will be added to a feature when you enable it in an environment **if and only if** the feature has **no active strategies** defined.
|
||||
|
||||
All default project strategies use the [gradual rollout activation strategy](activation-strategies.md). By default, the rollout 100%. You can customize the strategies by changing the rollout percentage and adding [constraints](strategy-constraints.md) and [segments](segments.mdx) as you would for any other strategy.
|
||||
|
||||
### Configuration
|
||||
|
||||
Custom strategies are configured from each project's project settings tab.
|
||||
|
||||
<Figure caption="The default strategy configuration page is available from the project settings tab." img="/img/project-settings-default-sstrategy.png" />
|
||||
|
||||
The default strategies screen lists a strategy for each of the project's environments
|
||||
|
||||
<Figure caption="Each strategy can be individually configured with the corresponding edit button." img="/img/edit-default-strategy.png" />
|
||||
|
BIN
website/static/img/edit-default-strategy.png
Normal file
BIN
website/static/img/edit-default-strategy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 341 KiB |
BIN
website/static/img/project-settings-default-strategy.png
Normal file
BIN
website/static/img/project-settings-default-strategy.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 389 KiB |
Loading…
Reference in New Issue
Block a user