{"action":"opened","number":115,"pull_request":{"url":"https://api.github.com/repos/dpla/primary-source-sets/pulls/115","id":61088683,"html_url":"https://github.com/dpla/primary-source-sets/pull/115","diff_url":"https://github.com/dpla/primary-source-sets/pull/115.diff","patch_url":"https://github.com/dpla/primary-source-sets/pull/115.patch","issue_url":"https://api.github.com/repos/dpla/primary-source-sets/issues/115","number":115,"state":"open","locked":false,"title":"expansible checkbox menus on admin form","user":{"login":"AudreyAltman","id":3615206,"avatar_url":"https://avatars.githubusercontent.com/u/3615206?v=3","gravatar_id":"","url":"https://api.github.com/users/AudreyAltman","html_url":"https://github.com/AudreyAltman","followers_url":"https://api.github.com/users/AudreyAltman/followers","following_url":"https://api.github.com/users/AudreyAltman/following{/other_user}","gists_url":"https://api.github.com/users/AudreyAltman/gists{/gist_id}","starred_url":"https://api.github.com/users/AudreyAltman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AudreyAltman/subscriptions","organizations_url":"https://api.github.com/users/AudreyAltman/orgs","repos_url":"https://api.github.com/users/AudreyAltman/repos","events_url":"https://api.github.com/users/AudreyAltman/events{/privacy}","received_events_url":"https://api.github.com/users/AudreyAltman/received_events","type":"User","site_admin":false},"body":"On the admin new/edit forms for source_sets, sources, guides, tags, and vocabularies, there are checkbox menus that allow admins to assert relationships with other objects (ie. the vocabularies form has a checkbox menu of all tags, so that admins can check which ones should belong to the vocabulary).  These checkbox menus can be long and unwieldy, making the user experience quite unpleasant. \r\n\r\nThis PR introduces links to show/hide the checkbox menus.  It also provides the user with a message if there are no associated objects to choose from.\r\n\r\nThis PR also deletes some unnecessary <br/> tags on the forms that to tighten up whitespace and make it easier to understand which labels are associated with which input boxes.\r\n\r\nThe UI experience has been tested locally and on staging.\r\n\r\nThis addresses [ticket #8395](https://issues.dp.la/issues/8295).","created_at":"2016-02-29T14:51:16Z","updated_at":"2016-02-29T14:51:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/dpla/primary-source-sets/pulls/115/commits","review_comments_url":"https://api.github.com/repos/dpla/primary-source-sets/pulls/115/comments","review_comment_url":"https://api.github.com/repos/dpla/primary-source-sets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dpla/primary-source-sets/issues/115/comments","statuses_url":"https://api.github.com/repos/dpla/primary-source-sets/statuses/68f43af61d0909ce472d27fb8c9d0e64186a257d","head":{"label":"dpla:feature/admin-checkbox-menus","ref":"feature/admin-checkbox-menus","sha":"68f43af61d0909ce472d27fb8c9d0e64186a257d","user":{"login":"dpla","id":1252916,"avatar_url":"https://avatars.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"repo":{"id":41165715,"name":"primary-source-sets","full_name":"dpla/primary-source-sets","owner":{"login":"dpla","id":1252916,"avatar_url":"https://avatars.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dpla/primary-source-sets","description":"App for managing sets of educational resources","fork":false,"url":"https://api.github.com/repos/dpla/primary-source-sets","forks_url":"https://api.github.com/repos/dpla/primary-source-sets/forks","keys_url":"https://api.github.com/repos/dpla/primary-source-sets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpla/primary-source-sets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpla/primary-source-sets/teams","hooks_url":"https://api.github.com/repos/dpla/primary-source-sets/hooks","issue_events_url":"https://api.github.com/repos/dpla/primary-source-sets/issues/events{/number}","events_url":"https://api.github.com/repos/dpla/primary-source-sets/events","assignees_url":"https://api.github.com/repos/dpla/primary-source-sets/assignees{/user}","branches_url":"https://api.github.com/repos/dpla/primary-source-sets/branches{/branch}","tags_url":"https://api.github.com/repos/dpla/primary-source-sets/tags","blobs_url":"https://api.github.com/repos/dpla/primary-source-sets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpla/primary-source-sets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpla/primary-source-sets/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpla/primary-source-sets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpla/primary-source-sets/statuses/{sha}","languages_url":"https://api.github.com/repos/dpla/primary-source-sets/languages","stargazers_url":"https://api.github.com/repos/dpla/primary-source-sets/stargazers","contributors_url":"https://api.github.com/repos/dpla/primary-source-sets/contributors","subscribers_url":"https://api.github.com/repos/dpla/primary-source-sets/subscribers","subscription_url":"https://api.github.com/repos/dpla/primary-source-sets/subscription","commits_url":"https://api.github.com/repos/dpla/primary-source-sets/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpla/primary-source-sets/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpla/primary-source-sets/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpla/primary-source-sets/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpla/primary-source-sets/contents/{+path}","compare_url":"https://api.github.com/repos/dpla/primary-source-sets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpla/primary-source-sets/merges","archive_url":"https://api.github.com/repos/dpla/primary-source-sets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpla/primary-source-sets/downloads","issues_url":"https://api.github.com/repos/dpla/primary-source-sets/issues{/number}","pulls_url":"https://api.github.com/repos/dpla/primary-source-sets/pulls{/number}","milestones_url":"https://api.github.com/repos/dpla/primary-source-sets/milestones{/number}","notifications_url":"https://api.github.com/repos/dpla/primary-source-sets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpla/primary-source-sets/labels{/name}","releases_url":"https://api.github.com/repos/dpla/primary-source-sets/releases{/id}","deployments_url":"https://api.github.com/repos/dpla/primary-source-sets/deployments","created_at":"2015-08-21T16:21:41Z","updated_at":"2016-01-11T16:14:41Z","pushed_at":"2016-02-29T14:41:41Z","git_url":"git://github.com/dpla/primary-source-sets.git","ssh_url":"git@github.com:dpla/primary-source-sets.git","clone_url":"https://github.com/dpla/primary-source-sets.git","svn_url":"https://github.com/dpla/primary-source-sets","homepage":"http://dp.la/primary-source-sets","size":694,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"develop"}},"base":{"label":"dpla:develop","ref":"develop","sha":"b708504a2d4ec736dde450086a9f9d969fa89702","user":{"login":"dpla","id":1252916,"avatar_url":"https://avatars.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"repo":{"id":41165715,"name":"primary-source-sets","full_name":"dpla/primary-source-sets","owner":{"login":"dpla","id":1252916,"avatar_url":"https://avatars.githubusercontent.com/u/1252916?v=3","gravatar_id":"","url":"https://api.github.com/users/dpla","html_url":"https://github.com/dpla","followers_url":"https://api.github.com/users/dpla/followers","following_url":"https://api.github.com/users/dpla/following{/other_user}","gists_url":"https://api.github.com/users/dpla/gists{/gist_id}","starred_url":"https://api.github.com/users/dpla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dpla/subscriptions","organizations_url":"https://api.github.com/users/dpla/orgs","repos_url":"https://api.github.com/users/dpla/repos","events_url":"https://api.github.com/users/dpla/events{/privacy}","received_events_url":"https://api.github.com/users/dpla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dpla/primary-source-sets","description":"App for managing sets of educational resources","fork":false,"url":"https://api.github.com/repos/dpla/primary-source-sets","forks_url":"https://api.github.com/repos/dpla/primary-source-sets/forks","keys_url":"https://api.github.com/repos/dpla/primary-source-sets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dpla/primary-source-sets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dpla/primary-source-sets/teams","hooks_url":"https://api.github.com/repos/dpla/primary-source-sets/hooks","issue_events_url":"https://api.github.com/repos/dpla/primary-source-sets/issues/events{/number}","events_url":"https://api.github.com/repos/dpla/primary-source-sets/events","assignees_url":"https://api.github.com/repos/dpla/primary-source-sets/assignees{/user}","branches_url":"https://api.github.com/repos/dpla/primary-source-sets/branches{/branch}","tags_url":"https://api.github.com/repos/dpla/primary-source-sets/tags","blobs_url":"https://api.github.com/repos/dpla/primary-source-sets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dpla/primary-source-sets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dpla/primary-source-sets/git/refs{/sha}","trees_url":"https://api.github.com/repos/dpla/primary-source-sets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dpla/primary-source-sets/statuses/{sha}","languages_url":"https://api.github.com/repos/dpla/primary-source-sets/languages","stargazers_url":"https://api.github.com/repos/dpla/primary-source-sets/stargazers","contributors_url":"https://api.github.com/repos/dpla/primary-source-sets/contributors","subscribers_url":"https://api.github.com/repos/dpla/primary-source-sets/subscribers","subscription_url":"https://api.github.com/repos/dpla/primary-source-sets/subscription","commits_url":"https://api.github.com/repos/dpla/primary-source-sets/commits{/sha}","git_commits_url":"https://api.github.com/repos/dpla/primary-source-sets/git/commits{/sha}","comments_url":"https://api.github.com/repos/dpla/primary-source-sets/comments{/number}","issue_comment_url":"https://api.github.com/repos/dpla/primary-source-sets/issues/comments{/number}","contents_url":"https://api.github.com/repos/dpla/primary-source-sets/contents/{+path}","compare_url":"https://api.github.com/repos/dpla/primary-source-sets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dpla/primary-source-sets/merges","archive_url":"https://api.github.com/repos/dpla/primary-source-sets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dpla/primary-source-sets/downloads","issues_url":"https://api.github.com/repos/dpla/primary-source-sets/issues{/number}","pulls_url":"https://api.github.com/repos/dpla/primary-source-sets/pulls{/number}","milestones_url":"https://api.github.com/repos/dpla/primary-source-sets/milestones{/number}","notifications_url":"https://api.github.com/repos/dpla/primary-source-sets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dpla/primary-source-sets/labels{/name}","releases_url":"https://api.github.com/repos/dpla/primary-source-sets/releases{/id}","deployments_url":"https://api.github.com/repos/dpla/primary-source-sets/deployments","created_at":"2015-08-21T16:21:41Z","updated_at":"2016-01-11T16:14:41Z","pushed_at":"2016-02-29T14:41:41Z","git_url":"git://github.com/dpla/primary-source-sets.git","ssh_url":"git@github.com:dpla/primary-source-sets.git","clone_url":"https://github.com/dpla/primary-source-sets.git","svn_url":"https://github.com/dpla/primary-source-sets","homepage":"http://dp.la/primary-source-sets","size":694,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":1,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/dpla/primary-source-sets/pulls/115"},"html":{"href":"https://github.com/dpla/primary-source-sets/pull/115"},"issue":{"href":"https://api.github.com/repos/dpla/primary-source-sets/issues/115"},"comments":{"href":"https://api.github.com/repos/dpla/primary-source-sets/issues/115/comments"},"review_comments":{"href":"https://api.github.com/repos/dpla/primary-source-sets/pulls/115/comments"},"review_comment":{"href":"https://api.github.com/repos/dpla/primary-source-sets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dpla/primary-source-sets/pulls/115/commits"},"statuses":{"href":"https://api.github.com/repos/dpla/primary-source-sets/statuses/68f43af61d0909ce472d27fb8c9d0e64186a257d"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":274,"deletions":97,"changed_files":16}}