Add create account functionality to common/djangoapps/third_party_auth - #2994
Add create account functionality to common/djangoapps/third_party_auth#2994johncox-google wants to merge 14 commits into
Conversation
There was a problem hiding this comment.
should be _("Sign in with {provider_name}").format(provider_name=enabled.NAME), maybe with a translator note, too.
There was a problem hiding this comment.
Added .format(); didn't add translator note yet since I'll be replacing this HTML with some buttons once @marcotuts lets me know what CSS to use.
|
Thanks for the continued progress!
|
|
@mgainer is one of the engineers on my team. I asked him for a review from a general engineering perspective to help me iterate quickly. Obviously we're deferring to you for final review. I'll address the AUTHORS and translation comments in a follow-up. Any other comments before I move on? |
|
AUTHORS updated. |
|
I can understand updating AUTHORS in a new pull request (though there's no need), but why wait to fix the translations? UPDATED: I see you've done the AUTHORS and translations. Thanks! I will be doing a review also in the next day or so. |
There was a problem hiding this comment.
Pylint pragmas are best when they don't interrupt the reading flow: put them on the same line as the import, and no need to explain them.
There was a problem hiding this comment.
Comment removed; suppression inlined.
I like to document suppressions because I find their intent easy to understand when I'm writing them but basically opaque when I'm reading them a few weeks later.
|
@jbau, @alexmdavis, @version101, @AnuragRamdasan: just tagging you on this to keep you in the loop -- nothing you need to do. |
|
@johncox-google all set running in devstack. Couple minor points from the instructions above: |
|
@jzoldak Yeah, I typod my instructions, sorry. The docs in settings.py are correct, though, and the docs in common.py mention the syncdb. |
|
@jzoldak Re: the comment: two things:
|
|
@jzoldak Oh, and:
|
|
👍 for code & tests. |
|
@jzoldak Thanks! |
|
@nedbat, @jzoldak, @marcotuts: had some spare time today so I created https://github.com/edx/edx-platform/pull/3450, which switches the signin control from a text list to buttons. @marcotuts, could you have a look? If you like the UX (and haven't already done this) I'd like to merge that PR this week along with this one and https://github.com/edx/edx-platform/pull/3408. |
|
@johncox-google it looks like the branch needs a rebase. Also we need to squash the commits before merging. |
|
OK, merged as part of https://github.com/edx/edx-platform/pull/3450. Thanks, all (and shout out to @nedbat for all his help with the final merge). |
@mgainer for detailed review
@cpennington, @nedbat for edx-specific review
@marcotuts for UX (see below for 2 caveats where I can use your help)
This PR adds new account creation functionality. @marcotuts has seen a demo and approved the UX with two caveats:
Also, integration/e2e tests aren't written yet. I wanted to finalize the implementation before burning in the tests. We don't want to merge until tests are done.
Also not done are signing in to existing accounts via a third party, and managing account associations. Those will come in later PRs.