{"action":"created","issue":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2414","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2414/labels{/name}","comments_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2414/comments","events_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2414/events","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/2414","id":67156945,"number":2414,"title":"[Ready for Review] Update User Settings UI","user":{"login":"samchrisinger","id":2207561,"avatar_url":"https://avatars.githubusercontent.com/u/2207561?v=3","gravatar_id":"","url":"https://api.github.com/users/samchrisinger","html_url":"https://github.com/samchrisinger","followers_url":"https://api.github.com/users/samchrisinger/followers","following_url":"https://api.github.com/users/samchrisinger/following{/other_user}","gists_url":"https://api.github.com/users/samchrisinger/gists{/gist_id}","starred_url":"https://api.github.com/users/samchrisinger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samchrisinger/subscriptions","organizations_url":"https://api.github.com/users/samchrisinger/orgs","repos_url":"https://api.github.com/users/samchrisinger/repos","events_url":"https://api.github.com/users/samchrisinger/events{/privacy}","received_events_url":"https://api.github.com/users/samchrisinger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/40","html_url":"https://github.com/CenterForOpenScience/osf.io/milestones/0.42.0","labels_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/milestones/40/labels","id":1175091,"number":40,"title":"0.42.0","description":"","creator":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"open_issues":22,"closed_issues":23,"state":"open","created_at":"2015-06-22T13:30:59Z","updated_at":"2015-06-29T16:21:32Z","due_on":null,"closed_at":null},"comments":11,"created_at":"2015-04-08T15:33:55Z","updated_at":"2015-06-29T16:31:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/pulls/2414","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/2414","diff_url":"https://github.com/CenterForOpenScience/osf.io/pull/2414.diff","patch_url":"https://github.com/CenterForOpenScience/osf.io/pull/2414.patch"},"body":"## Purpose\r\n\r\n**Proposal: https://docs.google.com/document/d/1oEED-vGOyC0K5CjdVpBqgtdGnO0021ICNitzim1AhKs/edit**\r\n\r\nMaking users check a checkbox to enable addons from the user settings page is slow and confusing. This PR removes those checkboxes, and instead lists each addon show the 0 or more accounts connected as well as the 0 or more nodes connected to that account.\r\n\r\nAlso, grouping twofactor with other addons doesn't make much sense, this moves twofactor to the account settings pane.\r\n\r\n## Changes\r\n\r\nBefore we checked if the {Addon}UserSettings model was instantiated before rendering the addon's user config. This PR lets those models be uninstatiated. Connecting an account is equivalent to enabling the addon (for a user). \r\n\r\nAlso, the twofactor settings UI has been updated to be asnyc.  Backend changes to support this are included as well.\r\n\r\n## Side Effects\r\n\r\nWe'll need to regression test user/node settings workflows. \r\n\r\nAlso, this includes significant UI changes that will likely require updates to our user documentation. "},"comment":{"url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/comments/116751008","html_url":"https://github.com/CenterForOpenScience/osf.io/pull/2414#issuecomment-116751008","issue_url":"https://api.github.com/repos/CenterForOpenScience/osf.io/issues/2414","id":116751008,"user":{"login":"sloria","id":2379650,"avatar_url":"https://avatars.githubusercontent.com/u/2379650?v=3","gravatar_id":"","url":"https://api.github.com/users/sloria","html_url":"https://github.com/sloria","followers_url":"https://api.github.com/users/sloria/followers","following_url":"https://api.github.com/users/sloria/following{/other_user}","gists_url":"https://api.github.com/users/sloria/gists{/gist_id}","starred_url":"https://api.github.com/users/sloria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sloria/subscriptions","organizations_url":"https://api.github.com/users/sloria/orgs","repos_url":"https://api.github.com/users/sloria/repos","events_url":"https://api.github.com/users/sloria/events{/privacy}","received_events_url":"https://api.github.com/users/sloria/received_events","type":"User","site_admin":false},"created_at":"2015-06-29T16:31:00Z","updated_at":"2015-06-29T16:31:00Z","body":"Pass finished. :full_moon_with_face: "}}