From a1555a97a7deb0818c7f94c8638cba8b9a20d6e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Wiktor=20Tkaczy=C5=84ski?= Date: Fri, 25 Oct 2024 13:42:32 +0200 Subject: [PATCH 1/3] chore: bump subgraph-api to 0.0.43 (#930) --- apps/subgraph-api/package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/subgraph-api/package.json b/apps/subgraph-api/package.json index 4235bd966..6e68dcfc8 100644 --- a/apps/subgraph-api/package.json +++ b/apps/subgraph-api/package.json @@ -1,7 +1,7 @@ { "name": "api-subgraph", "private": true, - "version": "0.0.42", + "version": "0.0.43", "scripts": { "test": "graph test", "codegen": "graph codegen", From 8114aa11409fd44611544e60b90d88b2a969179a Mon Sep 17 00:00:00 2001 From: Less Date: Fri, 25 Oct 2024 18:50:13 +0700 Subject: [PATCH 2/3] feat: support custom label for basic voting (#868) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: support custom label for basic voting * feat: display custom choice labels * feat: use custom choices in vote modal * feat: show choice icon on proposal edit * feat: use custom choices for onchain proposals * feat: prevent deleting non-optional choices * feat: prevent adding more choices * feat: show delete button when possible * feat: use custom plcaeholder for basic choices * feat: handle proposals without abstain --------- Co-authored-by: Wiktor TkaczyƄski --- apps/ui/src/components/EditorChoices.vue | 56 ++++++++++++++++--- apps/ui/src/components/ProposalResults.vue | 8 +-- apps/ui/src/components/ProposalVote.vue | 31 ++++++++-- apps/ui/src/components/ProposalVoteBasic.vue | 7 ++- apps/ui/src/components/ProposalsListItem.vue | 1 + apps/ui/src/composables/useEditor.ts | 6 +- apps/ui/src/helpers/utils.ts | 10 +++- .../src/networks/common/graphqlApi/index.ts | 4 +- .../src/networks/common/graphqlApi/queries.ts | 1 + .../src/networks/common/graphqlApi/types.ts | 1 + apps/ui/src/views/Proposal.vue | 1 + apps/ui/src/views/Space/Editor.vue | 7 ++- 12 files changed, 101 insertions(+), 32 deletions(-) diff --git a/apps/ui/src/components/EditorChoices.vue b/apps/ui/src/components/EditorChoices.vue index 594c8b1a8..109435a0c 100644 --- a/apps/ui/src/components/EditorChoices.vue +++ b/apps/ui/src/components/EditorChoices.vue @@ -1,10 +1,12 @@