diff --git a/infrastructure/eid-wallet/package.json b/infrastructure/eid-wallet/package.json index 5f32b9b0..a2b3e07e 100644 --- a/infrastructure/eid-wallet/package.json +++ b/infrastructure/eid-wallet/package.json @@ -1,6 +1,6 @@ { "name": "eid-wallet", - "version": "0.1.0", + "version": "0.2.1", "description": "", "type": "module", "scripts": { diff --git a/infrastructure/eid-wallet/src/lib/ui/Drawer/Drawer.svelte b/infrastructure/eid-wallet/src/lib/ui/Drawer/Drawer.svelte index 1e7f4cad..0042d37b 100644 --- a/infrastructure/eid-wallet/src/lib/ui/Drawer/Drawer.svelte +++ b/infrastructure/eid-wallet/src/lib/ui/Drawer/Drawer.svelte @@ -1,56 +1,57 @@
+ You voted for: {revealedVoteData.chosenOption} +
++ Poll ID: {revealedVoteData.pollId} +
++ You're about to reveal your blind vote for poll: {revealPollId} +
+ ++ Note: Revealing your vote will show your choice + locally in this wallet. This action cannot be undone. +
++ {revealError} +
+{isBlindVotingRequest - ? "Your blind vote has been submitted and is now hidden from the platform." + ? "Your blind vote has been submitted and is now completely hidden using cryptographic commitments." : signingData?.pollId ? "Your vote has been signed and submitted to the voting system." : "Your message has been signed and submitted successfully."} @@ -1451,39 +1763,3 @@
- Your blind vote has been submitted and is now hidden from the - platform. -
-+ Your vote has been submitted. Results will be shown when the poll ends. +
+Selected Options:
+Your Point Distribution:
+Your Ranking:
+You have already voted on this poll
-Results will be shown when the poll ends
+- You voted for:{" "} - { - (() => { - if (voteStatus?.vote?.data?.mode === "normal" && Array.isArray(voteStatus.vote.data.data)) { - const optionIndex = parseInt(voteStatus.vote.data.data[0] || "0"); - return selectedPoll.options[optionIndex] || "Unknown option"; - } - return "Unknown option"; - })() - } -
+Your vote has been submitted. Results will be shown when the poll ends.
Selected Options:
+Your Point Distribution:
+Your Ranking:
+Your private vote has been submitted successfully
-The vote will remain hidden until revealed
+Your private vote has been submitted successfully
+The vote will remain hidden until revealed
++ Use this QR code to reveal your vote choice when you're ready +
++ Scan this QR code with your eID wallet to reveal your vote +
++ Poll ID: {poll.id} +
+