From c4387c5c79eeca65a704509fe6de5500c9490b25 Mon Sep 17 00:00:00 2001 From: Jaanu423 Date: Fri, 3 Jul 2026 13:44:05 +0530 Subject: [PATCH] feat(election): candidate lock UI, director board grouping, collapsible elections, and member photos - Candidate board: lock Remove and Change Symbol buttons when voting is active (VOTING_OPEN/CLOSED/RESULT_DECLARED/CANCELLED) - Director board: group directors by election with Current/Past badges, sorted newest first - Past election groups collapsed by default; click header to expand/collapse with chevron animation - Show first 6 directors, expand button for remaining members - Load member photos in director cards via clientImage API (fallback to initials) - 4-column responsive grid for director cards Co-Authored-By: Claude Sonnet 4.6 --- .../candidate-board.component.html | 37 ++- .../candidate-board.component.scss | 47 ++++ .../candidate-board.component.ts | 10 + .../director-board.component.html | 209 ++++++++++------- .../director-board.component.scss | 213 +++++++++++++++++- .../director-board.component.ts | 59 ++++- 6 files changed, 482 insertions(+), 93 deletions(-) diff --git a/src/app/election/components/candidate-board/candidate-board.component.html b/src/app/election/components/candidate-board/candidate-board.component.html index 88d4a6142..5c7f11907 100644 --- a/src/app/election/components/candidate-board/candidate-board.component.html +++ b/src/app/election/components/candidate-board/candidate-board.component.html @@ -101,13 +101,18 @@ } @else { No symbol } -