{"action":"closed","number":242,"pull_request":{"url":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/242","id":86178089,"html_url":"https://github.com/vaadin/vaadin-date-picker/pull/242","diff_url":"https://github.com/vaadin/vaadin-date-picker/pull/242.diff","patch_url":"https://github.com/vaadin/vaadin-date-picker/pull/242.patch","issue_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/242","number":242,"state":"closed","locked":false,"title":"Improve swipe gesture to reveal year scroller","user":{"login":"tehapo","id":368220,"avatar_url":"https://avatars.githubusercontent.com/u/368220?v=3","gravatar_id":"","url":"https://api.github.com/users/tehapo","html_url":"https://github.com/tehapo","followers_url":"https://api.github.com/users/tehapo/followers","following_url":"https://api.github.com/users/tehapo/following{/other_user}","gists_url":"https://api.github.com/users/tehapo/gists{/gist_id}","starred_url":"https://api.github.com/users/tehapo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tehapo/subscriptions","organizations_url":"https://api.github.com/users/tehapo/orgs","repos_url":"https://api.github.com/users/tehapo/repos","events_url":"https://api.github.com/users/tehapo/events{/privacy}","received_events_url":"https://api.github.com/users/tehapo/received_events","type":"User","site_admin":false},"body":"Fixes #190 \r\n\r\nSome notes for review.\r\n* Only way to really review this is to simply try this out with an Android and/or iOS device. If your device has too large screen, you might need to tweak the `iron-media-query` in `vaadin-date-picker-overlay` and increase the `min-width`.\r\n* This PR improves three things.\r\n  * A costly repaint is avoided by adding the `will-change` CSS property to the icon that gets rotated.\r\n  * The `on-track` is moved one level up in the DOM to actually track also when swiping on top of the year scroller to hide it.\r\n  * Handling the `track` state is rewritten and should now feel more natural and also support a fast fling instead of just a deliberate and slow swipe.\n\n<!-- Reviewable:start -->\n---\nThis change is [<img src=\"https://reviewable.io/review_button.svg\" height=\"34\" align=\"absmiddle\" alt=\"Reviewable\"/>](https://reviewable.io/reviews/vaadin/vaadin-date-picker/242)\n<!-- Reviewable:end -->\n","created_at":"2016-09-21T14:50:00Z","updated_at":"2016-09-26T07:33:54Z","closed_at":"2016-09-26T07:33:54Z","merged_at":"2016-09-26T07:33:54Z","merge_commit_sha":"c638e5211614df99c819df9078224e80e9515b41","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/242/commits","review_comments_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/242/comments","review_comment_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/242/comments","statuses_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/statuses/3cabf8d08a50dff201abb98aa95bb2e6366092ea","head":{"label":"vaadin:improve-swipe","ref":"improve-swipe","sha":"3cabf8d08a50dff201abb98aa95bb2e6366092ea","user":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars.githubusercontent.com/u/1171922?v=3","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"repo":{"id":44770441,"name":"vaadin-date-picker","full_name":"vaadin/vaadin-date-picker","owner":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars.githubusercontent.com/u/1171922?v=3","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vaadin/vaadin-date-picker","description":"vaadin-date-picker is a free Web Component providing a date selection field with scrollable month calendar. Built using Polymer","fork":false,"url":"https://api.github.com/repos/vaadin/vaadin-date-picker","forks_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/forks","keys_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/teams","hooks_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/hooks","issue_events_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/events{/number}","events_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/events","assignees_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/assignees{/user}","branches_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/branches{/branch}","tags_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/tags","blobs_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/languages","stargazers_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/stargazers","contributors_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/contributors","subscribers_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/subscribers","subscription_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/subscription","commits_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/contents/{+path}","compare_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/merges","archive_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/downloads","issues_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues{/number}","pulls_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/labels{/name}","releases_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/releases{/id}","deployments_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/deployments","created_at":"2015-10-22T20:09:54Z","updated_at":"2016-09-11T15:16:15Z","pushed_at":"2016-09-26T07:33:54Z","git_url":"git://github.com/vaadin/vaadin-date-picker.git","ssh_url":"git@github.com:vaadin/vaadin-date-picker.git","clone_url":"https://github.com/vaadin/vaadin-date-picker.git","svn_url":"https://github.com/vaadin/vaadin-date-picker","homepage":"https://vaadin.com/elements","size":691,"stargazers_count":43,"watchers_count":43,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":33,"forks":11,"open_issues":33,"watchers":43,"default_branch":"master"}},"base":{"label":"vaadin:master","ref":"master","sha":"f46deb6284b8e584f84b64b476c6ceb332a9a5c5","user":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars.githubusercontent.com/u/1171922?v=3","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"repo":{"id":44770441,"name":"vaadin-date-picker","full_name":"vaadin/vaadin-date-picker","owner":{"login":"vaadin","id":1171922,"avatar_url":"https://avatars.githubusercontent.com/u/1171922?v=3","gravatar_id":"","url":"https://api.github.com/users/vaadin","html_url":"https://github.com/vaadin","followers_url":"https://api.github.com/users/vaadin/followers","following_url":"https://api.github.com/users/vaadin/following{/other_user}","gists_url":"https://api.github.com/users/vaadin/gists{/gist_id}","starred_url":"https://api.github.com/users/vaadin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vaadin/subscriptions","organizations_url":"https://api.github.com/users/vaadin/orgs","repos_url":"https://api.github.com/users/vaadin/repos","events_url":"https://api.github.com/users/vaadin/events{/privacy}","received_events_url":"https://api.github.com/users/vaadin/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/vaadin/vaadin-date-picker","description":"vaadin-date-picker is a free Web Component providing a date selection field with scrollable month calendar. Built using Polymer","fork":false,"url":"https://api.github.com/repos/vaadin/vaadin-date-picker","forks_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/forks","keys_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/teams","hooks_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/hooks","issue_events_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/events{/number}","events_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/events","assignees_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/assignees{/user}","branches_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/branches{/branch}","tags_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/tags","blobs_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/refs{/sha}","trees_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/statuses/{sha}","languages_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/languages","stargazers_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/stargazers","contributors_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/contributors","subscribers_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/subscribers","subscription_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/subscription","commits_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/commits{/sha}","git_commits_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/git/commits{/sha}","comments_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/comments{/number}","issue_comment_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/comments{/number}","contents_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/contents/{+path}","compare_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/merges","archive_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/downloads","issues_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues{/number}","pulls_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls{/number}","milestones_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/milestones{/number}","notifications_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/labels{/name}","releases_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/releases{/id}","deployments_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/deployments","created_at":"2015-10-22T20:09:54Z","updated_at":"2016-09-11T15:16:15Z","pushed_at":"2016-09-26T07:33:54Z","git_url":"git://github.com/vaadin/vaadin-date-picker.git","ssh_url":"git@github.com:vaadin/vaadin-date-picker.git","clone_url":"https://github.com/vaadin/vaadin-date-picker.git","svn_url":"https://github.com/vaadin/vaadin-date-picker","homepage":"https://vaadin.com/elements","size":691,"stargazers_count":43,"watchers_count":43,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":11,"mirror_url":null,"open_issues_count":33,"forks":11,"open_issues":33,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/242"},"html":{"href":"https://github.com/vaadin/vaadin-date-picker/pull/242"},"issue":{"href":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/242"},"comments":{"href":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/242/comments"},"review_comments":{"href":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/242/comments"},"review_comment":{"href":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/vaadin/vaadin-date-picker/pulls/242/commits"},"statuses":{"href":"https://api.github.com/repos/vaadin/vaadin-date-picker/statuses/3cabf8d08a50dff201abb98aa95bb2e6366092ea"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"samiheikki","id":8615573,"avatar_url":"https://avatars.githubusercontent.com/u/8615573?v=3","gravatar_id":"","url":"https://api.github.com/users/samiheikki","html_url":"https://github.com/samiheikki","followers_url":"https://api.github.com/users/samiheikki/followers","following_url":"https://api.github.com/users/samiheikki/following{/other_user}","gists_url":"https://api.github.com/users/samiheikki/gists{/gist_id}","starred_url":"https://api.github.com/users/samiheikki/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samiheikki/subscriptions","organizations_url":"https://api.github.com/users/samiheikki/orgs","repos_url":"https://api.github.com/users/samiheikki/repos","events_url":"https://api.github.com/users/samiheikki/events{/privacy}","received_events_url":"https://api.github.com/users/samiheikki/received_events","type":"User","site_admin":false},"comments":13,"review_comments":0,"commits":2,"additions":30,"deletions":11,"changed_files":1}}
{"actor":{"display_login":"samiheikki"}}