{"action":"created","issue":{"url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/170","repository_url":"https://api.github.com/repos/vaadin/vaadin-date-picker","labels_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/170/labels{/name}","comments_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/170/comments","events_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/170/events","html_url":"https://github.com/vaadin/vaadin-date-picker/issues/170","id":149999999,"number":170,"title":"Refine “Today” button behavior","user":{"login":"jouni","id":66382,"avatar_url":"https://avatars.githubusercontent.com/u/66382?v=3","gravatar_id":"","url":"https://api.github.com/users/jouni","html_url":"https://github.com/jouni","followers_url":"https://api.github.com/users/jouni/followers","following_url":"https://api.github.com/users/jouni/following{/other_user}","gists_url":"https://api.github.com/users/jouni/gists{/gist_id}","starred_url":"https://api.github.com/users/jouni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouni/subscriptions","organizations_url":"https://api.github.com/users/jouni/orgs","repos_url":"https://api.github.com/users/jouni/repos","events_url":"https://api.github.com/users/jouni/events{/privacy}","received_events_url":"https://api.github.com/users/jouni/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vaadin/vaadin-date-picker/labels/in%20review","name":"in review","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"platosha","id":247998,"avatar_url":"https://avatars.githubusercontent.com/u/247998?v=3","gravatar_id":"","url":"https://api.github.com/users/platosha","html_url":"https://github.com/platosha","followers_url":"https://api.github.com/users/platosha/followers","following_url":"https://api.github.com/users/platosha/following{/other_user}","gists_url":"https://api.github.com/users/platosha/gists{/gist_id}","starred_url":"https://api.github.com/users/platosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platosha/subscriptions","organizations_url":"https://api.github.com/users/platosha/orgs","repos_url":"https://api.github.com/users/platosha/repos","events_url":"https://api.github.com/users/platosha/events{/privacy}","received_events_url":"https://api.github.com/users/platosha/received_events","type":"User","site_admin":false},"assignees":[{"login":"platosha","id":247998,"avatar_url":"https://avatars.githubusercontent.com/u/247998?v=3","gravatar_id":"","url":"https://api.github.com/users/platosha","html_url":"https://github.com/platosha","followers_url":"https://api.github.com/users/platosha/followers","following_url":"https://api.github.com/users/platosha/following{/other_user}","gists_url":"https://api.github.com/users/platosha/gists{/gist_id}","starred_url":"https://api.github.com/users/platosha/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/platosha/subscriptions","organizations_url":"https://api.github.com/users/platosha/orgs","repos_url":"https://api.github.com/users/platosha/repos","events_url":"https://api.github.com/users/platosha/events{/privacy}","received_events_url":"https://api.github.com/users/platosha/received_events","type":"User","site_admin":false}],"milestone":null,"comments":3,"created_at":"2016-04-21T08:15:56Z","updated_at":"2016-10-20T10:33:09Z","closed_at":null,"body":"### Problem\r\n\r\nSome users really expect the “Today” button to select the date instead of just scroll it into view. This is more obvious in the situation when today is already visible in the viewport, and nothing happens visually when the user taps the “Today” button.\r\n\r\nAlso, if the popup height is less than a full month (so that the last week of the month is outside of the view), today is not scrolled fully visible if the day is in the last week of of the month. Came up with #169. Might not be an issue after that is fixed, as most viewports should have enough space to show the full month. But it also depends on the theme (font size, sizing, etc.) if it can fit.\r\n\r\n### Spec\r\n\r\nIf today’s day number is outside the popup viewport, clicking the “Today” button scrolls the calendar to show today’s day cell. When today’s day number is visible in the popup, clicking the “Today” button selects today and closes the popup.\r\n\r\nThe “Today” button’s appearance can change depending whether today’s day cell is currently visible, or before or after the currently visible day cells. For the current default Material design theme, the button style is always the same (updated styling is planned for later).\r\n\r\nSee the mockup in #249 (“Immediate single-select”)."},"comment":{"url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/comments/255070112","html_url":"https://github.com/vaadin/vaadin-date-picker/issues/170#issuecomment-255070112","issue_url":"https://api.github.com/repos/vaadin/vaadin-date-picker/issues/170","id":255070112,"user":{"login":"jouni","id":66382,"avatar_url":"https://avatars.githubusercontent.com/u/66382?v=3","gravatar_id":"","url":"https://api.github.com/users/jouni","html_url":"https://github.com/jouni","followers_url":"https://api.github.com/users/jouni/followers","following_url":"https://api.github.com/users/jouni/following{/other_user}","gists_url":"https://api.github.com/users/jouni/gists{/gist_id}","starred_url":"https://api.github.com/users/jouni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jouni/subscriptions","organizations_url":"https://api.github.com/users/jouni/orgs","repos_url":"https://api.github.com/users/jouni/repos","events_url":"https://api.github.com/users/jouni/events{/privacy}","received_events_url":"https://api.github.com/users/jouni/received_events","type":"User","site_admin":false},"created_at":"2016-10-20T10:33:09Z","updated_at":"2016-10-20T10:33:09Z","body":"Please add a size for this task, as it is work for core elements 2"}}
{"actor":{"display_login":"jouni"}}