From 9ae0880f50c6110633fc5183798406538d60e886 Mon Sep 17 00:00:00 2001 From: carlosmonastyrski Date: Wed, 16 Apr 2025 07:07:37 -0300 Subject: [PATCH 1/2] Improve random value generator modal UI --- .../v2/PasswordGenerator/PasswordGenerator.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx b/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx index 62002b492..457ff1cc1 100644 --- a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx +++ b/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx @@ -112,9 +112,8 @@ const PasswordGeneratorModal = ({ className="w-full max-w-lg rounded-lg border border-mineshaft-600 bg-mineshaft-800 shadow-xl" >
-

Password Generator

-

Generate strong unique passwords

- +

Generate Random Value

+

Generate strong unique values

{password}
@@ -219,7 +218,7 @@ const PasswordGeneratorModal = ({ onClick={usePassword} className="ml-2" > - Use Password + Use Value )}
@@ -252,11 +251,12 @@ export const PasswordGenerator = ({ <> From 5ef5a5a10748108637a0382680daded44f2b77c4 Mon Sep 17 00:00:00 2001 From: carlosmonastyrski Date: Wed, 16 Apr 2025 08:04:41 -0300 Subject: [PATCH 2/2] Improve random value generator modal UI --- .../v2/PasswordGenerator/PasswordGenerator.tsx | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx b/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx index 457ff1cc1..4ce4a7ffa 100644 --- a/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx +++ b/frontend/src/components/v2/PasswordGenerator/PasswordGenerator.tsx @@ -145,18 +145,18 @@ const PasswordGeneratorModal = ({
-
setPasswordOptions({ ...passwordOptions, length: value })} className="mb-1" - aria-labelledby="password-length-label" + aria-labelledby="value-length-label" />
@@ -250,7 +250,7 @@ export const PasswordGenerator = ({ return ( <>