From bc513e7c89e746e415981b89df69e7525488160d Mon Sep 17 00:00:00 2001 From: Jaanu423 Date: Wed, 1 Jul 2026 18:34:27 +0530 Subject: [PATCH] feat(election): modern results dashboard with donut chart, KPI panel, and symbol fix - Full redesign: backdrop blobs, KPI metrics panel, split-layout card (donut + candidates list) - Donut chart (CSS conic-gradient) per post showing vote share by candidate color - Winner spotlight banner; unopposed candidate celebration card - Fixed loadSymbols() timing bug: results iterated unconditionally, candidates use hasSymbol guard - Added fetchAndCacheSymbol() helper; loadSymbols() called after declareResults() - Fixed saveManualCounts -> saveManualVoteCounts method name mismatch Co-Authored-By: Claude Sonnet 4.6 --- .../election-results.component.html | 556 +++-- .../election-results.component.scss | 1997 ++++++++++------- .../election-results.component.ts | 99 +- 3 files changed, 1660 insertions(+), 992 deletions(-) diff --git a/src/app/election/components/election-results/election-results.component.html b/src/app/election/components/election-results/election-results.component.html index bb768c6e8..d7742c711 100644 --- a/src/app/election/components/election-results/election-results.component.html +++ b/src/app/election/components/election-results/election-results.component.html @@ -6,269 +6,419 @@ file, You can obtain one at http://mozilla.org/MPL/2.0/. --> -
-