diff --git a/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionList/ConstraintAccordionList.tsx b/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionList/ConstraintAccordionList.tsx index 85b3c33772..2bb6ed9c16 100644 --- a/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionList/ConstraintAccordionList.tsx +++ b/frontend/src/component/common/ConstraintAccordion/ConstraintAccordionList/ConstraintAccordionList.tsx @@ -16,7 +16,7 @@ interface IConstraintAccordionListProps { constraints: IConstraint[]; setConstraints?: React.Dispatch>; showCreateButton?: boolean; - /* Add "Custom constraints" title on the top - default `true` */ + /* Add "constraints" title on the top - default `true` */ showLabel?: boolean; } @@ -115,7 +115,7 @@ export const ConstraintAccordionList = forwardRef< } show={

- Custom constraints + Constraints

} /> @@ -141,7 +141,7 @@ export const ConstraintAccordionList = forwardRef< show={
-

Add any number of custom constraints

+

Add any number of constraints

- Add custom constraint + Add constraint
} diff --git a/website/docs/advanced/strategy-constraints.md b/website/docs/advanced/strategy-constraints.md index 4b4376b498..5981570f16 100644 --- a/website/docs/advanced/strategy-constraints.md +++ b/website/docs/advanced/strategy-constraints.md @@ -40,7 +40,7 @@ By using [custom context fields](../user_guide/unleash_context#custom-context-fi You can also combine strategy constraints with the [gradual rollout strategy](../user_guide/activation_strategy#gradual-rollout) to do a gradual rollout to a **specific segment** of your user base. -![A toggle with the gradual rollout strategy. The toggle is constrained on the custom content field "region" and set to only activate if the region is Africa or Europe.](/img/custom-constraints.png) +![A toggle with the gradual rollout strategy. The toggle is constrained on the custom content field "region" and set to only activate if the region is Africa or Europe.](/img/strategy-constraints.png) ## Constraint structure diff --git a/website/docs/how-to/how-to-add-strategy-constraints.md b/website/docs/how-to/how-to-add-strategy-constraints.md index c307b555c9..213ae871a0 100644 --- a/website/docs/how-to/how-to-add-strategy-constraints.md +++ b/website/docs/how-to/how-to-add-strategy-constraints.md @@ -20,7 +20,7 @@ On the strategy you're working with, find and select the "edit strategy" button. ![A feature toggle with one strategy. The "edit strategy" button is highlighted.](/img/add-constraint.png) -On the "edit strategy" screen, select the "add custom constraint" button to open the constraints menu. +On the "edit strategy" screen, select the "add constraint" button to open the constraints menu. ![A feature toggle strategy view showing a button labeled with add constraints.](/img/add-constraint.png) diff --git a/website/docs/how-to/how-to-schedule-feature-releases.mdx b/website/docs/how-to/how-to-schedule-feature-releases.mdx index f8edef34d0..f53d0d37b2 100644 --- a/website/docs/how-to/how-to-schedule-feature-releases.mdx +++ b/website/docs/how-to/how-to-schedule-feature-releases.mdx @@ -35,7 +35,7 @@ This guide assumes that you've got the following: To schedule a feature release via the UI: 1. Add the desired activation strategy to the feature -2. Open the constraint creator by using the "Add custom constraint" button +2. Open the constraint creator by using the "Add constraint" button 3. Add a date-based constraint by selecting the `currentTime` context field (step 1 in the below image), choosing the `DATE_AFTER` operator (step 2), and setting the point in time where you want the feature to be available from (step 3) ![A strategy constraint specifying that the activation strategy should be enabled at 12:00 AM, November 25th 2022. There are visual call-outs pointing to the relevant settings mentioned above.](/img/strategy-constraint-date-after.png) diff --git a/website/docs/user_guide/create-feature-toggle.md b/website/docs/user_guide/create-feature-toggle.md index 6ff89835aa..66083528b3 100644 --- a/website/docs/user_guide/create-feature-toggle.md +++ b/website/docs/user_guide/create-feature-toggle.md @@ -98,7 +98,7 @@ You can either [add constraints when you add the strategy](../api/admin/feature- ::: -In the strategy configuration screen for the strategy that you want to configure, use the "add custom constraint" button to add a custom constraint. +In the strategy configuration screen for the strategy that you want to configure, use the "add constraint" button to add a strategy constraint. ![](/img/create-toggle-add-constraint.png) diff --git a/website/static/img/add-constraint.png b/website/static/img/add-constraint.png index b57b9eb60f..d76eb65c24 100644 Binary files a/website/static/img/add-constraint.png and b/website/static/img/add-constraint.png differ diff --git a/website/static/img/constraints-add-additional.png b/website/static/img/constraints-add-additional.png index f28a339c53..3b26196529 100644 Binary files a/website/static/img/constraints-add-additional.png and b/website/static/img/constraints-add-additional.png differ diff --git a/website/static/img/constraints-add-to-strategy.png b/website/static/img/constraints-add-to-strategy.png index 4fca0b5ab9..3f93815821 100644 Binary files a/website/static/img/constraints-add-to-strategy.png and b/website/static/img/constraints-add-to-strategy.png differ diff --git a/website/static/img/constraints_legal_values.png b/website/static/img/constraints_legal_values.png index 4202cf9570..3e4be6591d 100644 Binary files a/website/static/img/constraints_legal_values.png and b/website/static/img/constraints_legal_values.png differ diff --git a/website/static/img/create-toggle-add-constraint.png b/website/static/img/create-toggle-add-constraint.png index 60e133e876..6c45ea3e67 100644 Binary files a/website/static/img/create-toggle-add-constraint.png and b/website/static/img/create-toggle-add-constraint.png differ diff --git a/website/static/img/create-toggle-add-segment.png b/website/static/img/create-toggle-add-segment.png index d9666bc3da..566648c152 100644 Binary files a/website/static/img/create-toggle-add-segment.png and b/website/static/img/create-toggle-add-segment.png differ diff --git a/website/static/img/custom-constraints.png b/website/static/img/custom-constraints.png deleted file mode 100644 index 428077bf53..0000000000 Binary files a/website/static/img/custom-constraints.png and /dev/null differ diff --git a/website/static/img/environments_strategy_constraints.png b/website/static/img/environments_strategy_constraints.png index bebb26bc5e..bea78f04be 100644 Binary files a/website/static/img/environments_strategy_constraints.png and b/website/static/img/environments_strategy_constraints.png differ diff --git a/website/static/img/strategy-constraint-date-after.png b/website/static/img/strategy-constraint-date-after.png index ef981d26d5..6ca3ce2187 100644 Binary files a/website/static/img/strategy-constraint-date-after.png and b/website/static/img/strategy-constraint-date-after.png differ diff --git a/website/static/img/strategy-constraints.png b/website/static/img/strategy-constraints.png new file mode 100644 index 0000000000..1af8b4291c Binary files /dev/null and b/website/static/img/strategy-constraints.png differ diff --git a/website/static/img/strategy-parameters-ui-controls.png b/website/static/img/strategy-parameters-ui-controls.png index 3f4aeefd5b..276211ed1f 100644 Binary files a/website/static/img/strategy-parameters-ui-controls.png and b/website/static/img/strategy-parameters-ui-controls.png differ