Skip to content

Commit 8e81190

Browse files
authored
chore: replace FLE2 with proper names in UI (#3097)
1 parent 88b9095 commit 8e81190

File tree

3 files changed

+7
-9
lines changed

3 files changed

+7
-9
lines changed

packages/compass-collection/src/components/collection-header/fle-badge.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ const FLEBadge = (): React.ReactElement => (
1717
className={collectionHeaderBadgeStyles}
1818
variant={BadgeVariant.DarkGray}
1919
>
20-
{/* TODO(COMPASS-5626): use proper name instead of FLE2 */}
21-
<Icon glyph="Key" title="FLE2" size="small" />
22-
&nbsp;FLE2
20+
{/* Queryable Encryption is the user-facing name of FLE2 */}
21+
<Icon glyph="Key" title="Queryable Encryption" size="small" />
22+
&nbsp;Queryable Encryption
2323
</Badge>
2424
);
2525

packages/databases-collections-list/src/collections.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -61,11 +61,9 @@ function collectionPropertyToBadge({
6161
case 'timeseries':
6262
return { name, variant: 'darkgray', icon: 'TimeSeries' };
6363
case 'fle2':
64-
return { name, variant: 'darkgray', icon: 'Key' };
64+
return { name: 'Queryable Encryption', variant: 'darkgray', icon: 'Key' };
6565
case 'clustered':
6666
return { name, variant: 'darkgray' };
67-
case 'readonly':
68-
return { name };
6967
default:
7068
return { name };
7169
}

packages/databases-collections/src/components/collection-fields/fle2-fields.jsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,11 +71,11 @@ function FLE2Fields({
7171
toggled={isFLE2}
7272
disabled={isTimeSeries || isCapped}
7373
onToggle={checked => onChangeIsFLE2(checked)}
74-
// TODO(COMPASS-5626): Use proper name instead of FLE2
75-
label="FLE2"
74+
// Queryable Encryption is the user-facing name of FLE2
75+
label="Queryable Encryption"
7676
dataTestId="fle2-fields"
7777
helpUrl={HELP_URL_FLE2}
78-
description="FLE2 collections encrypt a subset of the fields using client-side encryption."
78+
description="Encrypt a subset of the fields using Queryable Encryption."
7979
>
8080
<FieldSet>
8181
<Label htmlFor="TODO(COMPASS-5653)">Encrypted fields</Label>

0 commit comments

Comments
 (0)