Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update docs with new rules UI #150

Merged
merged 1 commit into from
Nov 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions concepts.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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.

<Note>
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.

Expand All @@ -35,15 +35,15 @@ 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
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.
Expand Down
2 changes: 1 addition & 1 deletion introduction.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -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`.
Expand Down