Skip to content

✨ Add Participation Report#2652

Merged
Findeton merged 1 commit into
release/10.0from
feat/meta-12102/release/10.0
May 10, 2026
Merged

✨ Add Participation Report#2652
Findeton merged 1 commit into
release/10.0from
feat/meta-12102/release/10.0

Conversation

@Findeton
Copy link
Copy Markdown
Contributor

@Findeton Findeton commented May 9, 2026

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 ParticipationReportTemplate and wire it into report generation and ReportType.
  • Admin Portal: add PARTICIPATION_REPORT to template/report enums, report action config, and translations.
  • Hasura: add indexes on sequent_backend.cast_vote to 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 Findeton merged commit ca9040f into release/10.0 May 10, 2026
23 checks passed
@Findeton Findeton deleted the feat/meta-12102/release/10.0 branch May 10, 2026 02:13
Findeton added a commit that referenced this pull request May 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants