From 54d6b9d209994391d2b4515f36d0411ddc3a1abf Mon Sep 17 00:00:00 2001 From: "Felix C. Morency" <1102868+fmorency@users.noreply.github.com> Date: Tue, 3 Dec 2024 14:44:02 -0500 Subject: [PATCH 1/2] fix: group creation form theme --- .../groups/forms/groups/ConfirmationForm.tsx | 33 +++++++++++-------- .../groups/forms/groups/GroupDetailsForm.tsx | 2 +- .../groups/forms/groups/GroupPolicyForm.tsx | 7 ++-- .../groups/forms/groups/MemberInfoForm.tsx | 9 +++-- components/groups/forms/groups/Success.tsx | 31 ++++++++--------- 5 files changed, 47 insertions(+), 35 deletions(-) diff --git a/components/groups/forms/groups/ConfirmationForm.tsx b/components/groups/forms/groups/ConfirmationForm.tsx index b3eaedaa..b329e956 100644 --- a/components/groups/forms/groups/ConfirmationForm.tsx +++ b/components/groups/forms/groups/ConfirmationForm.tsx @@ -106,25 +106,27 @@ export default function ConfirmationForm({
{/* Group Information */}
-

Group Information

+

+ Group Information +

-
+
-
+
{secondsToHumanReadable(Number(formData.votingPeriod.seconds))}
-
+
-
+
{formData.votingThreshold} / {formData.members.length}
-
+
{formData.description.length > 200 @@ -136,13 +138,13 @@ export default function ConfirmationForm({ {/* Authors */}
-

Authors

+

Authors

{Array.isArray(formData.authors) ? ( formData.authors.map((author, index) => (
{author.trim().startsWith('manifest1') ? ( @@ -152,7 +154,7 @@ export default function ConfirmationForm({
)) ) : ( -
+
{formData.authors.trim().startsWith('manifest1') ? ( ) : ( @@ -165,14 +167,14 @@ export default function ConfirmationForm({ {/* Members */}
-

Members

+

Members

{formData.members.map((member, index) => ( -
+
Address
Name
-
{member.name}
+
{member.name}
))}
@@ -182,7 +184,10 @@ export default function ConfirmationForm({ {/* Buttons */}
- diff --git a/components/groups/forms/groups/GroupPolicyForm.tsx b/components/groups/forms/groups/GroupPolicyForm.tsx index ee8ee768..ccea8587 100644 --- a/components/groups/forms/groups/GroupPolicyForm.tsx +++ b/components/groups/forms/groups/GroupPolicyForm.tsx @@ -82,7 +82,7 @@ export default function GroupPolicyForm({
-

+

Group Policy

- + Date: Tue, 3 Dec 2024 14:47:14 -0500 Subject: [PATCH 2/2] fix: duplicate property --- components/groups/forms/groups/Success.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/groups/forms/groups/Success.tsx b/components/groups/forms/groups/Success.tsx index 8038d91f..a500204c 100644 --- a/components/groups/forms/groups/Success.tsx +++ b/components/groups/forms/groups/Success.tsx @@ -99,7 +99,7 @@ export default function Success({
-