Skip to content

Bitrefill winners → central panel + admin contact details (EUR)#193

Merged
sacha-l merged 3 commits into
mainfrom
feat/bitrefill-winners-and-contacts
Jun 18, 2026
Merged

Bitrefill winners → central panel + admin contact details (EUR)#193
sacha-l merged 3 commits into
mainfrom
feat/bitrefill-winners-and-contacts

Conversation

@sacha-l

@sacha-l sacha-l commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Bitrefill hackathon winners → central winners/payments panel, plus admin contact details. Targets main — one merge ships it to prod. (develop == main, so no separate release step.)

What's included

  • Contact details (admin-only): ·CONTACT (name + email + mailto) in the admin RESULTS view. Verified not leaked — public results strip it, the leaderboard endpoint is gated, and the promote flow no longer embeds the email in the (public) project description.
  • ADD TO WINNERS PANEL button per prize-winner in RESULTS → promotes the submission into the central winners panel (idempotent; "✓ IN WINNERS PANEL" once added).
  • Winners appear tagged with the Bitrefill event, sorted to the top (by program event date), with EUR amounts (€100, not $100).
  • Migration 20260618000000 adds bounty_prizes.currency (default USD). Already applied to prod.

Tests

440 server tests pass; client build + lint clean.

After merge

  • Add the main winners + the 3 showcase (qubitrefill / VoiceBuy / LootDrop, awarded 100 EUR) via the button.
  • I'll then set the 3 showcase bounty names to "Showcase" via DB (small, reversible).

…view

Adds lumaEmail to the admin/judge leaderboard rows (gated; stripped from public
results) and shows a ·CONTACT line (name + mailto) in the expanded results row,
so admins can reach winners. Already present in the CSV export.
@vercel

vercel Bot commented Jun 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
stadium Ready Ready Preview, Comment Jun 18, 2026 5:51pm

… support

- Migration: add bounty_prizes.currency (default USD) so non-USD prizes show
  correctly (€100 instead of $100).
- promoteToProject now supplies the required project fields and creates a
  bounty_prizes row from the submission's awarded prize (or an explicit override,
  for the Showcase award), so a promoted winner actually appears in the panel.
- WinnersTable sorts by the program event date (Bitrefill 2026 → top) and shows
  the bounty currency (€/DOT/other).
- RESULTS view: an admin 'ADD TO WINNERS PANEL' button per winner (idempotent;
  shows '✓ IN WINNERS PANEL' once added). Leaderboard rows carry promotedProjectId.

440 server tests pass; client build + lint clean.
…cription

Project descriptions are public, so the promote flow must not leak the
submitter's contact email. Contact stays admin-only (judging results view +
CSV). publicResults already strips it; the leaderboard endpoint is admin-gated.
@sacha-l sacha-l changed the title feat(judging): show submission contact email in admin results Bitrefill winners → central panel + admin contact details (EUR) Jun 18, 2026
@sacha-l sacha-l changed the base branch from develop to main June 18, 2026 19:05
@sacha-l sacha-l merged commit a1a4179 into main Jun 18, 2026
2 checks passed
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.

1 participant