{"action":"created","comment":{"url":"https://api.github.com/repos/uisautomation/media-webapp/pulls/comments/216623715","pull_request_review_id":154145456,"id":216623715,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjYyMzcxNQ==","diff_hunk":"@@ -35,13 +56,93 @@ const ItemMetadataForm = ({\n     onChange={ event => onChange && onChange({ description: event.target.value }) }\n     rows={ 4 }\n     value={ description }\n+    InputLabelProps={ { shrink: true } }\n+  />\n+\n+  <FormControlLabel\n+    checked={downloadable}\n+    onChange={ event => onChange && onChange({ downloadable: event.target.checked }) }\n+    control={\n+      <Checkbox\n+      />\n+    }\n+    label=\"Allow media to be downloaded and indexed by search engines\"\n+  />\n+\n+  <Grid container spacing={8}>\n+    <Grid item xs={12} sm={6}>\n+      <TextField\n+        className={classes.publishedAt}\n+        fullWidth\n+        error={ !!errors.publishedAt }\n+        helperText={ errors.publishedAt ? errors.publishedAt.join(' ') : null }\n+        defaultValue={publishedAt ? moment(publishedAt).format(DATETIME_LOCAL_FORMAT) : ''}\n+        label=\"When the item will be published\"","path":"frontend/src/components/ItemMetadataForm.js","position":69,"original_position":69,"commit_id":"65fb48b0d95a2b6c8795e0b657d7a09fa89ae361","original_commit_id":"65fb48b0d95a2b6c8795e0b657d7a09fa89ae361","user":{"login":"rjw57","id":146860,"node_id":"MDQ6VXNlcjE0Njg2MA==","avatar_url":"https://avatars0.githubusercontent.com/u/146860?v=4","gravatar_id":"","url":"https://api.github.com/users/rjw57","html_url":"https://github.com/rjw57","followers_url":"https://api.github.com/users/rjw57/followers","following_url":"https://api.github.com/users/rjw57/following{/other_user}","gists_url":"https://api.github.com/users/rjw57/gists{/gist_id}","starred_url":"https://api.github.com/users/rjw57/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rjw57/subscriptions","organizations_url":"https://api.github.com/users/rjw57/orgs","repos_url":"https://api.github.com/users/rjw57/repos","events_url":"https://api.github.com/users/rjw57/events{/privacy}","received_events_url":"https://api.github.com/users/rjw57/received_events","type":"User","site_admin":false},"body":"``label=\"Publication date and time\"``","created_at":"2018-09-11T10:43:11Z","updated_at":"2018-09-11T10:43:56Z","html_url":"https://github.com/uisautomation/media-webapp/pull/291#discussion_r216623715","pull_request_url":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/uisautomation/media-webapp/pulls/comments/216623715"},"html":{"href":"https://github.com/uisautomation/media-webapp/pull/291#discussion_r216623715"},"pull_request":{"href":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291"}}},"pull_request":{"url":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291","id":213944168,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEzOTQ0MTY4","html_url":"https://github.com/uisautomation/media-webapp/pull/291","diff_url":"https://github.com/uisautomation/media-webapp/pull/291.diff","patch_url":"https://github.com/uisautomation/media-webapp/pull/291.patch","issue_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/291","number":291,"state":"open","locked":false,"title":"Edit additional media item fields","user":{"login":"msb","id":270277,"node_id":"MDQ6VXNlcjI3MDI3Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/270277?v=4","gravatar_id":"","url":"https://api.github.com/users/msb","html_url":"https://github.com/msb","followers_url":"https://api.github.com/users/msb/followers","following_url":"https://api.github.com/users/msb/following{/other_user}","gists_url":"https://api.github.com/users/msb/gists{/gist_id}","starred_url":"https://api.github.com/users/msb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msb/subscriptions","organizations_url":"https://api.github.com/users/msb/orgs","repos_url":"https://api.github.com/users/msb/repos","events_url":"https://api.github.com/users/msb/events{/privacy}","received_events_url":"https://api.github.com/users/msb/received_events","type":"User","site_admin":false},"body":"The ItemMetadataForm has been expanded to be able to edit the `downloadable`, `copyright`, `language`, `tags`, and `publishedAt` fields.\r\n\r\nCurrently a Material UI date picker is used for `publishedAt` which falls back to the native date picker. Material UI point you to a date picker projects which they describe as \"promising\". I've had a look at `material-ui-pickers` and it seems OK - however my instinct is to always to start simple. That given, there are issues with the native date picker, so I could probably be talked around.\r\n\r\nCloses: #276 \r\nCan be reviewed commit-wise.\r\n","created_at":"2018-09-07T14:23:14Z","updated_at":"2018-09-11T10:43:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"07d17c4537c381864f7f7d53bf48b3f20201e90e","assignee":{"login":"msb","id":270277,"node_id":"MDQ6VXNlcjI3MDI3Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/270277?v=4","gravatar_id":"","url":"https://api.github.com/users/msb","html_url":"https://github.com/msb","followers_url":"https://api.github.com/users/msb/followers","following_url":"https://api.github.com/users/msb/following{/other_user}","gists_url":"https://api.github.com/users/msb/gists{/gist_id}","starred_url":"https://api.github.com/users/msb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msb/subscriptions","organizations_url":"https://api.github.com/users/msb/orgs","repos_url":"https://api.github.com/users/msb/repos","events_url":"https://api.github.com/users/msb/events{/privacy}","received_events_url":"https://api.github.com/users/msb/received_events","type":"User","site_admin":false},"assignees":[{"login":"msb","id":270277,"node_id":"MDQ6VXNlcjI3MDI3Nw==","avatar_url":"https://avatars2.githubusercontent.com/u/270277?v=4","gravatar_id":"","url":"https://api.github.com/users/msb","html_url":"https://github.com/msb","followers_url":"https://api.github.com/users/msb/followers","following_url":"https://api.github.com/users/msb/following{/other_user}","gists_url":"https://api.github.com/users/msb/gists{/gist_id}","starred_url":"https://api.github.com/users/msb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msb/subscriptions","organizations_url":"https://api.github.com/users/msb/orgs","repos_url":"https://api.github.com/users/msb/repos","events_url":"https://api.github.com/users/msb/events{/privacy}","received_events_url":"https://api.github.com/users/msb/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291/commits","review_comments_url":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291/comments","review_comment_url":"https://api.github.com/repos/uisautomation/media-webapp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/291/comments","statuses_url":"https://api.github.com/repos/uisautomation/media-webapp/statuses/65fb48b0d95a2b6c8795e0b657d7a09fa89ae361","head":{"label":"uisautomation:edit-additional-media-item-fields","ref":"edit-additional-media-item-fields","sha":"65fb48b0d95a2b6c8795e0b657d7a09fa89ae361","user":{"login":"uisautomation","id":34515307,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NTE1MzA3","avatar_url":"https://avatars0.githubusercontent.com/u/34515307?v=4","gravatar_id":"","url":"https://api.github.com/users/uisautomation","html_url":"https://github.com/uisautomation","followers_url":"https://api.github.com/users/uisautomation/followers","following_url":"https://api.github.com/users/uisautomation/following{/other_user}","gists_url":"https://api.github.com/users/uisautomation/gists{/gist_id}","starred_url":"https://api.github.com/users/uisautomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uisautomation/subscriptions","organizations_url":"https://api.github.com/users/uisautomation/orgs","repos_url":"https://api.github.com/users/uisautomation/repos","events_url":"https://api.github.com/users/uisautomation/events{/privacy}","received_events_url":"https://api.github.com/users/uisautomation/received_events","type":"Organization","site_admin":false},"repo":{"id":114138174,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQxMzgxNzQ=","name":"media-webapp","full_name":"uisautomation/media-webapp","owner":{"login":"uisautomation","id":34515307,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NTE1MzA3","avatar_url":"https://avatars0.githubusercontent.com/u/34515307?v=4","gravatar_id":"","url":"https://api.github.com/users/uisautomation","html_url":"https://github.com/uisautomation","followers_url":"https://api.github.com/users/uisautomation/followers","following_url":"https://api.github.com/users/uisautomation/following{/other_user}","gists_url":"https://api.github.com/users/uisautomation/gists{/gist_id}","starred_url":"https://api.github.com/users/uisautomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uisautomation/subscriptions","organizations_url":"https://api.github.com/users/uisautomation/orgs","repos_url":"https://api.github.com/users/uisautomation/repos","events_url":"https://api.github.com/users/uisautomation/events{/privacy}","received_events_url":"https://api.github.com/users/uisautomation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uisautomation/media-webapp","description":"Web application for the University Media Platform","fork":false,"url":"https://api.github.com/repos/uisautomation/media-webapp","forks_url":"https://api.github.com/repos/uisautomation/media-webapp/forks","keys_url":"https://api.github.com/repos/uisautomation/media-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uisautomation/media-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uisautomation/media-webapp/teams","hooks_url":"https://api.github.com/repos/uisautomation/media-webapp/hooks","issue_events_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/uisautomation/media-webapp/events","assignees_url":"https://api.github.com/repos/uisautomation/media-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/uisautomation/media-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/uisautomation/media-webapp/tags","blobs_url":"https://api.github.com/repos/uisautomation/media-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uisautomation/media-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uisautomation/media-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/uisautomation/media-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uisautomation/media-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/uisautomation/media-webapp/languages","stargazers_url":"https://api.github.com/repos/uisautomation/media-webapp/stargazers","contributors_url":"https://api.github.com/repos/uisautomation/media-webapp/contributors","subscribers_url":"https://api.github.com/repos/uisautomation/media-webapp/subscribers","subscription_url":"https://api.github.com/repos/uisautomation/media-webapp/subscription","commits_url":"https://api.github.com/repos/uisautomation/media-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/uisautomation/media-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/uisautomation/media-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/uisautomation/media-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/uisautomation/media-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uisautomation/media-webapp/merges","archive_url":"https://api.github.com/repos/uisautomation/media-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uisautomation/media-webapp/downloads","issues_url":"https://api.github.com/repos/uisautomation/media-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/uisautomation/media-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/uisautomation/media-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/uisautomation/media-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uisautomation/media-webapp/labels{/name}","releases_url":"https://api.github.com/repos/uisautomation/media-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/uisautomation/media-webapp/deployments","created_at":"2017-12-13T15:37:21Z","updated_at":"2018-09-10T16:28:15Z","pushed_at":"2018-09-11T10:33:39Z","git_url":"git://github.com/uisautomation/media-webapp.git","ssh_url":"git@github.com:uisautomation/media-webapp.git","clone_url":"https://github.com/uisautomation/media-webapp.git","svn_url":"https://github.com/uisautomation/media-webapp","homepage":"https://alpha.media.cam.ac.uk","size":8333,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":61,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":61,"watchers":1,"default_branch":"master"}},"base":{"label":"uisautomation:master","ref":"master","sha":"cb139ca04e2d5a762760d82ac20b3aa35e1da21c","user":{"login":"uisautomation","id":34515307,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NTE1MzA3","avatar_url":"https://avatars0.githubusercontent.com/u/34515307?v=4","gravatar_id":"","url":"https://api.github.com/users/uisautomation","html_url":"https://github.com/uisautomation","followers_url":"https://api.github.com/users/uisautomation/followers","following_url":"https://api.github.com/users/uisautomation/following{/other_user}","gists_url":"https://api.github.com/users/uisautomation/gists{/gist_id}","starred_url":"https://api.github.com/users/uisautomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uisautomation/subscriptions","organizations_url":"https://api.github.com/users/uisautomation/orgs","repos_url":"https://api.github.com/users/uisautomation/repos","events_url":"https://api.github.com/users/uisautomation/events{/privacy}","received_events_url":"https://api.github.com/users/uisautomation/received_events","type":"Organization","site_admin":false},"repo":{"id":114138174,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQxMzgxNzQ=","name":"media-webapp","full_name":"uisautomation/media-webapp","owner":{"login":"uisautomation","id":34515307,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0NTE1MzA3","avatar_url":"https://avatars0.githubusercontent.com/u/34515307?v=4","gravatar_id":"","url":"https://api.github.com/users/uisautomation","html_url":"https://github.com/uisautomation","followers_url":"https://api.github.com/users/uisautomation/followers","following_url":"https://api.github.com/users/uisautomation/following{/other_user}","gists_url":"https://api.github.com/users/uisautomation/gists{/gist_id}","starred_url":"https://api.github.com/users/uisautomation/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/uisautomation/subscriptions","organizations_url":"https://api.github.com/users/uisautomation/orgs","repos_url":"https://api.github.com/users/uisautomation/repos","events_url":"https://api.github.com/users/uisautomation/events{/privacy}","received_events_url":"https://api.github.com/users/uisautomation/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/uisautomation/media-webapp","description":"Web application for the University Media Platform","fork":false,"url":"https://api.github.com/repos/uisautomation/media-webapp","forks_url":"https://api.github.com/repos/uisautomation/media-webapp/forks","keys_url":"https://api.github.com/repos/uisautomation/media-webapp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/uisautomation/media-webapp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/uisautomation/media-webapp/teams","hooks_url":"https://api.github.com/repos/uisautomation/media-webapp/hooks","issue_events_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/events{/number}","events_url":"https://api.github.com/repos/uisautomation/media-webapp/events","assignees_url":"https://api.github.com/repos/uisautomation/media-webapp/assignees{/user}","branches_url":"https://api.github.com/repos/uisautomation/media-webapp/branches{/branch}","tags_url":"https://api.github.com/repos/uisautomation/media-webapp/tags","blobs_url":"https://api.github.com/repos/uisautomation/media-webapp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/uisautomation/media-webapp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/uisautomation/media-webapp/git/refs{/sha}","trees_url":"https://api.github.com/repos/uisautomation/media-webapp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/uisautomation/media-webapp/statuses/{sha}","languages_url":"https://api.github.com/repos/uisautomation/media-webapp/languages","stargazers_url":"https://api.github.com/repos/uisautomation/media-webapp/stargazers","contributors_url":"https://api.github.com/repos/uisautomation/media-webapp/contributors","subscribers_url":"https://api.github.com/repos/uisautomation/media-webapp/subscribers","subscription_url":"https://api.github.com/repos/uisautomation/media-webapp/subscription","commits_url":"https://api.github.com/repos/uisautomation/media-webapp/commits{/sha}","git_commits_url":"https://api.github.com/repos/uisautomation/media-webapp/git/commits{/sha}","comments_url":"https://api.github.com/repos/uisautomation/media-webapp/comments{/number}","issue_comment_url":"https://api.github.com/repos/uisautomation/media-webapp/issues/comments{/number}","contents_url":"https://api.github.com/repos/uisautomation/media-webapp/contents/{+path}","compare_url":"https://api.github.com/repos/uisautomation/media-webapp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/uisautomation/media-webapp/merges","archive_url":"https://api.github.com/repos/uisautomation/media-webapp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/uisautomation/media-webapp/downloads","issues_url":"https://api.github.com/repos/uisautomation/media-webapp/issues{/number}","pulls_url":"https://api.github.com/repos/uisautomation/media-webapp/pulls{/number}","milestones_url":"https://api.github.com/repos/uisautomation/media-webapp/milestones{/number}","notifications_url":"https://api.github.com/repos/uisautomation/media-webapp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/uisautomation/media-webapp/labels{/name}","releases_url":"https://api.github.com/repos/uisautomation/media-webapp/releases{/id}","deployments_url":"https://api.github.com/repos/uisautomation/media-webapp/deployments","created_at":"2017-12-13T15:37:21Z","updated_at":"2018-09-10T16:28:15Z","pushed_at":"2018-09-11T10:33:39Z","git_url":"git://github.com/uisautomation/media-webapp.git","ssh_url":"git@github.com:uisautomation/media-webapp.git","clone_url":"https://github.com/uisautomation/media-webapp.git","svn_url":"https://github.com/uisautomation/media-webapp","homepage":"https://alpha.media.cam.ac.uk","size":8333,"stargazers_count":1,"watchers_count":1,"language":"Python","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":61,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":3,"open_issues":61,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291"},"html":{"href":"https://github.com/uisautomation/media-webapp/pull/291"},"issue":{"href":"https://api.github.com/repos/uisautomation/media-webapp/issues/291"},"comments":{"href":"https://api.github.com/repos/uisautomation/media-webapp/issues/291/comments"},"review_comments":{"href":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291/comments"},"review_comment":{"href":"https://api.github.com/repos/uisautomation/media-webapp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/uisautomation/media-webapp/pulls/291/commits"},"statuses":{"href":"https://api.github.com/repos/uisautomation/media-webapp/statuses/65fb48b0d95a2b6c8795e0b657d7a09fa89ae361"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"rjw57"}}