From dd7223c9b19142941b842ba78ea26510453e24f2 Mon Sep 17 00:00:00 2001 From: Matias Date: Mon, 11 Nov 2024 14:48:52 -0300 Subject: [PATCH] fix: upgarde `ProposalCard` + small tweks --- apps/web/components/Charts/ChartWrapper.tsx | 2 +- apps/web/components/ProposalCard.tsx | 40 ++++++++++----------- apps/web/components/Proposals.tsx | 2 +- funding.json | 2 +- 4 files changed, 23 insertions(+), 23 deletions(-) diff --git a/apps/web/components/Charts/ChartWrapper.tsx b/apps/web/components/Charts/ChartWrapper.tsx index ee2377611..60d0ccbe3 100644 --- a/apps/web/components/Charts/ChartWrapper.tsx +++ b/apps/web/components/Charts/ChartWrapper.tsx @@ -33,7 +33,7 @@ export const ChartWrapper = ({ { name: "Conviction", className: "bg-primary-content h-4 w-4 rounded-full", - info: "Accumulated pool weight for a proposal, increasing over time, based on the conviction growth param.", + info: "Accumulated pool weight for a proposal, increasing over time, based on the conviction growth.", }, { name: "Threshold", diff --git a/apps/web/components/ProposalCard.tsx b/apps/web/components/ProposalCard.tsx index 7e03dc3c6..95b3efe23 100644 --- a/apps/web/components/ProposalCard.tsx +++ b/apps/web/components/ProposalCard.tsx @@ -154,32 +154,32 @@ export function ProposalCard({ const proposalCardContent = ( <>
-
+
{/* icon title and id */} -
-
+
+
-
-

- - - {metadata?.title} - - -

-
-
ID {proposalNumber}
-

- {prettyTimestamp(proposalData.createdAt ?? 0)} -

+
+ +

+ {metadata?.title} +

+
+
+
+
ID {proposalNumber}
+

+ {prettyTimestamp(proposalData.createdAt ?? 0)} +

+
-
+
{/* amount requested and proposal status */} -
+
{!isSignalingType && poolToken && (

Requested amount:

@@ -299,7 +299,7 @@ export function ProposalCard({
{!isAllocationView && stakedFilter && stakedFilter?.value > 0 && ( -

+

Your support: {poolWeightAllocatedInProposal}%

)} diff --git a/apps/web/components/Proposals.tsx b/apps/web/components/Proposals.tsx index f2c4ec160..69c922d4f 100644 --- a/apps/web/components/Proposals.tsx +++ b/apps/web/components/Proposals.tsx @@ -621,7 +621,7 @@ export function Proposals({ } tooltip="Make changes in proposals support first" > - Submit your support! + Submit your support
:
diff --git a/funding.json b/funding.json index c206b5066..5ec6f49f8 100644 --- a/funding.json +++ b/funding.json @@ -1,5 +1,5 @@ { "opRetro": { - "projectId": "0xf87dc66be181007e6d394553b4498ef833f7a53059d86e6ae399b4ca8db61543" + "projectId": "0xdde46a1ddca8effe3f50996d8a674fc0ed79d2c7e9dab310cba65529f97dc2d6" } }