diff --git a/frontend/src/component/archive/ArchiveTable/ArchiveTable.test.tsx b/frontend/src/component/archive/ArchiveTable/ArchiveTable.test.tsx
index d3c2ee387d..7e8083122e 100644
--- a/frontend/src/component/archive/ArchiveTable/ArchiveTable.test.tsx
+++ b/frontend/src/component/archive/ArchiveTable/ArchiveTable.test.tsx
@@ -75,7 +75,7 @@ test('should load the table', async () => {
await screen.findByText('someFeature');
});
-test('should show confirm dialog when reviving toggle', async () => {
+test('should show confirm dialog when reviving flag', async () => {
setupApi();
render(
<>
@@ -100,7 +100,7 @@ test('should show confirm dialog when reviving toggle', async () => {
await screen.findByText("And we're back!");
});
-test('should show confirm dialog when batch reviving toggle', async () => {
+test('should show confirm dialog when batch reviving flag', async () => {
setupApi();
render(
<>
diff --git a/frontend/src/component/archive/ArchiveTable/ArchiveTable.tsx b/frontend/src/component/archive/ArchiveTable/ArchiveTable.tsx
index f0dfe0bd7f..3c9993191d 100644
--- a/frontend/src/component/archive/ArchiveTable/ArchiveTable.tsx
+++ b/frontend/src/component/archive/ArchiveTable/ArchiveTable.tsx
@@ -308,14 +308,13 @@ export const ArchiveTable = ({
condition={searchValue?.length > 0}
show={
- No feature toggles found matching “
+ No feature flags found matching “
{searchValue}”
}
elseShow={
- None of the feature toggles were archived
- yet.
+ None of the feature flags were archived yet.
}
/>
diff --git a/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureDeleteConfirm/ArchivedFeatureDeleteConfirm.tsx b/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureDeleteConfirm/ArchivedFeatureDeleteConfirm.tsx
index 36cefb25d4..4ef40d918a 100644
--- a/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureDeleteConfirm/ArchivedFeatureDeleteConfirm.tsx
+++ b/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureDeleteConfirm/ArchivedFeatureDeleteConfirm.tsx
@@ -37,7 +37,7 @@ export const ArchivedFeatureDeleteConfirm = ({
const { setToastData, setToastApiError } = useToast();
const { deleteFeatures } = useProjectApi();
- const singularOrPluralToggles =
+ const singularOrPluralFlags =
deletedFeatures.length > 1 ? 'toggles' : 'toggle';
const onDeleteFeatureToggle = async () => {
@@ -50,8 +50,8 @@ export const ArchivedFeatureDeleteConfirm = ({
await refetch();
setToastData({
type: 'success',
- title: `Feature ${singularOrPluralToggles} deleted`,
- text: `You have successfully deleted the following feature ${singularOrPluralToggles}: ${deletedFeatures.join(
+ title: `Feature ${singularOrPluralFlags} deleted`,
+ text: `You have successfully deleted the following feature ${singularOrPluralFlags}: ${deletedFeatures.join(
', ',
)}.`,
});
@@ -71,9 +71,9 @@ export const ArchivedFeatureDeleteConfirm = ({
return (
- Warning! Before you delete a feature toggle, make sure
- all in-code references to that feature toggle have been removed.
- Otherwise, a new feature toggle with the same name could
- activate the old code paths.
+ Warning! Before you delete a feature flag, make sure all
+ in-code references to that feature flag have been removed.
+ Otherwise, a new feature flag with the same name could activate
+ the old code paths.
You are about to delete the following feature{' '}
- {singularOrPluralToggles}:{' '}
+ {singularOrPluralFlags}:{' '}
{deletedFeatures.join(', ')}.
({ marginTop: theme.spacing(2) })}
>
- In order to delete the feature {singularOrPluralToggles}, please
+ In order to delete the feature {singularOrPluralFlags}, please
enter the following confirmation text in the text field below:{' '}
I want to delete
diff --git a/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureReviveConfirm/ArchivedFeatureReviveConfirm.tsx b/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureReviveConfirm/ArchivedFeatureReviveConfirm.tsx
index f8c983de8c..52ea43757b 100644
--- a/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureReviveConfirm/ArchivedFeatureReviveConfirm.tsx
+++ b/frontend/src/component/archive/ArchiveTable/ArchivedFeatureActionCell/ArchivedFeatureReviveConfirm/ArchivedFeatureReviveConfirm.tsx
@@ -78,7 +78,7 @@ export const ArchivedFeatureReviveConfirm = ({
show={
<>
- You are about to revive feature toggles:
+ You are about to revive feature flags:
{revivedFeatures.map((name) => (
@@ -89,7 +89,7 @@ export const ArchivedFeatureReviveConfirm = ({
}
elseShow={
- You are about to revive feature toggle:{' '}
+ You are about to revive feature flag:{' '}
{revivedFeatures[0]}
}
diff --git a/frontend/src/component/changeRequest/ChangeRequest.test.tsx b/frontend/src/component/changeRequest/ChangeRequest.test.tsx
index ed6c83e98a..27f1080e16 100644
--- a/frontend/src/component/changeRequest/ChangeRequest.test.tsx
+++ b/frontend/src/component/changeRequest/ChangeRequest.test.tsx
@@ -293,5 +293,5 @@ test('add flag change to pending change request', async () => {
await changeFlag('production');
- await verifyChangeRequestDialog('Enable feature toggle test in production');
+ await verifyChangeRequestDialog('Enable feature flag test in production');
}, 10000);
diff --git a/frontend/src/component/changeRequest/ChangeRequest/ChangeRequest.tsx b/frontend/src/component/changeRequest/ChangeRequest/ChangeRequest.tsx
index 2aee9c7960..766273422d 100644
--- a/frontend/src/component/changeRequest/ChangeRequest/ChangeRequest.tsx
+++ b/frontend/src/component/changeRequest/ChangeRequest/ChangeRequest.tsx
@@ -49,7 +49,7 @@ export const ChangeRequest: VFC = ({
condition={changeRequest.features.length > 0}
show={
- You request changes for these feature toggles:
+ You request changes for these feature flags:
}
/>
diff --git a/frontend/src/component/changeRequest/ChangeRequest/Changes/FeatureToggleChanges.tsx b/frontend/src/component/changeRequest/ChangeRequest/Changes/FeatureToggleChanges.tsx
index 30a6c58fa7..7b4ab84f65 100644
--- a/frontend/src/component/changeRequest/ChangeRequest/Changes/FeatureToggleChanges.tsx
+++ b/frontend/src/component/changeRequest/ChangeRequest/Changes/FeatureToggleChanges.tsx
@@ -49,7 +49,7 @@ export const FeatureToggleChanges: FC = ({
px: 3,
}}
>
- Feature toggle name:
+ Feature flag name:
(
- {enabled ? 'Enable' : 'Disable'} feature toggle{' '}
+ {enabled ? 'Enable' : 'Disable'} feature flag{' '}
{featureName} in {environment}
);
diff --git a/frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentDeleteDialog/EnvironmentDeleteDialog.tsx b/frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentDeleteDialog/EnvironmentDeleteDialog.tsx
index 76a6ddf272..3121f046c7 100644
--- a/frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentDeleteDialog/EnvironmentDeleteDialog.tsx
+++ b/frontend/src/component/environments/EnvironmentTable/EnvironmentActionCell/EnvironmentDeleteDialog/EnvironmentDeleteDialog.tsx
@@ -52,7 +52,7 @@ export const EnvironmentDeleteDialog = ({
caution.
{' '}
Deleting this environment will result in removing all strategies
- that are active in this environment across all feature toggles.
+ that are active in this environment across all feature flags.
{
This is the order of environments that you have today in each
- feature toggle. Rearranging them here will change also the order
- inside each feature toggle.
+ feature flag. Rearranging them here will change also the order
+ inside each feature flag.