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

promote Teams to first-class citizenship #3400

Closed
wants to merge 19 commits into from
Closed

Conversation

chadwhitacre
Copy link
Contributor

This will be at least part of #3399.

@chadwhitacre chadwhitacre added this to the Pivot milestone May 11, 2015
@chadwhitacre chadwhitacre changed the title promote Teams to a first-class citizen on Gratipay promote Teams to first-class citizenship May 11, 2015
@chadwhitacre
Copy link
Contributor Author

We don't need pledging any longer, which means we can cut out almost all of the simplates under /on/%platform/. I guess it's still useful to redirect from there to a connected Gratipay account.

@chadwhitacre
Copy link
Contributor Author

Let's call this PR done when all the UI for modifying tips and takes is converted into UI for modifying subscriptions and payroll.

  • move "your tip" widget on profile/elsewhere to "your payment" widget on team
  • move /~$username/members/ to /$team/payroll/
  • compute things on team (receiving, nsupporters, payroll, npayroll)

@chadwhitacre chadwhitacre mentioned this pull request May 11, 2015
@chadwhitacre
Copy link
Contributor Author

71 failed, 469 passed, 7 xfailed in 60.76 seconds

My goal for the evening is to get these tests cleaned up. Then I might turn the Teams explore page off to try to bring this to a mergeable state.

@chadwhitacre
Copy link
Contributor Author

As a way to fix the test suite, I'm looking at fixing the new Team class to work against the old takes table. Once that's working I'll migrate it to the payroll table.

@chadwhitacre
Copy link
Contributor Author

Bah. That's foolish. The takes table references participants, not teams.

@chadwhitacre
Copy link
Contributor Author

58 failed, 472 passed, 7 xfailed in 64.18 seconds

@chadwhitacre
Copy link
Contributor Author

Rebased on master after #3389.

We introduced a `data` directory in #3329, which masks our phony target
for populating the database with fake data.
But I can save tips to teams from the UI now.
@chadwhitacre
Copy link
Contributor Author

143 failed, 370 passed Ouch

@chadwhitacre
Copy link
Contributor Author

My God, it's full of 🐛s!

xl1xyq8

@chadwhitacre chadwhitacre mentioned this pull request May 12, 2015
Really we want to drop this in favor of a cached value in the db.
I think we should remove this API endpoint and add a new one once Teams
settle a bit.
chadwhitacre added a commit that referenced this pull request May 12, 2015
These were added on master after I made the commits that I cherry-picked
from #3400.
@chadwhitacre
Copy link
Contributor Author

I ended up scavenging this for parts. See #3399 for details.

@chadwhitacre chadwhitacre deleted the first-class-teams branch May 13, 2015 11:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant