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

EventProgramStatusReport: wire up or drop the unused featured_year/prior_year API

Aperta
#2,255 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Refactoring
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
ruby
Ambito
full-stack

Direzione di ricerca

Inizia con EventProgramStatusReport e segui l’argomento featured_year da EventsController#program_statuses fino a events/program_statuses.html.erb e _program_status_report.html.erb. Confronta l’utilizzo in participation.html.erb e revenue.html.erb prima di decidere se aggiungere la fascia KPI o rimuovere l’API inutilizzata. Il lavoro è completato quando la direzione scelta è implementata in modo coerente e non rimane alcuna interfaccia inutilizzata.

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

Descrizione

🤖 From Claude:

Found while reviewing the org affiliation / program-status branch (maebeale/remove-org-status-columns).

EventProgramStatusReport mirrors its sibling reports' period API, but nothing reads it:

  • #featured_year, #prior_year, #all_trainings_group, #years_by_value have no callers.
  • EventsController#program_statuses passes featured_year: selected_year, which therefore goes nowhere.
  • events/program_statuses.html.erb and _program_status_report.html.erb read years plus the Aggregates sums; the hub card uses period_scope.

Two ways out:

  • Wire it up — add a KPI strip to program_statuses.html.erb the way participation.html.erb and revenue.html.erb use featured_year / prior_year for year-over-year deltas. Probably the intent, and it's the figure annual reporting wants.
  • Drop it — delete the four methods and the featured_year: constructor argument, keeping period_scope (which the reports hub does use).

Not urgent; no user-visible effect either way.

Lingua principale
Ruby
Stelle
15
Fork
28
Merge medio
1g 12m
PR unite (30g)
262

Preparare l'ambiente

Apri in Codespaces

Avvia il container di sviluppo del progetto nel browser, con il tuo account GitHub.

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 rubyforgood/awbw

Tutte le issue di rubyforgood/awbw

Issue simili

Altre issue su Ruby

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.