diff --git a/src-web/components/EnvironmentEditor.tsx b/src-web/components/EnvironmentEditor.tsx
index 3b8c2069..37258eb7 100644
--- a/src-web/components/EnvironmentEditor.tsx
+++ b/src-web/components/EnvironmentEditor.tsx
@@ -13,7 +13,7 @@ import {
setupOrConfigureEncryption,
withEncryptionEnabled,
} from '../lib/setupOrConfigureEncryption';
-import { BadgeButton } from './core/BadgeButton';
+import { PillButton } from './core/PillButton';
import { DismissibleBanner } from './core/DismissibleBanner';
import type { GenericCompletionConfig } from './core/Editor/genericCompletion';
import { Heading } from './core/Heading';
@@ -113,20 +113,20 @@ export function EnvironmentEditor({ environment, hideName, className, setRef }:
{!hideName &&
{environment?.name}
}
{isEncryptionEnabled ? (
!allVariableAreEncrypted ? (
- encryptEnvironment(environment)}>
+ encryptEnvironment(environment)}>
Encrypt All Variables
-
+
) : (
-
+
Encryption Settings
-
+
)
) : (
- valueVisibility.set((v) => !v)}>
+ valueVisibility.set((v) => !v)}>
{valueVisibility.value ? 'Hide Values' : 'Show Values'}
-
+
)}
- }
onClick={async () => {
@@ -134,7 +134,7 @@ export function EnvironmentEditor({ environment, hideName, className, setRef }:
}}
>
{environment.public ? 'Sharable' : 'Private'}
-
+
{environment.public && (!isEncryptionEnabled || !allVariableAreEncrypted) && (
openSettings.mutate('license')}
>
{detail.label}
-
+
);
}
diff --git a/src-web/components/WorkspaceHeader.tsx b/src-web/components/WorkspaceHeader.tsx
index fd3459cf..afd14782 100644
--- a/src-web/components/WorkspaceHeader.tsx
+++ b/src-web/components/WorkspaceHeader.tsx
@@ -6,7 +6,7 @@ import { useToggleCommandPalette } from '../hooks/useToggleCommandPalette';
import { workspaceLayoutAtom } from '../lib/atoms';
import { setupOrConfigureEncryption } from '../lib/setupOrConfigureEncryption';
import { CookieDropdown } from './CookieDropdown';
-import { BadgeButton } from './core/BadgeButton';
+import { PillButton } from './core/PillButton';
import { Icon } from './core/Icon';
import { IconButton } from './core/IconButton';
import { HStack } from './core/Stacks';
@@ -52,9 +52,9 @@ export const WorkspaceHeader = memo(function WorkspaceHeader({ className }: Prop
{showEncryptionSetup ? (
-
+
Enter Encryption Key
-
+
) : (
)}
diff --git a/src-web/components/core/BadgeButton.tsx b/src-web/components/core/PillButton.tsx
similarity index 80%
rename from src-web/components/core/BadgeButton.tsx
rename to src-web/components/core/PillButton.tsx
index e66796ef..6f63836e 100644
--- a/src-web/components/core/BadgeButton.tsx
+++ b/src-web/components/core/PillButton.tsx
@@ -2,7 +2,7 @@ import classNames from 'classnames';
import type { ButtonProps } from './Button';
import { Button } from './Button';
-export function BadgeButton({ className, ...props }: ButtonProps) {
+export function PillButton({ className, ...props }: ButtonProps) {
return (