Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat(ui): add organization ID copy button (#8385)
Andrew Huanged8241fe7d0a
diff --git a/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx b/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsxindex 10142434e9..84fadbdf7b 100644--- a/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx+++ b/frontend/src/pages/organization/SettingsPage/components/OrgNameChangeSection/OrgNameChangeSection.tsx@@ -13,12 +13,16 @@ import {CardDescription,CardHeader,CardTitle,+ CopyButton,Field,FieldDescription,FieldError,FieldGroup,FieldLabel,Input,+ InputGroup,+ InputGroupAddon,+ InputGroupInput,Select,SelectContent,SelectItem,@@ -133,7 +137,17 @@ export const OrgNameChangeSection = (): JSX.Element => {/><Field><FieldLabel htmlFor="org-id">Organization ID</FieldLabel>- <Input id="org-id" value={currentOrg.id} disabled />+ <InputGroup>+ <InputGroupInput id="org-id" value={currentOrg.id} readOnly />+ <InputGroupAddon align="inline-end">+ <CopyButton+ key={currentOrg.id}+ type="button"+ value={currentOrg.id}+ ariaLabel="Copy organization ID"+ />+ </InputGroupAddon>+ </InputGroup></Field><ControllerdefaultValue=""