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
fix(ui): label password generator icon actions (#8929)
Andrew Huang39661ba6b42e
diff --git a/frontend/src/components/v3/platform/PasswordGenerator/PasswordGenerator.tsx b/frontend/src/components/v3/platform/PasswordGenerator/PasswordGenerator.tsxindex 5d73d690e9..cbf5efc7a7 100644--- a/frontend/src/components/v3/platform/PasswordGenerator/PasswordGenerator.tsx+++ b/frontend/src/components/v3/platform/PasswordGenerator/PasswordGenerator.tsx@@ -303,7 +303,12 @@ export const PasswordGenerator = ({{trigger ? (cloneElement(trigger, { disabled: isDisabled })) : (- <IconButton variant="outline" size="md" isDisabled={isDisabled}>+ <IconButton+ aria-label="Generate random value"+ variant="outline"+ size="md"+ isDisabled={isDisabled}+ ><KeyRoundIcon /></IconButton>)}@@ -344,10 +349,20 @@ export const PasswordGenerator = ({<div className="flex items-center justify-between gap-2"><p className="flex-1 font-mono text-sm break-all select-all">{password}</p><div className="flex shrink-0 gap-1">- <IconButton variant="ghost" size="xs" onClick={() => setRefresh((prev) => !prev)}>+ <IconButton+ aria-label="Generate another value"+ variant="ghost"+ size="xs"+ onClick={() => setRefresh((prev) => !prev)}+ ><RefreshCwIcon /></IconButton>- <IconButton variant="ghost" size="xs" onClick={copyToClipboard}>+ <IconButton+ aria-label="Copy generated value"+ variant="ghost"+ size="xs"+ onClick={copyToClipboard}+ >{isCopying ? <CheckIcon /> : <CopyIcon />}</IconButton></div>