open-austin / budgetparty

Budget Party was built to help people understand and augment a city budget for Austin. It is an interactive app that is best used in context of a "Budget Party" event.
https://austinbudget.party
The Unlicense
25 stars 24 forks source link

recalculate total funds available and spending totals on reset #199

Closed pvcarroll closed 7 years ago

pvcarroll commented 7 years ago

Fixes #159: After you reset, recalculate service amount and change remaining funds amount

Noticed that totals aren't set when the page loads - not sure if that was intended behavior or not.

mateoclarke commented 7 years ago

@pvcarroll, That's a good point about total for the department not being set on load. I do think that should be the intended behavior, but I'm open to having my mind changed if we got that feedback.

Right now, a user's values for each department start at 0. Once they are on a Department page and tap up or down, it obviously updates. Or if they click next, we set them at the amount from last year. So the user's selected value is effectively blank until they take some progressive action.