Merge lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 into lp:software-center
Status: | Merged |
---|---|
Merged at revision: | 2989 |
Proposed branch: | lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 |
Merge into: | lp:software-center |
Diff against target: |
131 lines (+66/-4) 2 files modified
softwarecenter/backend/login_sso.py (+3/-2) softwarecenter/ui/gtk3/widgets/recommendations.py (+63/-2) |
To merge this branch: | bzr merge lp:~gary-lasker/software-center/recommendations-sso-login-lp973612 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
software-store-developers | Pending | ||
Review via email: mp+102044@code.launchpad.net |
Description of the change
This branch fixes the recommendations opt-in issue described in bug 973612, and also implements most of the changes needed for bug 967064. It implements an SSO login flow specific to the recommendations service, and reuses the opt-in text from the opt-in panel in the SSO dialog itself so that we can avoid adding an entire new string this far past string freeze for Precise.
The branch also takes care of the case where a user had previously opted-in to recommendations and their Ubuntu SSO token has since been removed, revoked, or otherwise found to be invalid.
Finally, a small UI improvement is included where a spinner is now show immediately upon opting-in, where previously there was a small delay where the opt-in panel continued to show before the profile upload spinner appeared.
P.S. All unit tests pass. And thank you for your review!