pretenders / ployst

The ployst core repo
1 stars 0 forks source link

Carles/324 manage teams #38

Closed txels closed 10 years ago

txels commented 10 years ago

This is a more fully working prototype for http://txels.tpondemand.com/entity/324

It's prototypal as I'm still figuring out how to structure things in Angular, markup, LESS and DRF (lots of open fronts) so there's loads of untested code. But the basic UI works, have a play with it and tell me what you think.

All the forms that are visible are meant to be hidden and open up in pop-overs when clicking on some sort of (+) or (Add) button.

alexcouper commented 10 years ago

Works well!

alexcouper commented 10 years ago

I found the position of "add new team" to be confusing, in the sense that I wondered whether I was adding a team within a team due to the layout of the page. Perhaps it should be along the top with the teams?

screen shot 2014-03-23 at 10 42 14 am

alexcouper commented 10 years ago

Or, alternatively, it might be a case of just visually adjusting both the delete and add buttons.

alexcouper commented 10 years ago

Happy to merge. Let me know if you want it in develop as is...

txels commented 10 years ago

I've moved team creation "form" to the top, outside individual team section, as per your suggestion.

Re this PR I'd like your general opinion on a few things:

Re: merging, unless you want to use this to build something on top, I'd rather at least add some tests.

txels commented 10 years ago

One can now use tox to run a full build. It generates coverage data. flake8 fails but you fixed that on your GH oauth branch.

txels commented 10 years ago

Now I merged your branch and fixed a test, and we have a green tox build :)

alexcouper commented 10 years ago

I think we're missing tox as a dependency somewhere...

alexcouper commented 10 years ago

Re your questions:

I'm not sure I follow. It all looks like it is in the accounts app...

I don't think we should support using the same email address on multiple accounts.

Yep - I think this makes sense. On the down side, I can forsee a g+ style annoyance when you don't know what email address a colleague signed up with and so you invite them again under a new email address and they end up with multiple accounts...

txels commented 10 years ago

Re: g+ style annoyance, it's a good point, we should make sure our invitation process covers that case and users can accept an invitation to join a team from an existing account even if the email address doesn't match. Maybe, if we want to make it secure, with a counter-invitation or moderated acceptance?