From ecb811659cf4246ee4ab69679cdb9b75f3ae38e6 Mon Sep 17 00:00:00 2001 From: HEADLINE Design Date: Fri, 9 Feb 2024 21:34:52 -0600 Subject: [PATCH 1/3] id target for sharing proposals --- src/xgov-dapp/src/features/vote/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xgov-dapp/src/features/vote/index.tsx b/src/xgov-dapp/src/features/vote/index.tsx index ca5deb3..2348e3d 100644 --- a/src/xgov-dapp/src/features/vote/index.tsx +++ b/src/xgov-dapp/src/features/vote/index.tsx @@ -524,7 +524,7 @@ function Vote({ sort: sortProp = 'none' }: { sort?: 'ascending' | 'descending' | .sort(sortQuestions) .sort(pinPassedQuestions) .map((question) => ( -
+
{question.metadata && ( Date: Fri, 9 Feb 2024 21:57:47 -0600 Subject: [PATCH 2/3] Append 'proposal' to id. Add copy to clipboard for proposal id. --- src/xgov-dapp/src/features/vote/index.tsx | 3 ++- src/xgov-dapp/src/shared/ProposalCard.tsx | 4 ++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/xgov-dapp/src/features/vote/index.tsx b/src/xgov-dapp/src/features/vote/index.tsx index 2348e3d..0263dc2 100644 --- a/src/xgov-dapp/src/features/vote/index.tsx +++ b/src/xgov-dapp/src/features/vote/index.tsx @@ -524,10 +524,11 @@ function Vote({ sort: sortProp = 'none' }: { sort?: 'ascending' | 'descending' | .sort(sortQuestions) .sort(pinPassedQuestions) .map((question) => ( -
+
{question.metadata && ( } {category && } + {id && ( )} From a9cbaeeeb90ee089a23a086a0a10708d41d7f58d Mon Sep 17 00:00:00 2001 From: HEADLINE Design Date: Fri, 9 Feb 2024 22:08:29 -0600 Subject: [PATCH 3/3] full anchor link and copy to clipboard --- src/xgov-dapp/src/features/vote/index.tsx | 2 +- src/xgov-dapp/src/shared/ProposalCard.tsx | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/xgov-dapp/src/features/vote/index.tsx b/src/xgov-dapp/src/features/vote/index.tsx index 0263dc2..469ff74 100644 --- a/src/xgov-dapp/src/features/vote/index.tsx +++ b/src/xgov-dapp/src/features/vote/index.tsx @@ -528,7 +528,7 @@ function Vote({ sort: sortProp = 'none' }: { sort?: 'ascending' | 'descending' |
{question.metadata && ( } {category && } - {id && ( )} + {anchor && ( )}