Skip to content
This repository has been archived by the owner on Feb 8, 2018. It is now read-only.

Count team takes in receiving amounts of participants #2496

Merged
merged 25 commits into from
Jun 17, 2014

Conversation

Changaco
Copy link
Contributor

Fixes #1139, one more step towards fixing #1127.

@seanlinsley
Copy link
Contributor

They shouldn't be combined; we should have two separate numbers. We shouldn't devalue direct gifts people receive.

@Changaco
Copy link
Contributor Author

@seanlinsley They're not combined in the DB, feel free to open another PR to show them separately in the UI.

@Changaco
Copy link
Contributor Author

Added a test to prevent regressions.

@Changaco Changaco changed the title Count team takes in receiving amounts of participants Count team takes in receiving amounts of participants, fixes #1139 Jun 15, 2014
@Changaco Changaco changed the title Count team takes in receiving amounts of participants, fixes #1139 Count team takes in receiving amounts of participants Jun 15, 2014
@chadwhitacre
Copy link
Contributor

Test suite passes for me.

@chadwhitacre
Copy link
Contributor

Now to understand what is going on here ... :-)

@chadwhitacre
Copy link
Contributor

Okay, took a first pass through the code. Now to stand it up and understand what difference it makes in the UI.

Changaco and others added 12 commits June 16, 2014 20:09
The team name knob was never actually used.
We're at 100 char lines now.
Before we were hardwiring 'alice' as the only team member that we would
set a previous take for. I want to write tests for the interaction
between takes for multiple member, so I need to be able to set
take_last_week for multiple members.
When a member changes their take it affects the computed `takes` for all
other team members.
Including one for including takes in receiving.
@chadwhitacre
Copy link
Contributor

We talking in IRC about renaming the takes column to taking to be parallel with giving, pledging, and receiving.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.29%) when pulling 4c180d1 on count-takes-in-receiving into e37821f on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.29%) when pulling 4c180d1 on count-takes-in-receiving into e37821f on master.

@coveralls
Copy link

Coverage Status

Coverage increased (+0.29%) when pulling f87f22a on count-takes-in-receiving into e37821f on master.

chadwhitacre added a commit that referenced this pull request Jun 17, 2014
Count team takes in receiving amounts of participants
@chadwhitacre chadwhitacre merged commit c23992e into master Jun 17, 2014
@chadwhitacre chadwhitacre deleted the count-takes-in-receiving branch June 17, 2014 20:02
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Team take not included in total received.
4 participants