1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-07-26 13:48:33 +02:00

fix(docs): enterprise image zoom (#10081)

Co-authored-by: melindafekete <melinda.fekete@getunleash.io>
This commit is contained in:
Gastón Fournier 2025-06-06 11:17:44 +02:00 committed by GitHub
parent e1cfd8e050
commit fc25117d78
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 18 deletions

View File

@ -127,18 +127,8 @@ In the strategy configuration screen for the strategy that you want to configure
:::info
This can be done at any point after you've created your flag.
This can be done at any point, during or after the creation of your flag.
:::
:::tip API: add variants
Use the [create variants endpoint](/reference/api/unleash/overwrite-feature-variants) to create or overwrite existing variants in all environments. The payload should be your desired variant configuration.
:::
[Variants](../reference/feature-toggle-variants) give you the ability to further target your users and split them into groups of your choosing, such as for A/B testing. On the flag overview page, select the variants tab. Use the "new variant" button to add the variants that you want.
![](/img/create-toggle-add-variants.png)
[^1]: Prior to Unleash 4.21, "create/edit variants" was a project-level permission instead of an environment-level permission.
[Variants](../reference/strategy-variants) give you the ability to further target your users and split them into groups of your choosing, such as for A/B testing. On the flag overview page, select the variants tab. Use the "new variant" button to add the variants that you want.

View File

@ -707,9 +707,9 @@ Content-Type: application/json; charset=utf-8
:::caution
This API documentation is no longer maintained. You should use the [OpenAPI docs for this endpoint](/docs/reference/api/unleash/overwrite-feature-variants.api.mdx) instead.
This API documentation is no longer maintained. Use [OpenAPI docs for this endpoint](/reference/api/unleash/overwrite-feature-variants-on-environments) instead.
This endpoint affects all environments at once. If you only want to update a single environment, use the [operation for updating variants per environment](/docs/reference/api/unleash/overwrite-feature-variants-on-environments.api.mdx) instead.
This endpoint affects all environments at once. If you only want to update a single environment, use the [operation for updating variants per environment](/reference/api/unleash/overwrite-feature-variants-on-environments) instead.
:::

View File

@ -352,8 +352,8 @@ group. This can be done by navigating to the Unleash group you want to enable sy
the "SSO group ID/name" property.
[^1]: The project-level permission is still required for the [**create/overwrite variants
** (PUT)](/docs/reference/api/unleash/overwrite-feature-variants.api.mdx) and [**update variants
** (PATCH)](/docs/reference/api/unleash/patch-feature-variants.api.mdx) API endpoints, but it is not used for anything
** (PUT)](/reference/api/unleash/overwrite-feature-variants) and [**update variants
** (PATCH)](/reference/api/unleash/patch-feature-variants) API endpoints, but it is not used for anything
within the admin UI. The API endpoints have been superseded by the [**create/overwrite environment variants
** (PUT)](/docs/reference/api/unleash/overwrite-feature-variants-on-environments.api.mdx) and [**update environment
variants** (PATCH)](/docs/reference/api/unleash/patch-environments-feature-variants.api.mdx) endpoints, respectively.
** (PUT)](/reference/api/unleash/overwrite-feature-variants-on-environments) and [**update environment
variants** (PATCH)](/reference/api/unleash/patch-environments-feature-variants) endpoints, respectively.

View File

@ -403,6 +403,7 @@ class="header-github-link"
imageZoom: {
// Optional medium-zoom options at
// https://www.npmjs.com/package/medium-zoom#options
selector: '.markdown :not(p) > img',
options: {
background: 'var(--ifm-background-color)',
},