From c662b3e4a3ba7a9d52f7087e72494368faecf687 Mon Sep 17 00:00:00 2001 From: Mark Phelps <209477+markphelps@users.noreply.github.com> Date: Sun, 26 Nov 2023 13:17:46 -0500 Subject: [PATCH] chore: update docs with new rules UI --- concepts.mdx | 6 +++--- introduction.mdx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/concepts.mdx b/concepts.mdx index 7349802..50f1f28 100644 --- a/concepts.mdx +++ b/concepts.mdx @@ -16,7 +16,7 @@ Namespaces allow you to separate all data within Flipt for use in different envi Another common use-case of Namespaces is to separate Flipt data by internal team or organization. -All data created in one namespace is only accessible within that namespace, meaning Flags/Segments/etc must be created in each namespace in which they're to be used. +All data created in one namespace is only accessible within that namespace, meaning flags/segments/etc must be created in each namespace in which they're to be used. If a namespace isn't selected then the 'Default' namespace is used. @@ -35,7 +35,7 @@ features that you want to be able to enable or disable for users of your applications. For example, a flag named `new-contact-page` could be used to determine whether -or not a given user sees the latest version of a contact us page that you are +or not a given user sees the latest version of a 'Contact Us' page that you are working on when they visit your homepage. Flags can be used as simple on/off toggles or with variants and rules to support @@ -43,7 +43,7 @@ more elaborate use cases. ![Flags Example](/images/concepts/flags.png) -As of [v1.24.0](https://github.com/flipt-io/flipt/releases/tag/v1.24.0) there are now two types of flags: +There are two types of flags: - **Variant** which allows you to return a single variant for a given flag given a set of evaluation rules. This is the default flag type. - **Boolean** which allows you to return a boolean value for a given flag. diff --git a/introduction.mdx b/introduction.mdx index 00f019a..5a7f0c4 100644 --- a/introduction.mdx +++ b/introduction.mdx @@ -114,7 +114,7 @@ evaluate a specific flag that falls into a given segment. To create a rule: 1. Go back to the flag you created at the beginning. -2. Click `Evaluation`. +2. Scroll down and click the `Rules` tab. 3. Click `New Rule`. 4. Next to `Segment` choose or search for the segment you created earlier. 5. Next to `Type` choose `Multi-Variate`.