404
-+
404
+Not Found
-+
The page you are looking for could not be found.
+
Popular pages
{links.map((link, linkIdx) => (
-
-
+
@@ -115,7 +115,7 @@ export default function NotFoundLayout() {
-
+
Settings
diff --git a/ui/src/app/auth/Login.tsx b/ui/src/app/auth/Login.tsx
index df3387e015..ab092958b3 100644
--- a/ui/src/app/auth/Login.tsx
+++ b/ui/src/app/auth/Login.tsx
@@ -104,7 +104,7 @@ export default function Login() {
return (
<>
-
+
@@ -115,7 +115,7 @@ export default function Login() {
height={512}
className="m-auto h-20 w-auto"
/>
-
+
Login to Flipt
@@ -127,7 +127,7 @@ export default function Login() {
)}
{(!providers || providers.length === 0) && (
-
+
-
+
No Providers
-
+
Authentication is set to{' '}
required,
@@ -164,7 +164,7 @@ export default function Login() {
Configuring Authentication
-
+
Console
-
+
See the results of your flag evaluations and debug any issues
@@ -157,7 +157,7 @@ export default function Console() {
@@ -174,7 +174,7 @@ export default function Console() {
@@ -188,7 +188,7 @@ export default function Console() {
@@ -233,7 +233,7 @@ export default function Console() {
diff --git a/ui/src/app/flags/EditFlag.tsx b/ui/src/app/flags/EditFlag.tsx
index ec193d1d5a..ee6728d237 100644
--- a/ui/src/app/flags/EditFlag.tsx
+++ b/ui/src/app/flags/EditFlag.tsx
@@ -16,7 +16,7 @@ export default function EditFlag() {
-
+
Basic information about the flag and its status.
Are you sure you want to delete this rule at
-
+
{' '}
position {deletingRule?.rank}
@@ -208,10 +208,10 @@ export default function Evaluation() {
-
+
Rules
-
+
Enable rich targeting and segmentation for evaluating your flags
@@ -225,7 +225,7 @@ export default function Evaluation() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Rule
@@ -237,13 +237,13 @@ export default function Evaluation() {
{rules && rules.length > 0 ? (
-
+
Rules are evaluated in order from{' '}
top to bottom. The
first rule that matches will be applied.
-
-
+
+
You can re-arrange rules by clicking in the header and{' '}
dragging and dropping{' '}
them into place.
diff --git a/ui/src/app/flags/Flag.tsx b/ui/src/app/flags/Flag.tsx
index 5f07c6a389..8eb51d03d8 100644
--- a/ui/src/app/flags/Flag.tsx
+++ b/ui/src/app/flags/Flag.tsx
@@ -81,7 +81,7 @@ export default function Flag() {
panelMessage={
<>
Are you sure you want to delete the flag{' '}
- {flag.key}?
+ {flag.key}?
This action cannot be undone.
>
}
@@ -100,7 +100,7 @@ export default function Flag() {
panelMessage={
<>
Copy the flag{' '}
- {flag.key} to
+ {flag.key} to
the namespace:
>
}
@@ -123,16 +123,16 @@ export default function Flag() {
{/* flag header / actions */}
-
+
{flag.name}
-
+
Flags
-
+
Flags represent features that you can easily enable or disable
@@ -51,7 +51,7 @@ export default function Flags() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Flag
diff --git a/ui/src/app/flags/NewFlag.tsx b/ui/src/app/flags/NewFlag.tsx
index 7922be8ef1..8ab867a088 100644
--- a/ui/src/app/flags/NewFlag.tsx
+++ b/ui/src/app/flags/NewFlag.tsx
@@ -6,7 +6,7 @@ export default function NewFlag() {
<>
-
+
New Flag
@@ -14,10 +14,10 @@ export default function NewFlag() {
-
+
Details
-
+
Basic information about the flag and its status.
Are you sure you want to delete this rule at
-
+
{' '}
position {deletingRollout?.rank}
@@ -189,8 +189,8 @@ export default function Rollouts(props: RolloutsProps) {
segments={segments}
setOpen={setShowRolloutForm}
onSuccess={() => {
- setShowRolloutForm(false);
incrementRolloutsVersion();
+ setShowRolloutForm(false);
}}
/>
@@ -219,44 +219,42 @@ export default function Rollouts(props: RolloutsProps) {
-
+
Rollouts
-
+
Return boolean values based on rules you define
- {rollouts && rollouts.length > 0 && (
-
-
-
- )}
+
+
+
-
+
Rules are evaluated in order from{' '}
top to bottom. The first
rule that matches will be applied.
-
-
+
+
You can re-arrange rules by clicking in the header and{' '}
dragging and dropping{' '}
them into place.
@@ -280,7 +278,7 @@ export default function Rollouts(props: RolloutsProps) {
{rollouts.map((rollout) => (
)}
-
-
+
+
-
-
+
+
Default Rollout
@@ -323,22 +321,22 @@ export default function Rollouts(props: RolloutsProps) {
-
+
This is the default value that will be returned if no
other rules match. It is directly tied to the flag
enabled state.
-
+
-
+
{flag.enabled ? 'True' : 'False'}
diff --git a/ui/src/app/flags/variants/Variants.tsx b/ui/src/app/flags/variants/Variants.tsx
index 4503652e21..6fb6272577 100644
--- a/ui/src/app/flags/variants/Variants.tsx
+++ b/ui/src/app/flags/variants/Variants.tsx
@@ -58,7 +58,7 @@ export default function Variants(props: VariantsProps) {
panelMessage={
<>
Are you sure you want to delete the variant{' '}
-
+
{deletingVariant?.key}
? This action cannot be undone.
@@ -80,10 +80,10 @@ export default function Variants(props: VariantsProps) {
-
+
Variants
-
+
Return different values based on rules you define
@@ -100,7 +100,7 @@ export default function Variants(props: VariantsProps) {
}}
>
New Variant
@@ -115,19 +115,19 @@ export default function Variants(props: VariantsProps) {
Key
Name
Description
@@ -139,13 +139,13 @@ export default function Variants(props: VariantsProps) {
{flag.variants.map((variant) => (
-
+
{variant.key}
-
+
{variant.name}
-
+
{variant.description}
@@ -153,7 +153,7 @@ export default function Variants(props: VariantsProps) {
<>
{
e.preventDefault();
setEditingVariant(variant);
@@ -166,7 +166,7 @@ export default function Variants(props: VariantsProps) {
{
e.preventDefault();
setDeletingVariant(variant);
diff --git a/ui/src/app/namespaces/Namespaces.tsx b/ui/src/app/namespaces/Namespaces.tsx
index 414841d821..dbe5962ce5 100644
--- a/ui/src/app/namespaces/Namespaces.tsx
+++ b/ui/src/app/namespaces/Namespaces.tsx
@@ -61,7 +61,7 @@ export default function Namespaces() {
panelMessage={
<>
Are you sure you want to delete the namespace{' '}
-
+
{deletingNamespace?.key}
? This action cannot be undone.
@@ -80,8 +80,8 @@ export default function Namespaces() {
- Namespaces
-
+
Namespaces
+
Namespaces allow you to group your flags, segments and rules under
a single name
@@ -97,7 +97,7 @@ export default function Namespaces() {
}}
>
New Namespace
diff --git a/ui/src/app/preferences/Preferences.tsx b/ui/src/app/preferences/Preferences.tsx
index fb81f8874e..7530b3da7d 100644
--- a/ui/src/app/preferences/Preferences.tsx
+++ b/ui/src/app/preferences/Preferences.tsx
@@ -27,8 +27,8 @@ export default function Preferences() {
{}}>
- Preferences
-
+
Preferences
+
Manage how information is displayed in the UI
@@ -37,7 +37,7 @@ export default function Preferences() {
@@ -63,15 +63,15 @@ export default function Preferences() {
>
UTC Timezone
-
+
Display dates and times in UTC timezone
- -
+
-
{
@@ -85,7 +85,7 @@ export default function Preferences() {
}}
className={classNames(
timezone === Timezone.UTC ? 'bg-violet-400' : 'bg-gray-200',
- 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 transition-colors duration-200 ease-in-out border-transparent focus:outline-none sm:ml-auto'
+ 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none sm:ml-auto'
)}
>
diff --git a/ui/src/app/segments/NewSegment.tsx b/ui/src/app/segments/NewSegment.tsx
index edc8521047..6832970d15 100644
--- a/ui/src/app/segments/NewSegment.tsx
+++ b/ui/src/app/segments/NewSegment.tsx
@@ -6,7 +6,7 @@ export default function NewSegment() {
<>
-
+
New Segment
@@ -14,10 +14,10 @@ export default function NewSegment() {
-
+
Details
-
+
Basic information about the segment.
Are you sure you want to delete the constraint for{' '}
-
+
{deletingConstraint?.property}
? This action cannot be undone.
@@ -145,7 +145,7 @@ export default function Segment() {
panelMessage={
<>
Are you sure you want to delete the segment{' '}
- {segment.key}
+ {segment.key}
? This action cannot be undone.
>
}
@@ -164,7 +164,7 @@ export default function Segment() {
panelMessage={
<>
Copy the segment{' '}
- {segment.key}{' '}
+ {segment.key}{' '}
to the namespace:
>
}
@@ -187,16 +187,16 @@ export default function Segment() {
{/* segment header / delete button */}
-
+
{segment.name}
-
+
Details
-
+
Basic information about the segment
-
+
Constraints
-
+
Determine if a request matches a segment
@@ -296,31 +296,31 @@ export default function Segment() {
Property
Type
Operator
Value
Description
@@ -335,22 +335,22 @@ export default function Segment() {
{segment.constraints.map((constraint) => (
-
+
{constraint.property}
-
+
{constraintTypeToLabel(constraint.type)}
-
+
{ConstraintOperators[constraint.operator]}
-
+
{constraint.type === ConstraintType.DATETIME &&
constraint.value !== undefined
? inTimezone(constraint.value)
: constraint.value}
-
+
{constraint.description}
@@ -358,7 +358,7 @@ export default function Segment() {
<>
{
e.preventDefault();
setEditingConstraint(constraint);
@@ -373,7 +373,7 @@ export default function Segment() {
{
e.preventDefault();
setDeletingConstraint(constraint);
diff --git a/ui/src/app/segments/Segments.tsx b/ui/src/app/segments/Segments.tsx
index 1e18147b38..c9ffff2afc 100644
--- a/ui/src/app/segments/Segments.tsx
+++ b/ui/src/app/segments/Segments.tsx
@@ -37,10 +37,10 @@ export default function Segments() {
<>
-
+
Segments
-
+
Segments enable request targeting based on defined criteria
@@ -52,7 +52,7 @@ export default function Segments() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Segment
diff --git a/ui/src/app/tokens/Tokens.tsx b/ui/src/app/tokens/Tokens.tsx
index d345c8ffa1..6e6b94ace9 100644
--- a/ui/src/app/tokens/Tokens.tsx
+++ b/ui/src/app/tokens/Tokens.tsx
@@ -134,7 +134,7 @@ export default function Tokens() {
panelMessage={
<>
Are you sure you want to delete the token{' '}
-
+
{deletingToken?.name}
? This action cannot be undone.
@@ -160,10 +160,10 @@ export default function Tokens() {
-
+
Static Tokens
-
+
Static tokens are used to authenticate with the API
@@ -171,7 +171,7 @@ export default function Tokens() {
))}
-
+
{table.getRowModel().rows.map((row) => (
{row.getVisibleCells().map((cell) => (
diff --git a/ui/src/components/notifications/ErrorNotification.tsx b/ui/src/components/notifications/ErrorNotification.tsx
index a227dd1606..c9628f5914 100644
--- a/ui/src/components/notifications/ErrorNotification.tsx
+++ b/ui/src/components/notifications/ErrorNotification.tsx
@@ -9,20 +9,20 @@ export default function ErrorNotification() {
- Error
+ Error
{error && error.message && (
- {error.message}
+ {error.message}
)}
@@ -32,7 +32,7 @@ export default function ErrorNotification() {
onClick={() => {
clearError();
}}
- className="inline-flex rounded-md p-1.5 text-red-500 bg-red-50 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-600 focus:ring-offset-2 focus:ring-offset-green-50"
+ className="text-red-500 bg-red-50 inline-flex rounded-md p-1.5 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-600 focus:ring-offset-2 focus:ring-offset-green-50"
>
Dismiss
diff --git a/ui/src/components/notifications/SuccessNotification.tsx b/ui/src/components/notifications/SuccessNotification.tsx
index ae4c76c23c..e19425d740 100644
--- a/ui/src/components/notifications/SuccessNotification.tsx
+++ b/ui/src/components/notifications/SuccessNotification.tsx
@@ -16,23 +16,23 @@ export default function SuccessNotification() {
return (
-
+
- {success}
+ {success}
))}
-
+
{table.getRowModel().rows.map((row) => (
{row.getVisibleCells().map((cell) => (
Created{' '}
@@ -236,10 +236,10 @@ export default function Segment() {
Created{' '}
diff --git a/ui/src/app/flags/Flags.tsx b/ui/src/app/flags/Flags.tsx
index 41e33b12ad..2aca2da47a 100644
--- a/ui/src/app/flags/Flags.tsx
+++ b/ui/src/app/flags/Flags.tsx
@@ -36,10 +36,10 @@ export default function Flags() {
<>
diff --git a/ui/src/app/console/Console.tsx b/ui/src/app/console/Console.tsx
index 74e96a14b6..4d88a56eb4 100644
--- a/ui/src/app/console/Console.tsx
+++ b/ui/src/app/console/Console.tsx
@@ -123,10 +123,10 @@ export default function Console() {
return (
<>
Home
diff --git a/ui/src/app/Settings.tsx b/ui/src/app/Settings.tsx
index a76aa24dcb..9121a0eb29 100644
--- a/ui/src/app/Settings.tsx
+++ b/ui/src/app/Settings.tsx
@@ -21,7 +21,7 @@ export default function Settings() {
<>
+
Settings
+
Login to Flipt
+
No Providers
-
+
Authentication is set to{' '}
required,
@@ -164,7 +164,7 @@ export default function Login() {
Configuring Authentication
-
+
Console
-
+
See the results of your flag evaluations and debug any issues
@@ -157,7 +157,7 @@ export default function Console() {
@@ -174,7 +174,7 @@ export default function Console() {
@@ -188,7 +188,7 @@ export default function Console() {
@@ -233,7 +233,7 @@ export default function Console() {
diff --git a/ui/src/app/flags/EditFlag.tsx b/ui/src/app/flags/EditFlag.tsx
index ec193d1d5a..ee6728d237 100644
--- a/ui/src/app/flags/EditFlag.tsx
+++ b/ui/src/app/flags/EditFlag.tsx
@@ -16,7 +16,7 @@ export default function EditFlag() {
-
+
Basic information about the flag and its status.
Are you sure you want to delete this rule at
-
+
{' '}
position {deletingRule?.rank}
@@ -208,10 +208,10 @@ export default function Evaluation() {
-
+
Rules
-
+
Enable rich targeting and segmentation for evaluating your flags
@@ -225,7 +225,7 @@ export default function Evaluation() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Rule
@@ -237,13 +237,13 @@ export default function Evaluation() {
{rules && rules.length > 0 ? (
-
+
Rules are evaluated in order from{' '}
top to bottom. The
first rule that matches will be applied.
-
-
+
+
You can re-arrange rules by clicking in the header and{' '}
dragging and dropping{' '}
them into place.
diff --git a/ui/src/app/flags/Flag.tsx b/ui/src/app/flags/Flag.tsx
index 5f07c6a389..8eb51d03d8 100644
--- a/ui/src/app/flags/Flag.tsx
+++ b/ui/src/app/flags/Flag.tsx
@@ -81,7 +81,7 @@ export default function Flag() {
panelMessage={
<>
Are you sure you want to delete the flag{' '}
- {flag.key}?
+ {flag.key}?
This action cannot be undone.
>
}
@@ -100,7 +100,7 @@ export default function Flag() {
panelMessage={
<>
Copy the flag{' '}
- {flag.key} to
+ {flag.key} to
the namespace:
>
}
@@ -123,16 +123,16 @@ export default function Flag() {
{/* flag header / actions */}
-
+
{flag.name}
-
+
Flags
-
+
Flags represent features that you can easily enable or disable
@@ -51,7 +51,7 @@ export default function Flags() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Flag
diff --git a/ui/src/app/flags/NewFlag.tsx b/ui/src/app/flags/NewFlag.tsx
index 7922be8ef1..8ab867a088 100644
--- a/ui/src/app/flags/NewFlag.tsx
+++ b/ui/src/app/flags/NewFlag.tsx
@@ -6,7 +6,7 @@ export default function NewFlag() {
<>
-
+
New Flag
@@ -14,10 +14,10 @@ export default function NewFlag() {
-
+
Details
-
+
Basic information about the flag and its status.
Are you sure you want to delete this rule at
-
+
{' '}
position {deletingRollout?.rank}
@@ -189,8 +189,8 @@ export default function Rollouts(props: RolloutsProps) {
segments={segments}
setOpen={setShowRolloutForm}
onSuccess={() => {
- setShowRolloutForm(false);
incrementRolloutsVersion();
+ setShowRolloutForm(false);
}}
/>
@@ -219,44 +219,42 @@ export default function Rollouts(props: RolloutsProps) {
-
+
Rollouts
-
+
Return boolean values based on rules you define
- {rollouts && rollouts.length > 0 && (
-
-
-
- )}
+
+
+
-
+
Rules are evaluated in order from{' '}
top to bottom. The first
rule that matches will be applied.
-
-
+
+
You can re-arrange rules by clicking in the header and{' '}
dragging and dropping{' '}
them into place.
@@ -280,7 +278,7 @@ export default function Rollouts(props: RolloutsProps) {
{rollouts.map((rollout) => (
)}
-
-
+
+
-
-
+
+
Default Rollout
@@ -323,22 +321,22 @@ export default function Rollouts(props: RolloutsProps) {
-
+
This is the default value that will be returned if no
other rules match. It is directly tied to the flag
enabled state.
-
+
-
+
{flag.enabled ? 'True' : 'False'}
diff --git a/ui/src/app/flags/variants/Variants.tsx b/ui/src/app/flags/variants/Variants.tsx
index 4503652e21..6fb6272577 100644
--- a/ui/src/app/flags/variants/Variants.tsx
+++ b/ui/src/app/flags/variants/Variants.tsx
@@ -58,7 +58,7 @@ export default function Variants(props: VariantsProps) {
panelMessage={
<>
Are you sure you want to delete the variant{' '}
-
+
{deletingVariant?.key}
? This action cannot be undone.
@@ -80,10 +80,10 @@ export default function Variants(props: VariantsProps) {
-
+
Variants
-
+
Return different values based on rules you define
@@ -100,7 +100,7 @@ export default function Variants(props: VariantsProps) {
}}
>
New Variant
@@ -115,19 +115,19 @@ export default function Variants(props: VariantsProps) {
Key
Name
Description
@@ -139,13 +139,13 @@ export default function Variants(props: VariantsProps) {
{flag.variants.map((variant) => (
-
+
{variant.key}
-
+
{variant.name}
-
+
{variant.description}
@@ -153,7 +153,7 @@ export default function Variants(props: VariantsProps) {
<>
{
e.preventDefault();
setEditingVariant(variant);
@@ -166,7 +166,7 @@ export default function Variants(props: VariantsProps) {
{
e.preventDefault();
setDeletingVariant(variant);
diff --git a/ui/src/app/namespaces/Namespaces.tsx b/ui/src/app/namespaces/Namespaces.tsx
index 414841d821..dbe5962ce5 100644
--- a/ui/src/app/namespaces/Namespaces.tsx
+++ b/ui/src/app/namespaces/Namespaces.tsx
@@ -61,7 +61,7 @@ export default function Namespaces() {
panelMessage={
<>
Are you sure you want to delete the namespace{' '}
-
+
{deletingNamespace?.key}
? This action cannot be undone.
@@ -80,8 +80,8 @@ export default function Namespaces() {
- Namespaces
-
+
Namespaces
+
Namespaces allow you to group your flags, segments and rules under
a single name
@@ -97,7 +97,7 @@ export default function Namespaces() {
}}
>
New Namespace
diff --git a/ui/src/app/preferences/Preferences.tsx b/ui/src/app/preferences/Preferences.tsx
index fb81f8874e..7530b3da7d 100644
--- a/ui/src/app/preferences/Preferences.tsx
+++ b/ui/src/app/preferences/Preferences.tsx
@@ -27,8 +27,8 @@ export default function Preferences() {
{}}>
- Preferences
-
+
Preferences
+
Manage how information is displayed in the UI
@@ -37,7 +37,7 @@ export default function Preferences() {
@@ -63,15 +63,15 @@ export default function Preferences() {
>
UTC Timezone
-
+
Display dates and times in UTC timezone
- -
+
-
{
@@ -85,7 +85,7 @@ export default function Preferences() {
}}
className={classNames(
timezone === Timezone.UTC ? 'bg-violet-400' : 'bg-gray-200',
- 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 transition-colors duration-200 ease-in-out border-transparent focus:outline-none sm:ml-auto'
+ 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none sm:ml-auto'
)}
>
diff --git a/ui/src/app/segments/NewSegment.tsx b/ui/src/app/segments/NewSegment.tsx
index edc8521047..6832970d15 100644
--- a/ui/src/app/segments/NewSegment.tsx
+++ b/ui/src/app/segments/NewSegment.tsx
@@ -6,7 +6,7 @@ export default function NewSegment() {
<>
-
+
New Segment
@@ -14,10 +14,10 @@ export default function NewSegment() {
-
+
Details
-
+
Basic information about the segment.
Are you sure you want to delete the constraint for{' '}
-
+
{deletingConstraint?.property}
? This action cannot be undone.
@@ -145,7 +145,7 @@ export default function Segment() {
panelMessage={
<>
Are you sure you want to delete the segment{' '}
- {segment.key}
+ {segment.key}
? This action cannot be undone.
>
}
@@ -164,7 +164,7 @@ export default function Segment() {
panelMessage={
<>
Copy the segment{' '}
- {segment.key}{' '}
+ {segment.key}{' '}
to the namespace:
>
}
@@ -187,16 +187,16 @@ export default function Segment() {
{/* segment header / delete button */}
-
+
{segment.name}
-
+
Details
-
+
Basic information about the segment
-
+
Constraints
-
+
Determine if a request matches a segment
@@ -296,31 +296,31 @@ export default function Segment() {
Property
Type
Operator
Value
Description
@@ -335,22 +335,22 @@ export default function Segment() {
{segment.constraints.map((constraint) => (
-
+
{constraint.property}
-
+
{constraintTypeToLabel(constraint.type)}
-
+
{ConstraintOperators[constraint.operator]}
-
+
{constraint.type === ConstraintType.DATETIME &&
constraint.value !== undefined
? inTimezone(constraint.value)
: constraint.value}
-
+
{constraint.description}
@@ -358,7 +358,7 @@ export default function Segment() {
<>
{
e.preventDefault();
setEditingConstraint(constraint);
@@ -373,7 +373,7 @@ export default function Segment() {
{
e.preventDefault();
setDeletingConstraint(constraint);
diff --git a/ui/src/app/segments/Segments.tsx b/ui/src/app/segments/Segments.tsx
index 1e18147b38..c9ffff2afc 100644
--- a/ui/src/app/segments/Segments.tsx
+++ b/ui/src/app/segments/Segments.tsx
@@ -37,10 +37,10 @@ export default function Segments() {
<>
-
+
Segments
-
+
Segments enable request targeting based on defined criteria
@@ -52,7 +52,7 @@ export default function Segments() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Segment
diff --git a/ui/src/app/tokens/Tokens.tsx b/ui/src/app/tokens/Tokens.tsx
index d345c8ffa1..6e6b94ace9 100644
--- a/ui/src/app/tokens/Tokens.tsx
+++ b/ui/src/app/tokens/Tokens.tsx
@@ -134,7 +134,7 @@ export default function Tokens() {
panelMessage={
<>
Are you sure you want to delete the token{' '}
-
+
{deletingToken?.name}
? This action cannot be undone.
@@ -160,10 +160,10 @@ export default function Tokens() {
-
+
Static Tokens
-
+
Static tokens are used to authenticate with the API
@@ -171,7 +171,7 @@ export default function Tokens() {
))}
-
+
{table.getRowModel().rows.map((row) => (
{row.getVisibleCells().map((cell) => (
diff --git a/ui/src/components/notifications/ErrorNotification.tsx b/ui/src/components/notifications/ErrorNotification.tsx
index a227dd1606..c9628f5914 100644
--- a/ui/src/components/notifications/ErrorNotification.tsx
+++ b/ui/src/components/notifications/ErrorNotification.tsx
@@ -9,20 +9,20 @@ export default function ErrorNotification() {
- Error
+ Error
{error && error.message && (
- {error.message}
+ {error.message}
)}
@@ -32,7 +32,7 @@ export default function ErrorNotification() {
onClick={() => {
clearError();
}}
- className="inline-flex rounded-md p-1.5 text-red-500 bg-red-50 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-600 focus:ring-offset-2 focus:ring-offset-green-50"
+ className="text-red-500 bg-red-50 inline-flex rounded-md p-1.5 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-600 focus:ring-offset-2 focus:ring-offset-green-50"
>
Dismiss
diff --git a/ui/src/components/notifications/SuccessNotification.tsx b/ui/src/components/notifications/SuccessNotification.tsx
index ae4c76c23c..e19425d740 100644
--- a/ui/src/components/notifications/SuccessNotification.tsx
+++ b/ui/src/components/notifications/SuccessNotification.tsx
@@ -16,23 +16,23 @@ export default function SuccessNotification() {
return (
-
+
- {success}
+ {success}
))}
-
+
{table.getRowModel().rows.map((row) => (
{row.getVisibleCells().map((cell) => (
Created{' '}
@@ -236,10 +236,10 @@ export default function Segment() {
Created{' '}
diff --git a/ui/src/app/flags/Flags.tsx b/ui/src/app/flags/Flags.tsx
index 41e33b12ad..2aca2da47a 100644
--- a/ui/src/app/flags/Flags.tsx
+++ b/ui/src/app/flags/Flags.tsx
@@ -36,10 +36,10 @@ export default function Flags() {
<>
diff --git a/ui/src/app/console/Console.tsx b/ui/src/app/console/Console.tsx
index 74e96a14b6..4d88a56eb4 100644
--- a/ui/src/app/console/Console.tsx
+++ b/ui/src/app/console/Console.tsx
@@ -123,10 +123,10 @@ export default function Console() {
return (
<>
Authentication is set to{' '} required, @@ -164,7 +164,7 @@ export default function Login() {
+
Console
-
+
See the results of your flag evaluations and debug any issues
diff --git a/ui/src/app/flags/EditFlag.tsx b/ui/src/app/flags/EditFlag.tsx
index ec193d1d5a..ee6728d237 100644
--- a/ui/src/app/flags/EditFlag.tsx
+++ b/ui/src/app/flags/EditFlag.tsx
@@ -16,7 +16,7 @@ export default function EditFlag() {
-
+
Basic information about the flag and its status.
Are you sure you want to delete this rule at
-
+
{' '}
position {deletingRule?.rank}
@@ -208,10 +208,10 @@ export default function Evaluation() {
-
+
Rules
-
+
Enable rich targeting and segmentation for evaluating your flags
@@ -225,7 +225,7 @@ export default function Evaluation() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Rule
@@ -237,13 +237,13 @@ export default function Evaluation() {
{rules && rules.length > 0 ? (
-
+
Rules are evaluated in order from{' '}
top to bottom. The
first rule that matches will be applied.
-
-
+
+
You can re-arrange rules by clicking in the header and{' '}
dragging and dropping{' '}
them into place.
diff --git a/ui/src/app/flags/Flag.tsx b/ui/src/app/flags/Flag.tsx
index 5f07c6a389..8eb51d03d8 100644
--- a/ui/src/app/flags/Flag.tsx
+++ b/ui/src/app/flags/Flag.tsx
@@ -81,7 +81,7 @@ export default function Flag() {
panelMessage={
<>
Are you sure you want to delete the flag{' '}
- {flag.key}?
+ {flag.key}?
This action cannot be undone.
>
}
@@ -100,7 +100,7 @@ export default function Flag() {
panelMessage={
<>
Copy the flag{' '}
- {flag.key} to
+ {flag.key} to
the namespace:
>
}
@@ -123,16 +123,16 @@ export default function Flag() {
{/* flag header / actions */}
-
+
{flag.name}
-
+
Flags
-
+
Flags represent features that you can easily enable or disable
@@ -51,7 +51,7 @@ export default function Flags() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Flag
diff --git a/ui/src/app/flags/NewFlag.tsx b/ui/src/app/flags/NewFlag.tsx
index 7922be8ef1..8ab867a088 100644
--- a/ui/src/app/flags/NewFlag.tsx
+++ b/ui/src/app/flags/NewFlag.tsx
@@ -6,7 +6,7 @@ export default function NewFlag() {
<>
-
+
New Flag
@@ -14,10 +14,10 @@ export default function NewFlag() {
-
+
Details
-
+
Basic information about the flag and its status.
Are you sure you want to delete this rule at
-
+
{' '}
position {deletingRollout?.rank}
@@ -189,8 +189,8 @@ export default function Rollouts(props: RolloutsProps) {
segments={segments}
setOpen={setShowRolloutForm}
onSuccess={() => {
- setShowRolloutForm(false);
incrementRolloutsVersion();
+ setShowRolloutForm(false);
}}
/>
@@ -219,44 +219,42 @@ export default function Rollouts(props: RolloutsProps) {
-
+
Rollouts
-
+
Return boolean values based on rules you define
- {rollouts && rollouts.length > 0 && (
-
-
-
- )}
+
+
+
-
+
Rules are evaluated in order from{' '}
top to bottom. The first
rule that matches will be applied.
-
-
+
+
You can re-arrange rules by clicking in the header and{' '}
dragging and dropping{' '}
them into place.
@@ -280,7 +278,7 @@ export default function Rollouts(props: RolloutsProps) {
{rollouts.map((rollout) => (
)}
-
-
+
+
-
-
+
+
Default Rollout
@@ -323,22 +321,22 @@ export default function Rollouts(props: RolloutsProps) {
-
+
This is the default value that will be returned if no
other rules match. It is directly tied to the flag
enabled state.
-
+
-
+
{flag.enabled ? 'True' : 'False'}
diff --git a/ui/src/app/flags/variants/Variants.tsx b/ui/src/app/flags/variants/Variants.tsx
index 4503652e21..6fb6272577 100644
--- a/ui/src/app/flags/variants/Variants.tsx
+++ b/ui/src/app/flags/variants/Variants.tsx
@@ -58,7 +58,7 @@ export default function Variants(props: VariantsProps) {
panelMessage={
<>
Are you sure you want to delete the variant{' '}
-
+
{deletingVariant?.key}
? This action cannot be undone.
@@ -80,10 +80,10 @@ export default function Variants(props: VariantsProps) {
-
+
Variants
-
+
Return different values based on rules you define
@@ -100,7 +100,7 @@ export default function Variants(props: VariantsProps) {
}}
>
New Variant
@@ -115,19 +115,19 @@ export default function Variants(props: VariantsProps) {
Key
Name
Description
@@ -139,13 +139,13 @@ export default function Variants(props: VariantsProps) {
{flag.variants.map((variant) => (
-
+
{variant.key}
-
+
{variant.name}
-
+
{variant.description}
@@ -153,7 +153,7 @@ export default function Variants(props: VariantsProps) {
<>
{
e.preventDefault();
setEditingVariant(variant);
@@ -166,7 +166,7 @@ export default function Variants(props: VariantsProps) {
{
e.preventDefault();
setDeletingVariant(variant);
diff --git a/ui/src/app/namespaces/Namespaces.tsx b/ui/src/app/namespaces/Namespaces.tsx
index 414841d821..dbe5962ce5 100644
--- a/ui/src/app/namespaces/Namespaces.tsx
+++ b/ui/src/app/namespaces/Namespaces.tsx
@@ -61,7 +61,7 @@ export default function Namespaces() {
panelMessage={
<>
Are you sure you want to delete the namespace{' '}
-
+
{deletingNamespace?.key}
? This action cannot be undone.
@@ -80,8 +80,8 @@ export default function Namespaces() {
- Namespaces
-
+
Namespaces
+
Namespaces allow you to group your flags, segments and rules under
a single name
@@ -97,7 +97,7 @@ export default function Namespaces() {
}}
>
New Namespace
diff --git a/ui/src/app/preferences/Preferences.tsx b/ui/src/app/preferences/Preferences.tsx
index fb81f8874e..7530b3da7d 100644
--- a/ui/src/app/preferences/Preferences.tsx
+++ b/ui/src/app/preferences/Preferences.tsx
@@ -27,8 +27,8 @@ export default function Preferences() {
{}}>
- Preferences
-
+
Preferences
+
Manage how information is displayed in the UI
@@ -37,7 +37,7 @@ export default function Preferences() {
@@ -63,15 +63,15 @@ export default function Preferences() {
>
UTC Timezone
-
+
Display dates and times in UTC timezone
- -
+
-
{
@@ -85,7 +85,7 @@ export default function Preferences() {
}}
className={classNames(
timezone === Timezone.UTC ? 'bg-violet-400' : 'bg-gray-200',
- 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 transition-colors duration-200 ease-in-out border-transparent focus:outline-none sm:ml-auto'
+ 'relative inline-flex h-6 w-11 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focus:outline-none sm:ml-auto'
)}
>
diff --git a/ui/src/app/segments/NewSegment.tsx b/ui/src/app/segments/NewSegment.tsx
index edc8521047..6832970d15 100644
--- a/ui/src/app/segments/NewSegment.tsx
+++ b/ui/src/app/segments/NewSegment.tsx
@@ -6,7 +6,7 @@ export default function NewSegment() {
<>
-
+
New Segment
@@ -14,10 +14,10 @@ export default function NewSegment() {
-
+
Details
-
+
Basic information about the segment.
Are you sure you want to delete the constraint for{' '}
-
+
{deletingConstraint?.property}
? This action cannot be undone.
@@ -145,7 +145,7 @@ export default function Segment() {
panelMessage={
<>
Are you sure you want to delete the segment{' '}
- {segment.key}
+ {segment.key}
? This action cannot be undone.
>
}
@@ -164,7 +164,7 @@ export default function Segment() {
panelMessage={
<>
Copy the segment{' '}
- {segment.key}{' '}
+ {segment.key}{' '}
to the namespace:
>
}
@@ -187,16 +187,16 @@ export default function Segment() {
{/* segment header / delete button */}
-
+
{segment.name}
-
+
Details
-
+
Basic information about the segment
-
+
Constraints
-
+
Determine if a request matches a segment
@@ -296,31 +296,31 @@ export default function Segment() {
Property
Type
Operator
Value
Description
@@ -335,22 +335,22 @@ export default function Segment() {
{segment.constraints.map((constraint) => (
-
+
{constraint.property}
-
+
{constraintTypeToLabel(constraint.type)}
-
+
{ConstraintOperators[constraint.operator]}
-
+
{constraint.type === ConstraintType.DATETIME &&
constraint.value !== undefined
? inTimezone(constraint.value)
: constraint.value}
-
+
{constraint.description}
@@ -358,7 +358,7 @@ export default function Segment() {
<>
{
e.preventDefault();
setEditingConstraint(constraint);
@@ -373,7 +373,7 @@ export default function Segment() {
{
e.preventDefault();
setDeletingConstraint(constraint);
diff --git a/ui/src/app/segments/Segments.tsx b/ui/src/app/segments/Segments.tsx
index 1e18147b38..c9ffff2afc 100644
--- a/ui/src/app/segments/Segments.tsx
+++ b/ui/src/app/segments/Segments.tsx
@@ -37,10 +37,10 @@ export default function Segments() {
<>
-
+
Segments
-
+
Segments enable request targeting based on defined criteria
@@ -52,7 +52,7 @@ export default function Segments() {
title={readOnly ? 'Not allowed in Read-Only mode' : undefined}
>
New Segment
diff --git a/ui/src/app/tokens/Tokens.tsx b/ui/src/app/tokens/Tokens.tsx
index d345c8ffa1..6e6b94ace9 100644
--- a/ui/src/app/tokens/Tokens.tsx
+++ b/ui/src/app/tokens/Tokens.tsx
@@ -134,7 +134,7 @@ export default function Tokens() {
panelMessage={
<>
Are you sure you want to delete the token{' '}
-
+
{deletingToken?.name}
? This action cannot be undone.
@@ -160,10 +160,10 @@ export default function Tokens() {
-
+
Static Tokens
-
+
Static tokens are used to authenticate with the API
@@ -171,7 +171,7 @@ export default function Tokens() {
))}
-
+
{table.getRowModel().rows.map((row) => (
{row.getVisibleCells().map((cell) => (
diff --git a/ui/src/components/notifications/ErrorNotification.tsx b/ui/src/components/notifications/ErrorNotification.tsx
index a227dd1606..c9628f5914 100644
--- a/ui/src/components/notifications/ErrorNotification.tsx
+++ b/ui/src/components/notifications/ErrorNotification.tsx
@@ -9,20 +9,20 @@ export default function ErrorNotification() {
- Error
+ Error
{error && error.message && (
- {error.message}
+ {error.message}
)}
@@ -32,7 +32,7 @@ export default function ErrorNotification() {
onClick={() => {
clearError();
}}
- className="inline-flex rounded-md p-1.5 text-red-500 bg-red-50 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-600 focus:ring-offset-2 focus:ring-offset-green-50"
+ className="text-red-500 bg-red-50 inline-flex rounded-md p-1.5 hover:bg-red-100 focus:outline-none focus:ring-2 focus:ring-red-600 focus:ring-offset-2 focus:ring-offset-green-50"
>
Dismiss
diff --git a/ui/src/components/notifications/SuccessNotification.tsx b/ui/src/components/notifications/SuccessNotification.tsx
index ae4c76c23c..e19425d740 100644
--- a/ui/src/components/notifications/SuccessNotification.tsx
+++ b/ui/src/components/notifications/SuccessNotification.tsx
@@ -16,23 +16,23 @@ export default function SuccessNotification() {
return (
-
+
- {success}
+ {success}
))}
-
+
{table.getRowModel().rows.map((row) => (
{row.getVisibleCells().map((cell) => (
Created{' '}
@@ -236,10 +236,10 @@ export default function Segment() {
Created{' '}
diff --git a/ui/src/app/flags/Flags.tsx b/ui/src/app/flags/Flags.tsx
index 41e33b12ad..2aca2da47a 100644
--- a/ui/src/app/flags/Flags.tsx
+++ b/ui/src/app/flags/Flags.tsx
@@ -36,10 +36,10 @@ export default function Flags() {
<>