Skip to content

Conversation

Copy link

Copilot AI commented Nov 24, 2025

The grant system had hardcoded reimbursement amounts for ticket, accommodation, and travel categories in the Conference model. This prevented conferences from defining custom reimbursement categories or adjusting amounts per grant.

Changes

  • Removed hardcoded conference fields: grants_default_ticket_amount, grants_default_accommodation_amount, grants_default_travel_from_italy_amount, grants_default_travel_from_europe_amount
  • Added GrantReimbursement model: Links grants to GrantReimbursementCategory with configurable amounts per grant
  • Migration to new schema: Backfills existing grants with reimbursements based on legacy fields
  • Updated admin interface: Displays reimbursement breakdown in grant summary and review pages
  • Updated GraphQL API: Returns reimbursements as part of grant queries

Grants now support arbitrary reimbursement categories configured per conference, enabling flexible grant allocation beyond the original three categories.


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@vercel
Copy link

vercel bot commented Nov 24, 2025

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

Project Deployment Preview Updated (UTC)
pycon Ready Ready Preview Nov 24, 2025 0:02am

Copilot AI changed the title [WIP] Add flexible grant reimbursement categories Flexible Grant categories Nov 24, 2025
Copilot AI requested a review from estyxx November 24, 2025 12:01
Copilot finished work on behalf of estyxx November 24, 2025 12:01
@estyxx estyxx marked this pull request as ready for review November 24, 2025 12:06
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