From 393930266faac50b317e7eaeecf56919b3d9bfe2 Mon Sep 17 00:00:00 2001 From: Nicole O'Brien Date: Mon, 4 Mar 2024 18:17:19 +0000 Subject: [PATCH] ui: improve proposal details ui (#2067) Co-authored-by: Jean Ribeiro --- .../governance/components/ProposalList.svelte | 2 ++ .../components/ProposalListDetails.svelte | 27 +++++-------------- .../components/ProposalListMenu.svelte | 26 ++++++++++++++++++ .../dashboard/governance/components/index.ts | 1 + .../views/GovernanceDashboardView.svelte | 11 +++----- packages/shared/src/locales/en.json | 1 - 6 files changed, 39 insertions(+), 29 deletions(-) create mode 100644 packages/desktop/views/dashboard/governance/components/ProposalListMenu.svelte diff --git a/packages/desktop/views/dashboard/governance/components/ProposalList.svelte b/packages/desktop/views/dashboard/governance/components/ProposalList.svelte index b7e6cbcd44..20a277660a 100644 --- a/packages/desktop/views/dashboard/governance/components/ProposalList.svelte +++ b/packages/desktop/views/dashboard/governance/components/ProposalList.svelte @@ -4,6 +4,7 @@ import { isVisibleProposal, sortProposals } from '@contexts/governance/utils' import { SearchInput } from '@ui' import { ProposalCard } from './' + import ProposalListMenu from './ProposalListMenu.svelte' $: proposals = Object.values($registeredProposalsForSelectedAccount) @@ -31,6 +32,7 @@
+