{"action":"opened","number":312,"pull_request":{"url":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/312","id":148087850,"html_url":"https://github.com/alphagov/govuk-frontend/pull/312","diff_url":"https://github.com/alphagov/govuk-frontend/pull/312.diff","patch_url":"https://github.com/alphagov/govuk-frontend/pull/312.patch","issue_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues/312","number":312,"state":"open","locked":false,"title":"Update file upload component to follow convention","user":{"login":"36degrees","id":121939,"avatar_url":"https://avatars1.githubusercontent.com/u/121939?v=4","gravatar_id":"","url":"https://api.github.com/users/36degrees","html_url":"https://github.com/36degrees","followers_url":"https://api.github.com/users/36degrees/followers","following_url":"https://api.github.com/users/36degrees/following{/other_user}","gists_url":"https://api.github.com/users/36degrees/gists{/gist_id}","starred_url":"https://api.github.com/users/36degrees/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/36degrees/subscriptions","organizations_url":"https://api.github.com/users/36degrees/orgs","repos_url":"https://api.github.com/users/36degrees/repos","events_url":"https://api.github.com/users/36degrees/events{/privacy}","received_events_url":"https://api.github.com/users/36degrees/received_events","type":"User","site_admin":false},"body":"- Allow users to pass all possible attributes to the label component\r\n- Automatically set the for parameter on the label to match the id of the input\r\n- Allow user to specify the value attribute for the input\r\n- Allow for additional attributes to be added to the input through the attributes argument.\r\n- Update readme definition (index.njk) to document these changes to the arguments list.\r\n- Update the component definition (file-upload.yaml) to use the new arguments\r\n- Update the example nunjucks template (file-upload.njk) to use the new arguments\r\n\r\nhttps://trello.com/c/hw5PPLrc/262-update-file-upload-component-api","created_at":"2017-10-23T10:03:19Z","updated_at":"2017-10-23T10:03:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/312/commits","review_comments_url":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/312/comments","review_comment_url":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues/312/comments","statuses_url":"https://api.github.com/repos/alphagov/govuk-frontend/statuses/1ccbe37376b8c205d25925555ae8a8dae64b5651","head":{"label":"alphagov:update-file-upload-component","ref":"update-file-upload-component","sha":"1ccbe37376b8c205d25925555ae8a8dae64b5651","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":68194979,"name":"govuk-frontend","full_name":"alphagov/govuk-frontend","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-frontend","description":"This project is in Alpha. Not for production use.","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-frontend","forks_url":"https://api.github.com/repos/alphagov/govuk-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-frontend/deployments","created_at":"2016-09-14T09:56:51Z","updated_at":"2017-10-19T14:50:53Z","pushed_at":"2017-10-23T10:03:09Z","git_url":"git://github.com/alphagov/govuk-frontend.git","ssh_url":"git@github.com:alphagov/govuk-frontend.git","clone_url":"https://github.com/alphagov/govuk-frontend.git","svn_url":"https://github.com/alphagov/govuk-frontend","homepage":"","size":1401,"stargazers_count":10,"watchers_count":10,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":10,"default_branch":"master"}},"base":{"label":"alphagov:master","ref":"master","sha":"a5aba1f481f59d4c9237355b35e7fb902f2f2955","user":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"repo":{"id":68194979,"name":"govuk-frontend","full_name":"alphagov/govuk-frontend","owner":{"login":"alphagov","id":596977,"avatar_url":"https://avatars0.githubusercontent.com/u/596977?v=4","gravatar_id":"","url":"https://api.github.com/users/alphagov","html_url":"https://github.com/alphagov","followers_url":"https://api.github.com/users/alphagov/followers","following_url":"https://api.github.com/users/alphagov/following{/other_user}","gists_url":"https://api.github.com/users/alphagov/gists{/gist_id}","starred_url":"https://api.github.com/users/alphagov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alphagov/subscriptions","organizations_url":"https://api.github.com/users/alphagov/orgs","repos_url":"https://api.github.com/users/alphagov/repos","events_url":"https://api.github.com/users/alphagov/events{/privacy}","received_events_url":"https://api.github.com/users/alphagov/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/alphagov/govuk-frontend","description":"This project is in Alpha. Not for production use.","fork":false,"url":"https://api.github.com/repos/alphagov/govuk-frontend","forks_url":"https://api.github.com/repos/alphagov/govuk-frontend/forks","keys_url":"https://api.github.com/repos/alphagov/govuk-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alphagov/govuk-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alphagov/govuk-frontend/teams","hooks_url":"https://api.github.com/repos/alphagov/govuk-frontend/hooks","issue_events_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/alphagov/govuk-frontend/events","assignees_url":"https://api.github.com/repos/alphagov/govuk-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/alphagov/govuk-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/alphagov/govuk-frontend/tags","blobs_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alphagov/govuk-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/alphagov/govuk-frontend/languages","stargazers_url":"https://api.github.com/repos/alphagov/govuk-frontend/stargazers","contributors_url":"https://api.github.com/repos/alphagov/govuk-frontend/contributors","subscribers_url":"https://api.github.com/repos/alphagov/govuk-frontend/subscribers","subscription_url":"https://api.github.com/repos/alphagov/govuk-frontend/subscription","commits_url":"https://api.github.com/repos/alphagov/govuk-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/alphagov/govuk-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/alphagov/govuk-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/alphagov/govuk-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/alphagov/govuk-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alphagov/govuk-frontend/merges","archive_url":"https://api.github.com/repos/alphagov/govuk-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alphagov/govuk-frontend/downloads","issues_url":"https://api.github.com/repos/alphagov/govuk-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/alphagov/govuk-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/alphagov/govuk-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/alphagov/govuk-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alphagov/govuk-frontend/labels{/name}","releases_url":"https://api.github.com/repos/alphagov/govuk-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/alphagov/govuk-frontend/deployments","created_at":"2016-09-14T09:56:51Z","updated_at":"2017-10-19T14:50:53Z","pushed_at":"2017-10-23T10:03:09Z","git_url":"git://github.com/alphagov/govuk-frontend.git","ssh_url":"git@github.com:alphagov/govuk-frontend.git","clone_url":"https://github.com/alphagov/govuk-frontend.git","svn_url":"https://github.com/alphagov/govuk-frontend","homepage":"","size":1401,"stargazers_count":10,"watchers_count":10,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":4,"mirror_url":null,"archived":false,"open_issues_count":16,"forks":4,"open_issues":16,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/312"},"html":{"href":"https://github.com/alphagov/govuk-frontend/pull/312"},"issue":{"href":"https://api.github.com/repos/alphagov/govuk-frontend/issues/312"},"comments":{"href":"https://api.github.com/repos/alphagov/govuk-frontend/issues/312/comments"},"review_comments":{"href":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/312/comments"},"review_comment":{"href":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/alphagov/govuk-frontend/pulls/312/commits"},"statuses":{"href":"https://api.github.com/repos/alphagov/govuk-frontend/statuses/1ccbe37376b8c205d25925555ae8a8dae64b5651"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":58,"deletions":45,"changed_files":4}}
{"actor":{"display_login":"36degrees"}}