rubyforgood / habitat_humanity

MIT License
6 stars 13 forks source link

add break model #48

Open bjmllr opened 8 years ago

leesharma commented 8 years ago

The discussion around this issue probably happened at RfG, but how it's stated here is a bit confusing. Can we clarify what our goals are for this issue?

How will this model interact with our existing data model? What additional data needs to be collected? How will that change the interface?

bjmllr commented 8 years ago

This is more of a theoretical completeness/tech debt/programmer happiness enhancement rather than something that would directly affect UX. At the moment, we're responsible for tracking 2 types of time spans with a start event and a stop event: shifts and breaks. Shifts are represented explicitly as a model, but breaks are just derived from events as needed.