From 5cd7ffeb13aa05e39523c4efcc8ba90b63332d97 Mon Sep 17 00:00:00 2001 From: Kylan Hurt Date: Sun, 12 Nov 2023 09:29:34 -0300 Subject: [PATCH 01/13] Initial implementation of BP votes tab Change BP Vote css to scss Improve styling for BP Vote tab Remove progress graph for BP Votes, adjust syntax --- src/components/BpVotes.vue | 119 +++++++++++++++++++++++++++++++++++++ src/pages/Account.vue | 6 ++ 2 files changed, 125 insertions(+) create mode 100644 src/components/BpVotes.vue diff --git a/src/components/BpVotes.vue b/src/components/BpVotes.vue new file mode 100644 index 00000000..d39395de --- /dev/null +++ b/src/components/BpVotes.vue @@ -0,0 +1,119 @@ + + + + + diff --git a/src/pages/Account.vue b/src/pages/Account.vue index 89d1ce86..bf9a731e 100644 --- a/src/pages/Account.vue +++ b/src/pages/Account.vue @@ -6,6 +6,7 @@ import KeysPanel from 'components/KeysPanel.vue'; import ChildrenPanel from 'components/ChildrenPanel.vue'; import AccountCard from 'components/AccountCard.vue'; import ContractTabs from 'components/contract/ContractTabs.vue'; +import BpVotes from 'components/BpVotes.vue'; import { api } from 'src/api'; import { useRoute, useRouter } from 'vue-router'; import { useStore } from 'src/store'; @@ -20,6 +21,7 @@ export default defineComponent({ ChildrenPanel, AccountCard, ContractTabs, + BpVotes, }, setup() { const store = useStore(); @@ -67,6 +69,7 @@ export default defineComponent({ + @@ -83,6 +86,9 @@ export default defineComponent({ + + + From 556ef9dc388fd026070c9fd605eb81b35581c918 Mon Sep 17 00:00:00 2001 From: Don Date: Fri, 24 Nov 2023 15:12:50 -0600 Subject: [PATCH 02/13] refactor: convert bpvotes component to script setup format --- src/components/BpVotes.vue | 35 +++++++++++++++++------------------ 1 file changed, 17 insertions(+), 18 deletions(-) diff --git a/src/components/BpVotes.vue b/src/components/BpVotes.vue index d39395de..5c3b9cdd 100644 --- a/src/components/BpVotes.vue +++ b/src/components/BpVotes.vue @@ -1,27 +1,27 @@ -