I removed the hover opacity on the 'copy secret name' icon so the icon is always visible instead of appearing only on hover. I believe this will make it more noticeable to users.

As a user myself, I didn't realize it was possible to copy a secret name until I accidentally hovered over it.
This commit is contained in:
isaiahmartin847
2025-01-27 12:26:22 -07:00
parent 8062f0238b
commit 92f697e195
@@ -195,7 +195,7 @@ function SecretRenameRow({ environments, getSecretByKey, secretKey, secretPath }
ariaLabel="copy-value" ariaLabel="copy-value"
variant="plain" variant="plain"
size="sm" size="sm"
className="p-0 opacity-0 group-hover:opacity-100" className="p-0 opacity-100"
onClick={copyTokenToClipboard} onClick={copyTokenToClipboard}
> >
<FontAwesomeIcon icon={isSecNameCopied ? faCheck : faCopy} /> <FontAwesomeIcon icon={isSecNameCopied ? faCheck : faCopy} />