Skip to content

Add contributor milestone voting - #617

Merged
dotunv merged 1 commit into
Savitura:mainfrom
kitWarse:feat/586-milestone-contributor-voting
Jul 28, 2026
Merged

Add contributor milestone voting#617
dotunv merged 1 commit into
Savitura:mainfrom
kitWarse:feat/586-milestone-contributor-voting

Conversation

@kitWarse

Copy link
Copy Markdown
Contributor

Summary

  • Added contributor milestone approval voting so backers can approve or reject milestones while evidence is awaiting platform review.
  • Added backend tally endpoints, vote persistence, and release threshold enforcement before platform release.
  • Added a campaign page voting panel for pending-review milestones.

Issue

Changes

  • Added a milestone_votes table keyed by milestone and contributor.
  • Added GET/POST milestone vote endpoints with contributor access checks.
  • Added vote tally threshold logic to block release when contributor votes do not support approval.
  • Added frontend API helpers and a contributor milestone voting panel on campaign pages.

Validation

  • Ran node --check backend/src/routes/milestones.js.
  • Ran git diff --check.
  • Did not run full lint/test/build because dependencies are not installed in this fresh clone and the request was to PR after required changes without CI cleanup.

Notes

  • Platform release remains available when no contributor votes exist.
  • When votes exist, approval votes must outnumber rejection votes before release can proceed.

@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@kitWarse Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@dotunv
dotunv merged commit c183757 into Savitura:main Jul 28, 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.

FEATURE: Contributor Voting on Milestones

2 participants