{"action":"created","issue":{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/issues/10","repository_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility","labels_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/issues/10/labels{/name}","comments_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/issues/10/comments","events_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/issues/10/events","html_url":"https://github.com/washingtonstateuniversity/WSUWP-Content-Visibility/pull/10","id":142515830,"number":10,"title":"[PR] Improve support for content viewer groups","user":{"login":"jeremyfelt","id":286171,"avatar_url":"https://avatars.githubusercontent.com/u/286171?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyfelt","html_url":"https://github.com/jeremyfelt","followers_url":"https://api.github.com/users/jeremyfelt/followers","following_url":"https://api.github.com/users/jeremyfelt/following{/other_user}","gists_url":"https://api.github.com/users/jeremyfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyfelt/subscriptions","organizations_url":"https://api.github.com/users/jeremyfelt/orgs","repos_url":"https://api.github.com/users/jeremyfelt/repos","events_url":"https://api.github.com/users/jeremyfelt/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyfelt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/labels/priority:high","name":"priority:high","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"jeremyfelt","id":286171,"avatar_url":"https://avatars.githubusercontent.com/u/286171?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyfelt","html_url":"https://github.com/jeremyfelt","followers_url":"https://api.github.com/users/jeremyfelt/followers","following_url":"https://api.github.com/users/jeremyfelt/following{/other_user}","gists_url":"https://api.github.com/users/jeremyfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyfelt/subscriptions","organizations_url":"https://api.github.com/users/jeremyfelt/orgs","repos_url":"https://api.github.com/users/jeremyfelt/repos","events_url":"https://api.github.com/users/jeremyfelt/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyfelt/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/milestones/4","html_url":"https://github.com/washingtonstateuniversity/WSUWP-Content-Visibility/milestones/Current%20Release","labels_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/milestones/4/labels","id":1581337,"number":4,"title":"Current Release","description":"","creator":{"login":"jeremyfelt","id":286171,"avatar_url":"https://avatars.githubusercontent.com/u/286171?v=3","gravatar_id":"","url":"https://api.github.com/users/jeremyfelt","html_url":"https://github.com/jeremyfelt","followers_url":"https://api.github.com/users/jeremyfelt/followers","following_url":"https://api.github.com/users/jeremyfelt/following{/other_user}","gists_url":"https://api.github.com/users/jeremyfelt/gists{/gist_id}","starred_url":"https://api.github.com/users/jeremyfelt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jeremyfelt/subscriptions","organizations_url":"https://api.github.com/users/jeremyfelt/orgs","repos_url":"https://api.github.com/users/jeremyfelt/repos","events_url":"https://api.github.com/users/jeremyfelt/events{/privacy}","received_events_url":"https://api.github.com/users/jeremyfelt/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":2,"state":"open","created_at":"2016-02-13T19:48:18Z","updated_at":"2016-04-27T18:17:06Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2016-03-22T01:10:31Z","updated_at":"2016-05-17T21:18:29Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/pulls/10","html_url":"https://github.com/washingtonstateuniversity/WSUWP-Content-Visibility/pull/10","diff_url":"https://github.com/washingtonstateuniversity/WSUWP-Content-Visibility/pull/10.diff","patch_url":"https://github.com/washingtonstateuniversity/WSUWP-Content-Visibility/pull/10.patch"},"body":"When complete this will provide a base for plugins and themes to handle the search and assignment of content viewer groups.\r\n\r\nFixes #3 "},"comment":{"url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/issues/comments/219857211","html_url":"https://github.com/washingtonstateuniversity/WSUWP-Content-Visibility/pull/10#issuecomment-219857211","issue_url":"https://api.github.com/repos/washingtonstateuniversity/WSUWP-Content-Visibility/issues/10","id":219857211,"user":{"login":"philcable","id":6403569,"avatar_url":"https://avatars.githubusercontent.com/u/6403569?v=3","gravatar_id":"","url":"https://api.github.com/users/philcable","html_url":"https://github.com/philcable","followers_url":"https://api.github.com/users/philcable/followers","following_url":"https://api.github.com/users/philcable/following{/other_user}","gists_url":"https://api.github.com/users/philcable/gists{/gist_id}","starred_url":"https://api.github.com/users/philcable/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philcable/subscriptions","organizations_url":"https://api.github.com/users/philcable/orgs","repos_url":"https://api.github.com/users/philcable/repos","events_url":"https://api.github.com/users/philcable/events{/privacy}","received_events_url":"https://api.github.com/users/philcable/received_events","type":"User","site_admin":false},"created_at":"2016-05-17T21:18:29Z","updated_at":"2016-05-17T21:18:29Z","body":"@jeremyfelt This is looking good! Works great, and so far I haven't been able to break anything!\r\n\r\nOnly one thing jumped out during my first pass: the custom \"Sticky\" and \"Password\" fields need a little more work in order to function like their default counterparts. As they are, their visibility doesn't toggle - and, more importantly, they don't seem to save. Prefixing the ids of their respective span wrappers with `custom-` and updating their references in the JS to match should give us the expected toggle behavior (and help preserve the uniqueness of the ids from the default markup). As for saving, I wonder if the custom input values couldn't be assigned straight to the default hidden inputs? That could also potentially eliminate the need to provide custom hidden inputs. Last, I think there's a typo on https://github.com/washingtonstateuniversity/WSUWP-Content-Visibility/blob/fa67475a93dc4e5322f8405591b4bb7c47db70c0/js/post-admin.js#L28 (I suspect the selector should be `#sticky`)."}}