{"action":"opened","number":462,"pull_request":{"url":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/462","id":160076708,"html_url":"https://github.com/volumio/Volumio2-UI/pull/462","diff_url":"https://github.com/volumio/Volumio2-UI/pull/462.diff","patch_url":"https://github.com/volumio/Volumio2-UI/pull/462.patch","issue_url":"https://api.github.com/repos/volumio/Volumio2-UI/issues/462","number":462,"state":"open","locked":false,"title":"Add sleep timer presets","user":{"login":"teq0","id":6080717,"avatar_url":"https://avatars3.githubusercontent.com/u/6080717?v=4","gravatar_id":"","url":"https://api.github.com/users/teq0","html_url":"https://github.com/teq0","followers_url":"https://api.github.com/users/teq0/followers","following_url":"https://api.github.com/users/teq0/following{/other_user}","gists_url":"https://api.github.com/users/teq0/gists{/gist_id}","starred_url":"https://api.github.com/users/teq0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teq0/subscriptions","organizations_url":"https://api.github.com/users/teq0/orgs","repos_url":"https://api.github.com/users/teq0/repos","events_url":"https://api.github.com/users/teq0/events{/privacy}","received_events_url":"https://api.github.com/users/teq0/received_events","type":"User","site_admin":false},"body":"This is a convenience feature that lets you select one of a common set of sleep timer values via buttons. It's partly as a workaround for a bug in the server-side sleep timer where it doesn't stop counting down after it is triggered, but I'll fix that in a separate PR.\r\n\r\nI had some trouble finding a combination of button groups and sizes that looks OK on all screen sizes. There's something odd with the button-group CSS such that at some screen widths it breaks across lines and leaves funny dark areas. The two groups of three buttons was the only combination I could find that is properly responsive across all device form factors. I think it looks OK though.\r\n\r\nI haven't done any translations on the words \"Preset time\", not sure what the process is for validating that, so it's hard coded in the HTML right now.","created_at":"2017-12-26T02:39:33Z","updated_at":"2017-12-26T02:39:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/462/commits","review_comments_url":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/462/comments","review_comment_url":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/volumio/Volumio2-UI/issues/462/comments","statuses_url":"https://api.github.com/repos/volumio/Volumio2-UI/statuses/9a63eacdde5ca9765d3e31ced077d341d5952f62","head":{"label":"teq0:feature/sleeptimer-presets","ref":"feature/sleeptimer-presets","sha":"9a63eacdde5ca9765d3e31ced077d341d5952f62","user":{"login":"teq0","id":6080717,"avatar_url":"https://avatars3.githubusercontent.com/u/6080717?v=4","gravatar_id":"","url":"https://api.github.com/users/teq0","html_url":"https://github.com/teq0","followers_url":"https://api.github.com/users/teq0/followers","following_url":"https://api.github.com/users/teq0/following{/other_user}","gists_url":"https://api.github.com/users/teq0/gists{/gist_id}","starred_url":"https://api.github.com/users/teq0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teq0/subscriptions","organizations_url":"https://api.github.com/users/teq0/orgs","repos_url":"https://api.github.com/users/teq0/repos","events_url":"https://api.github.com/users/teq0/events{/privacy}","received_events_url":"https://api.github.com/users/teq0/received_events","type":"User","site_admin":false},"repo":{"id":115373080,"name":"Volumio2-UI","full_name":"teq0/Volumio2-UI","owner":{"login":"teq0","id":6080717,"avatar_url":"https://avatars3.githubusercontent.com/u/6080717?v=4","gravatar_id":"","url":"https://api.github.com/users/teq0","html_url":"https://github.com/teq0","followers_url":"https://api.github.com/users/teq0/followers","following_url":"https://api.github.com/users/teq0/following{/other_user}","gists_url":"https://api.github.com/users/teq0/gists{/gist_id}","starred_url":"https://api.github.com/users/teq0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/teq0/subscriptions","organizations_url":"https://api.github.com/users/teq0/orgs","repos_url":"https://api.github.com/users/teq0/repos","events_url":"https://api.github.com/users/teq0/events{/privacy}","received_events_url":"https://api.github.com/users/teq0/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/teq0/Volumio2-UI","description":"Volumio2 Web Based User Interface","fork":true,"url":"https://api.github.com/repos/teq0/Volumio2-UI","forks_url":"https://api.github.com/repos/teq0/Volumio2-UI/forks","keys_url":"https://api.github.com/repos/teq0/Volumio2-UI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/teq0/Volumio2-UI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/teq0/Volumio2-UI/teams","hooks_url":"https://api.github.com/repos/teq0/Volumio2-UI/hooks","issue_events_url":"https://api.github.com/repos/teq0/Volumio2-UI/issues/events{/number}","events_url":"https://api.github.com/repos/teq0/Volumio2-UI/events","assignees_url":"https://api.github.com/repos/teq0/Volumio2-UI/assignees{/user}","branches_url":"https://api.github.com/repos/teq0/Volumio2-UI/branches{/branch}","tags_url":"https://api.github.com/repos/teq0/Volumio2-UI/tags","blobs_url":"https://api.github.com/repos/teq0/Volumio2-UI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/teq0/Volumio2-UI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/teq0/Volumio2-UI/git/refs{/sha}","trees_url":"https://api.github.com/repos/teq0/Volumio2-UI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/teq0/Volumio2-UI/statuses/{sha}","languages_url":"https://api.github.com/repos/teq0/Volumio2-UI/languages","stargazers_url":"https://api.github.com/repos/teq0/Volumio2-UI/stargazers","contributors_url":"https://api.github.com/repos/teq0/Volumio2-UI/contributors","subscribers_url":"https://api.github.com/repos/teq0/Volumio2-UI/subscribers","subscription_url":"https://api.github.com/repos/teq0/Volumio2-UI/subscription","commits_url":"https://api.github.com/repos/teq0/Volumio2-UI/commits{/sha}","git_commits_url":"https://api.github.com/repos/teq0/Volumio2-UI/git/commits{/sha}","comments_url":"https://api.github.com/repos/teq0/Volumio2-UI/comments{/number}","issue_comment_url":"https://api.github.com/repos/teq0/Volumio2-UI/issues/comments{/number}","contents_url":"https://api.github.com/repos/teq0/Volumio2-UI/contents/{+path}","compare_url":"https://api.github.com/repos/teq0/Volumio2-UI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/teq0/Volumio2-UI/merges","archive_url":"https://api.github.com/repos/teq0/Volumio2-UI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/teq0/Volumio2-UI/downloads","issues_url":"https://api.github.com/repos/teq0/Volumio2-UI/issues{/number}","pulls_url":"https://api.github.com/repos/teq0/Volumio2-UI/pulls{/number}","milestones_url":"https://api.github.com/repos/teq0/Volumio2-UI/milestones{/number}","notifications_url":"https://api.github.com/repos/teq0/Volumio2-UI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/teq0/Volumio2-UI/labels{/name}","releases_url":"https://api.github.com/repos/teq0/Volumio2-UI/releases{/id}","deployments_url":"https://api.github.com/repos/teq0/Volumio2-UI/deployments","created_at":"2017-12-26T01:20:01Z","updated_at":"2017-12-26T01:20:03Z","pushed_at":"2017-12-26T02:29:08Z","git_url":"git://github.com/teq0/Volumio2-UI.git","ssh_url":"git@github.com:teq0/Volumio2-UI.git","clone_url":"https://github.com/teq0/Volumio2-UI.git","svn_url":"https://github.com/teq0/Volumio2-UI","homepage":"http://volumio.org","size":11953,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"volumio:master","ref":"master","sha":"f6d6470d99cd73880c720949d61dd7e31d407fbd","user":{"login":"volumio","id":5835489,"avatar_url":"https://avatars3.githubusercontent.com/u/5835489?v=4","gravatar_id":"","url":"https://api.github.com/users/volumio","html_url":"https://github.com/volumio","followers_url":"https://api.github.com/users/volumio/followers","following_url":"https://api.github.com/users/volumio/following{/other_user}","gists_url":"https://api.github.com/users/volumio/gists{/gist_id}","starred_url":"https://api.github.com/users/volumio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volumio/subscriptions","organizations_url":"https://api.github.com/users/volumio/orgs","repos_url":"https://api.github.com/users/volumio/repos","events_url":"https://api.github.com/users/volumio/events{/privacy}","received_events_url":"https://api.github.com/users/volumio/received_events","type":"User","site_admin":false},"repo":{"id":38208684,"name":"Volumio2-UI","full_name":"volumio/Volumio2-UI","owner":{"login":"volumio","id":5835489,"avatar_url":"https://avatars3.githubusercontent.com/u/5835489?v=4","gravatar_id":"","url":"https://api.github.com/users/volumio","html_url":"https://github.com/volumio","followers_url":"https://api.github.com/users/volumio/followers","following_url":"https://api.github.com/users/volumio/following{/other_user}","gists_url":"https://api.github.com/users/volumio/gists{/gist_id}","starred_url":"https://api.github.com/users/volumio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/volumio/subscriptions","organizations_url":"https://api.github.com/users/volumio/orgs","repos_url":"https://api.github.com/users/volumio/repos","events_url":"https://api.github.com/users/volumio/events{/privacy}","received_events_url":"https://api.github.com/users/volumio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/volumio/Volumio2-UI","description":"Volumio2 Web Based User Interface","fork":false,"url":"https://api.github.com/repos/volumio/Volumio2-UI","forks_url":"https://api.github.com/repos/volumio/Volumio2-UI/forks","keys_url":"https://api.github.com/repos/volumio/Volumio2-UI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/volumio/Volumio2-UI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/volumio/Volumio2-UI/teams","hooks_url":"https://api.github.com/repos/volumio/Volumio2-UI/hooks","issue_events_url":"https://api.github.com/repos/volumio/Volumio2-UI/issues/events{/number}","events_url":"https://api.github.com/repos/volumio/Volumio2-UI/events","assignees_url":"https://api.github.com/repos/volumio/Volumio2-UI/assignees{/user}","branches_url":"https://api.github.com/repos/volumio/Volumio2-UI/branches{/branch}","tags_url":"https://api.github.com/repos/volumio/Volumio2-UI/tags","blobs_url":"https://api.github.com/repos/volumio/Volumio2-UI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/volumio/Volumio2-UI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/volumio/Volumio2-UI/git/refs{/sha}","trees_url":"https://api.github.com/repos/volumio/Volumio2-UI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/volumio/Volumio2-UI/statuses/{sha}","languages_url":"https://api.github.com/repos/volumio/Volumio2-UI/languages","stargazers_url":"https://api.github.com/repos/volumio/Volumio2-UI/stargazers","contributors_url":"https://api.github.com/repos/volumio/Volumio2-UI/contributors","subscribers_url":"https://api.github.com/repos/volumio/Volumio2-UI/subscribers","subscription_url":"https://api.github.com/repos/volumio/Volumio2-UI/subscription","commits_url":"https://api.github.com/repos/volumio/Volumio2-UI/commits{/sha}","git_commits_url":"https://api.github.com/repos/volumio/Volumio2-UI/git/commits{/sha}","comments_url":"https://api.github.com/repos/volumio/Volumio2-UI/comments{/number}","issue_comment_url":"https://api.github.com/repos/volumio/Volumio2-UI/issues/comments{/number}","contents_url":"https://api.github.com/repos/volumio/Volumio2-UI/contents/{+path}","compare_url":"https://api.github.com/repos/volumio/Volumio2-UI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/volumio/Volumio2-UI/merges","archive_url":"https://api.github.com/repos/volumio/Volumio2-UI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/volumio/Volumio2-UI/downloads","issues_url":"https://api.github.com/repos/volumio/Volumio2-UI/issues{/number}","pulls_url":"https://api.github.com/repos/volumio/Volumio2-UI/pulls{/number}","milestones_url":"https://api.github.com/repos/volumio/Volumio2-UI/milestones{/number}","notifications_url":"https://api.github.com/repos/volumio/Volumio2-UI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/volumio/Volumio2-UI/labels{/name}","releases_url":"https://api.github.com/repos/volumio/Volumio2-UI/releases{/id}","deployments_url":"https://api.github.com/repos/volumio/Volumio2-UI/deployments","created_at":"2015-06-28T18:04:12Z","updated_at":"2017-12-24T15:23:02Z","pushed_at":"2017-12-20T18:09:53Z","git_url":"git://github.com/volumio/Volumio2-UI.git","ssh_url":"git@github.com:volumio/Volumio2-UI.git","clone_url":"https://github.com/volumio/Volumio2-UI.git","svn_url":"https://github.com/volumio/Volumio2-UI","homepage":"http://volumio.org","size":11953,"stargazers_count":61,"watchers_count":61,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":90,"mirror_url":null,"archived":false,"open_issues_count":39,"license":null,"forks":90,"open_issues":39,"watchers":61,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/462"},"html":{"href":"https://github.com/volumio/Volumio2-UI/pull/462"},"issue":{"href":"https://api.github.com/repos/volumio/Volumio2-UI/issues/462"},"comments":{"href":"https://api.github.com/repos/volumio/Volumio2-UI/issues/462/comments"},"review_comments":{"href":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/462/comments"},"review_comment":{"href":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/volumio/Volumio2-UI/pulls/462/commits"},"statuses":{"href":"https://api.github.com/repos/volumio/Volumio2-UI/statuses/9a63eacdde5ca9765d3e31ced077d341d5952f62"}},"author_association":"NONE","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":1,"additions":44,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"teq0"}}