{"action":"closed","number":199,"pull_request":{"url":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/199","id":233696049,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMzNjk2MDQ5","html_url":"https://github.com/LD4P/sinopia_editor/pull/199","diff_url":"https://github.com/LD4P/sinopia_editor/pull/199.diff","patch_url":"https://github.com/LD4P/sinopia_editor/pull/199.patch","issue_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues/199","number":199,"state":"closed","locked":false,"title":"Adds form select options from spoofed target list","user":{"login":"jgreben","id":3093850,"node_id":"MDQ6VXNlcjMwOTM4NTA=","avatar_url":"https://avatars2.githubusercontent.com/u/3093850?v=4","gravatar_id":"","url":"https://api.github.com/users/jgreben","html_url":"https://github.com/jgreben","followers_url":"https://api.github.com/users/jgreben/followers","following_url":"https://api.github.com/users/jgreben/following{/other_user}","gists_url":"https://api.github.com/users/jgreben/gists{/gist_id}","starred_url":"https://api.github.com/users/jgreben/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgreben/subscriptions","organizations_url":"https://api.github.com/users/jgreben/orgs","repos_url":"https://api.github.com/users/jgreben/repos","events_url":"https://api.github.com/users/jgreben/events{/privacy}","received_events_url":"https://api.github.com/users/jgreben/received_events","type":"User","site_admin":false},"body":"Fixes #189 \r\nFixes #192 \r\n\r\n- Adds an option select component for a target list of input options. Uses the react-bootstrap-typeahead component with options selected from a fetch to a spoofed serial frequencies.json file.\r\n\r\n- Going forward, we will need a way to be able to dynamically select a given resource template as I had to hard-code the resourceTemplate id for this PR.\r\n\r\n- It is not clear what the exact JSON model will be returned from the QA server. For now, I just hand-coded the most simple json for this PR, but if QA uses the same model as they do for a name or subject query, then nothing will need to change as the typeahead component will easily recognize this format, e.g. (from lookup.ld4l.org): \r\n\r\n```\r\n[\r\n   {\"uri\":\"http://id.loc.gov/authorities/subjects/sh85118553\",\r\n   \"id\":\"http://id.loc.gov/authorities/subjects/sh85118553\",\"\r\n    label\":\"Science\"}\r\n]\r\n```","created_at":"2018-11-26T21:04:44Z","updated_at":"2018-11-29T23:24:21Z","closed_at":"2018-11-29T23:24:21Z","merged_at":"2018-11-29T23:24:21Z","merge_commit_sha":"38fac8a9d9da92ce5387e02211d966b676600b4a","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1070581626,"node_id":"MDU6TGFiZWwxMDcwNTgxNjI2","url":"https://api.github.com/repos/LD4P/sinopia_editor/labels/needs%20review","name":"needs review","color":"ededed","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/199/commits","review_comments_url":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/199/comments","review_comment_url":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues/199/comments","statuses_url":"https://api.github.com/repos/LD4P/sinopia_editor/statuses/8175100953474503f2b987e9bca3d7fd11b1ae92","head":{"label":"LD4P:input-target","ref":"input-target","sha":"8175100953474503f2b987e9bca3d7fd11b1ae92","user":{"login":"LD4P","id":20959259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTU5MjU5","avatar_url":"https://avatars2.githubusercontent.com/u/20959259?v=4","gravatar_id":"","url":"https://api.github.com/users/LD4P","html_url":"https://github.com/LD4P","followers_url":"https://api.github.com/users/LD4P/followers","following_url":"https://api.github.com/users/LD4P/following{/other_user}","gists_url":"https://api.github.com/users/LD4P/gists{/gist_id}","starred_url":"https://api.github.com/users/LD4P/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LD4P/subscriptions","organizations_url":"https://api.github.com/users/LD4P/orgs","repos_url":"https://api.github.com/users/LD4P/repos","events_url":"https://api.github.com/users/LD4P/events{/privacy}","received_events_url":"https://api.github.com/users/LD4P/received_events","type":"Organization","site_admin":false},"repo":{"id":149367347,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkzNjczNDc=","name":"sinopia_editor","full_name":"LD4P/sinopia_editor","private":false,"owner":{"login":"LD4P","id":20959259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTU5MjU5","avatar_url":"https://avatars2.githubusercontent.com/u/20959259?v=4","gravatar_id":"","url":"https://api.github.com/users/LD4P","html_url":"https://github.com/LD4P","followers_url":"https://api.github.com/users/LD4P/followers","following_url":"https://api.github.com/users/LD4P/following{/other_user}","gists_url":"https://api.github.com/users/LD4P/gists{/gist_id}","starred_url":"https://api.github.com/users/LD4P/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LD4P/subscriptions","organizations_url":"https://api.github.com/users/LD4P/orgs","repos_url":"https://api.github.com/users/LD4P/repos","events_url":"https://api.github.com/users/LD4P/events{/privacy}","received_events_url":"https://api.github.com/users/LD4P/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LD4P/sinopia_editor","description":"LD4P fork of lcdevnet bfe, reconfigured and with additions for Sinopia","fork":false,"url":"https://api.github.com/repos/LD4P/sinopia_editor","forks_url":"https://api.github.com/repos/LD4P/sinopia_editor/forks","keys_url":"https://api.github.com/repos/LD4P/sinopia_editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LD4P/sinopia_editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LD4P/sinopia_editor/teams","hooks_url":"https://api.github.com/repos/LD4P/sinopia_editor/hooks","issue_events_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues/events{/number}","events_url":"https://api.github.com/repos/LD4P/sinopia_editor/events","assignees_url":"https://api.github.com/repos/LD4P/sinopia_editor/assignees{/user}","branches_url":"https://api.github.com/repos/LD4P/sinopia_editor/branches{/branch}","tags_url":"https://api.github.com/repos/LD4P/sinopia_editor/tags","blobs_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LD4P/sinopia_editor/statuses/{sha}","languages_url":"https://api.github.com/repos/LD4P/sinopia_editor/languages","stargazers_url":"https://api.github.com/repos/LD4P/sinopia_editor/stargazers","contributors_url":"https://api.github.com/repos/LD4P/sinopia_editor/contributors","subscribers_url":"https://api.github.com/repos/LD4P/sinopia_editor/subscribers","subscription_url":"https://api.github.com/repos/LD4P/sinopia_editor/subscription","commits_url":"https://api.github.com/repos/LD4P/sinopia_editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/LD4P/sinopia_editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/LD4P/sinopia_editor/contents/{+path}","compare_url":"https://api.github.com/repos/LD4P/sinopia_editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LD4P/sinopia_editor/merges","archive_url":"https://api.github.com/repos/LD4P/sinopia_editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LD4P/sinopia_editor/downloads","issues_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues{/number}","pulls_url":"https://api.github.com/repos/LD4P/sinopia_editor/pulls{/number}","milestones_url":"https://api.github.com/repos/LD4P/sinopia_editor/milestones{/number}","notifications_url":"https://api.github.com/repos/LD4P/sinopia_editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LD4P/sinopia_editor/labels{/name}","releases_url":"https://api.github.com/repos/LD4P/sinopia_editor/releases{/id}","deployments_url":"https://api.github.com/repos/LD4P/sinopia_editor/deployments","created_at":"2018-09-19T00:13:38Z","updated_at":"2018-11-29T18:26:22Z","pushed_at":"2018-11-29T23:24:21Z","git_url":"git://github.com/LD4P/sinopia_editor.git","ssh_url":"git@github.com:LD4P/sinopia_editor.git","clone_url":"https://github.com/LD4P/sinopia_editor.git","svn_url":"https://github.com/LD4P/sinopia_editor","homepage":"","size":5097,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":68,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":0,"open_issues":68,"watchers":0,"default_branch":"master"}},"base":{"label":"LD4P:master","ref":"master","sha":"598a750b3f7c82024c2f5f0086e60dd60cd0f58e","user":{"login":"LD4P","id":20959259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTU5MjU5","avatar_url":"https://avatars2.githubusercontent.com/u/20959259?v=4","gravatar_id":"","url":"https://api.github.com/users/LD4P","html_url":"https://github.com/LD4P","followers_url":"https://api.github.com/users/LD4P/followers","following_url":"https://api.github.com/users/LD4P/following{/other_user}","gists_url":"https://api.github.com/users/LD4P/gists{/gist_id}","starred_url":"https://api.github.com/users/LD4P/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LD4P/subscriptions","organizations_url":"https://api.github.com/users/LD4P/orgs","repos_url":"https://api.github.com/users/LD4P/repos","events_url":"https://api.github.com/users/LD4P/events{/privacy}","received_events_url":"https://api.github.com/users/LD4P/received_events","type":"Organization","site_admin":false},"repo":{"id":149367347,"node_id":"MDEwOlJlcG9zaXRvcnkxNDkzNjczNDc=","name":"sinopia_editor","full_name":"LD4P/sinopia_editor","private":false,"owner":{"login":"LD4P","id":20959259,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTU5MjU5","avatar_url":"https://avatars2.githubusercontent.com/u/20959259?v=4","gravatar_id":"","url":"https://api.github.com/users/LD4P","html_url":"https://github.com/LD4P","followers_url":"https://api.github.com/users/LD4P/followers","following_url":"https://api.github.com/users/LD4P/following{/other_user}","gists_url":"https://api.github.com/users/LD4P/gists{/gist_id}","starred_url":"https://api.github.com/users/LD4P/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LD4P/subscriptions","organizations_url":"https://api.github.com/users/LD4P/orgs","repos_url":"https://api.github.com/users/LD4P/repos","events_url":"https://api.github.com/users/LD4P/events{/privacy}","received_events_url":"https://api.github.com/users/LD4P/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LD4P/sinopia_editor","description":"LD4P fork of lcdevnet bfe, reconfigured and with additions for Sinopia","fork":false,"url":"https://api.github.com/repos/LD4P/sinopia_editor","forks_url":"https://api.github.com/repos/LD4P/sinopia_editor/forks","keys_url":"https://api.github.com/repos/LD4P/sinopia_editor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LD4P/sinopia_editor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LD4P/sinopia_editor/teams","hooks_url":"https://api.github.com/repos/LD4P/sinopia_editor/hooks","issue_events_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues/events{/number}","events_url":"https://api.github.com/repos/LD4P/sinopia_editor/events","assignees_url":"https://api.github.com/repos/LD4P/sinopia_editor/assignees{/user}","branches_url":"https://api.github.com/repos/LD4P/sinopia_editor/branches{/branch}","tags_url":"https://api.github.com/repos/LD4P/sinopia_editor/tags","blobs_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/refs{/sha}","trees_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LD4P/sinopia_editor/statuses/{sha}","languages_url":"https://api.github.com/repos/LD4P/sinopia_editor/languages","stargazers_url":"https://api.github.com/repos/LD4P/sinopia_editor/stargazers","contributors_url":"https://api.github.com/repos/LD4P/sinopia_editor/contributors","subscribers_url":"https://api.github.com/repos/LD4P/sinopia_editor/subscribers","subscription_url":"https://api.github.com/repos/LD4P/sinopia_editor/subscription","commits_url":"https://api.github.com/repos/LD4P/sinopia_editor/commits{/sha}","git_commits_url":"https://api.github.com/repos/LD4P/sinopia_editor/git/commits{/sha}","comments_url":"https://api.github.com/repos/LD4P/sinopia_editor/comments{/number}","issue_comment_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues/comments{/number}","contents_url":"https://api.github.com/repos/LD4P/sinopia_editor/contents/{+path}","compare_url":"https://api.github.com/repos/LD4P/sinopia_editor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LD4P/sinopia_editor/merges","archive_url":"https://api.github.com/repos/LD4P/sinopia_editor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LD4P/sinopia_editor/downloads","issues_url":"https://api.github.com/repos/LD4P/sinopia_editor/issues{/number}","pulls_url":"https://api.github.com/repos/LD4P/sinopia_editor/pulls{/number}","milestones_url":"https://api.github.com/repos/LD4P/sinopia_editor/milestones{/number}","notifications_url":"https://api.github.com/repos/LD4P/sinopia_editor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LD4P/sinopia_editor/labels{/name}","releases_url":"https://api.github.com/repos/LD4P/sinopia_editor/releases{/id}","deployments_url":"https://api.github.com/repos/LD4P/sinopia_editor/deployments","created_at":"2018-09-19T00:13:38Z","updated_at":"2018-11-29T18:26:22Z","pushed_at":"2018-11-29T23:24:21Z","git_url":"git://github.com/LD4P/sinopia_editor.git","ssh_url":"git@github.com:LD4P/sinopia_editor.git","clone_url":"https://github.com/LD4P/sinopia_editor.git","svn_url":"https://github.com/LD4P/sinopia_editor","homepage":"","size":5097,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":68,"license":{"key":"cc0-1.0","name":"Creative Commons Zero v1.0 Universal","spdx_id":"CC0-1.0","url":"https://api.github.com/licenses/cc0-1.0","node_id":"MDc6TGljZW5zZTY="},"forks":0,"open_issues":68,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/199"},"html":{"href":"https://github.com/LD4P/sinopia_editor/pull/199"},"issue":{"href":"https://api.github.com/repos/LD4P/sinopia_editor/issues/199"},"comments":{"href":"https://api.github.com/repos/LD4P/sinopia_editor/issues/199/comments"},"review_comments":{"href":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/199/comments"},"review_comment":{"href":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LD4P/sinopia_editor/pulls/199/commits"},"statuses":{"href":"https://api.github.com/repos/LD4P/sinopia_editor/statuses/8175100953474503f2b987e9bca3d7fd11b1ae92"}},"author_association":"CONTRIBUTOR","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jermnelson","id":71847,"node_id":"MDQ6VXNlcjcxODQ3","avatar_url":"https://avatars0.githubusercontent.com/u/71847?v=4","gravatar_id":"","url":"https://api.github.com/users/jermnelson","html_url":"https://github.com/jermnelson","followers_url":"https://api.github.com/users/jermnelson/followers","following_url":"https://api.github.com/users/jermnelson/following{/other_user}","gists_url":"https://api.github.com/users/jermnelson/gists{/gist_id}","starred_url":"https://api.github.com/users/jermnelson/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jermnelson/subscriptions","organizations_url":"https://api.github.com/users/jermnelson/orgs","repos_url":"https://api.github.com/users/jermnelson/repos","events_url":"https://api.github.com/users/jermnelson/events{/privacy}","received_events_url":"https://api.github.com/users/jermnelson/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"maintainer_can_modify":false,"commits":3,"additions":387,"deletions":21,"changed_files":11}}
{"actor":{"display_login":"jermnelson"}}