✨ Add Participation Report#2652
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Adds a new Participation Report report type across the Windmill backend, Admin Portal UI configuration, and default devcontainer report assets, including supporting DB indexes for efficient vote aggregation.
Changes:
- Windmill: introduce
ParticipationReportTemplateand wire it into report generation andReportType. - Admin Portal: add
PARTICIPATION_REPORTto template/report enums, report action config, and translations. - Hasura: add indexes on
sequent_backend.cast_voteto support participation aggregation queries; add default participation report templates/config in devcontainer MinIO assets.
Reviewed changes
Copilot reviewed 20 out of 20 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| packages/windmill/src/tasks/generate_report.rs | Routes PARTICIPATION_REPORT to the new participation template renderer. |
| packages/windmill/src/services/reports/participation.rs | Implements the participation report data gathering + rendering integration. |
| packages/windmill/src/services/reports/mod.rs | Exposes the new participation report module. |
| packages/windmill/src/postgres/reports.rs | Adds PARTICIPATION_REPORT to backend ReportType. |
| packages/admin-portal/src/types/templates.ts | Adds the participation template/report type to the frontend enum. |
| packages/admin-portal/src/types/reports.ts | Enables participation report actions and election policy in UI config. |
| packages/admin-portal/src/translations/en.ts | Adds PARTICIPATION_REPORT label(s). |
| packages/admin-portal/src/translations/es.ts | Adds PARTICIPATION_REPORT label(s). |
| packages/admin-portal/src/translations/fr.ts | Adds PARTICIPATION_REPORT label(s). |
| packages/admin-portal/src/translations/nl.ts | Adds PARTICIPATION_REPORT label(s). |
| packages/admin-portal/src/translations/gl.ts | Adds PARTICIPATION_REPORT label(s). |
| packages/admin-portal/src/translations/eu.ts | Adds PARTICIPATION_REPORT label(s). |
| packages/admin-portal/src/translations/cat.ts | Adds PARTICIPATION_REPORT label(s). |
| packages/admin-portal/src/translations/tl.ts | Adds PARTICIPATION_REPORT label(s). |
| hasura/migrations/backend-db/1778284800000_add_participation_report_indexes/up.sql | Adds cast_vote indexes to speed up participation aggregation. |
| hasura/migrations/backend-db/1778284800000_add_participation_report_indexes/down.sql | Drops the added cast_vote indexes. |
| .devcontainer/minio/public-assets/participation_report.json | Adds preview JSON data for the participation report. |
| .devcontainer/minio/public-assets/participation_report_user.hbs | Adds the default user template for the participation report. |
| .devcontainer/minio/public-assets/participation_report_system.hbs | Adds the default system template wrapper for the participation report. |
| .devcontainer/minio/public-assets/participation_report_extra_config.json | Adds default PDF/report/email extra config for the participation report. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| use chrono::Local; | ||
| use deadpool_postgres::Transaction; | ||
| use sequent_core::services::keycloak::get_event_realm; | ||
| use sequent_core::services::translations::Name; |
Findeton
added a commit
that referenced
this pull request
May 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Parent issue: https://github.com/sequentech/meta/issues/12102