feat(elections): results UI with round-by-round visualization

オープン
#1,945 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
d3, react

調査の方向性

Start with epic #1933 and the dependent IRV and STV tabulation issues to understand the available aggregate results. Then locate the existing election UI entry points and design-system color tokens; done means admin and public result views, round tables and visualization, exhausted-ballot labels, shareable URLs, CSV downloads, and no raw ballots exposed.

索引モデルが issue の本文から書いたものです。

説明

Summary

Display tabulation results to admins (preview) and to the public (after publish) with a round-by-round breakdown that makes ranked-choice results legible.

Part of #1933.

Requirements

  • Admin-only results preview once election status is `closed`
  • Public results page once status is `published`
  • Per-race display: method (IRV/STV), winner(s), seats filled, quota (for STV)
  • Round-by-round table showing counts, eliminations, transfers
  • Visualization (stacked bar chart or Sankey) showing ballot flow across rounds
  • Clear labeling of exhausted ballots in every round
  • Shareable per-election URL
  • Downloadable CSV of per-round counts for each race
  • No raw ballots exposed in the UI — only aggregate round data

Context

  • Epic: #1933
  • Depends on IRV and STV tabulation issues

Implementation notes

  • Sankey visualization library: `d3-sankey` directly, or `@nivo/sankey` if we want a pre-built React component
  • Use design-system color tokens — results coloring must meet contrast requirements
主要言語
HTML
スター
33
フォーク
107
平均マージ
14時間 6分
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

USRSE/usrse.github.io のほかの issue

USRSE/usrse.github.io の issue をすべて見る

似ている issue

Data Visualization の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。