Skip to content

Election voting (update)#459

Open
reentim wants to merge 17 commits into
rubyaustralia:election-votingfrom
reentim:election-voting
Open

Election voting (update)#459
reentim wants to merge 17 commits into
rubyaustralia:election-votingfrom
reentim:election-voting

Conversation

@reentim
Copy link
Copy Markdown
Contributor

@reentim reentim commented Apr 19, 2026

This somewhat completes the earlier iteration on a proof-of-concept for an election system.

With these changes, it should be possible, through the UI, for committee members to create and manage elections, nominate users to stand in these elections, and for regular users to vote on nominees by scoring them on a point scale. Users can review how they voted in previous elections, however results are currently only displayed to committee members as I believe there's some question as to how to do this sensitively.

/admin/elections
Screenshot_2026-04-19_12-36-58

/admin/elections/new
Screenshot_2026-04-18_09-14-31

/admin/elections/:id
Screenshot_2026-04-19_10-04-46

/admin/elections/:id/nominations/new
Screenshot_2026-04-18_09-28-01

/elections
Screenshot_2026-04-19_09-39-09

/elections/:id
Screenshot_2026-04-18_09-22-19

/elections/:id - different state
Screenshot_2026-04-18_09-22-38

Add reusable _card and _list_card partials and refactor admin dashboards#show to use them. Replace repeated card markup with partials (including list rendering, time labels, and empty states), consolidate the user management form into the card with role filter and Turbo frame for search results, and improve UI/JS hooks. Also update DashboardDataService to expose inactive_members_count and never_logged_in_members_count (use counts instead of ActiveRecord relations) and adjust the view to use those count values.
@leesheppard leesheppard force-pushed the election-voting branch 2 times, most recently from 287ff13 to 6b3270a Compare May 20, 2026 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

4 participants