Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Maximum total budget for a proposal changes from year to year

Aperta
#186 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
html
Ambito
backend, web-dev

Direzione di ricerca

Inizia da api/templates/pages/budget.html#L133 e segui il percorso con cui il modulo della proposta ottiene il valore corrente dell'avviso. Poi esamina la pagina Set Parameters e i dati di produzione degli anni precedenti per identificare dove devono trovarsi i valori degli stipendi e degli altri budget. Il lavoro è completato quando entrambi i valori sono configurabili, l'avviso li controlla separatamente per più membri del Faculty e i dati degli anni precedenti rimangono valorizzati.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Faculty stipends (which is solved by PR #183) brings about another issue, which is there is a warning hard-coded into the end of the proposal form which notifies the user that their proposal is over a certain amount: https://github.com/BCStudentSoftwareDevTeam/urcpp/blob/development/api/templates/pages/budget.html#L133

This number should be dynamic, which means it needs to be programmable in the Set Parameters page.

However, the current number ($8300) was derived from a $5300 faculty stipend (now wrong) + $3000 max budget for everything else (which may also change in the future). Worse yet, this doesn't take into consideration the fact that two or more faculty could be on a proposal, which would make the budget: 5300 + 5300 + 3000.

So, this needs reworked so that faculty stipends are treated separately from the other budget calculations when this warning is displayed. In reality, it should only be a check on the $3000 budget for everything else, and a separate check on the stipend based on the number of faculty on the proposal.

Both the stipend and the "everything else budgets" should be set in the Set Parameters page so they can change each year.

You'll also want to check the impact of this on previous years (i.e., fix the production data so the value is in there).

Lingua principale
HTML
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di BCStudentSoftwareDevTeam/urcpp

Tutte le issue di BCStudentSoftwareDevTeam/urcpp

Issue simili

Altre issue su Backend & API Design

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.