{"action":"created","issue":{"url":"https://api.github.com/repos/cerner/terra-core/issues/1807","repository_url":"https://api.github.com/repos/cerner/terra-core","labels_url":"https://api.github.com/repos/cerner/terra-core/issues/1807/labels{/name}","comments_url":"https://api.github.com/repos/cerner/terra-core/issues/1807/comments","events_url":"https://api.github.com/repos/cerner/terra-core/issues/1807/events","html_url":"https://github.com/cerner/terra-core/issues/1807","id":354901559,"node_id":"MDU6SXNzdWUzNTQ5MDE1NTk=","number":1807,"title":"Update version of react-datepicker used in terra-date-picker","user":{"login":"bjankord","id":633148,"node_id":"MDQ6VXNlcjYzMzE0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/633148?v=4","gravatar_id":"","url":"https://api.github.com/users/bjankord","html_url":"https://github.com/bjankord","followers_url":"https://api.github.com/users/bjankord/followers","following_url":"https://api.github.com/users/bjankord/following{/other_user}","gists_url":"https://api.github.com/users/bjankord/gists{/gist_id}","starred_url":"https://api.github.com/users/bjankord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjankord/subscriptions","organizations_url":"https://api.github.com/users/bjankord/orgs","repos_url":"https://api.github.com/users/bjankord/repos","events_url":"https://api.github.com/users/bjankord/events{/privacy}","received_events_url":"https://api.github.com/users/bjankord/received_events","type":"User","site_admin":false},"labels":[{"id":752641612,"node_id":"MDU6TGFiZWw3NTI2NDE2MTI=","url":"https://api.github.com/repos/cerner/terra-core/labels/Orion%20Reviewed","name":"Orion Reviewed","color":"5f1087","default":false},{"id":593469440,"node_id":"MDU6TGFiZWw1OTM0Njk0NDA=","url":"https://api.github.com/repos/cerner/terra-core/labels/datepicker","name":"datepicker","color":"FF4081","default":false},{"id":547258203,"node_id":"MDU6TGFiZWw1NDcyNTgyMDM=","url":"https://api.github.com/repos/cerner/terra-core/labels/help%20wanted","name":"help wanted","color":"128A0C","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/cerner/terra-core/milestones/1","html_url":"https://github.com/cerner/terra-core/milestone/1","labels_url":"https://api.github.com/repos/cerner/terra-core/milestones/1/labels","id":2542946,"node_id":"MDk6TWlsZXN0b25lMjU0Mjk0Ng==","number":1,"title":"Backlog","description":"","creator":{"login":"bjankord","id":633148,"node_id":"MDQ6VXNlcjYzMzE0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/633148?v=4","gravatar_id":"","url":"https://api.github.com/users/bjankord","html_url":"https://github.com/bjankord","followers_url":"https://api.github.com/users/bjankord/followers","following_url":"https://api.github.com/users/bjankord/following{/other_user}","gists_url":"https://api.github.com/users/bjankord/gists{/gist_id}","starred_url":"https://api.github.com/users/bjankord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjankord/subscriptions","organizations_url":"https://api.github.com/users/bjankord/orgs","repos_url":"https://api.github.com/users/bjankord/repos","events_url":"https://api.github.com/users/bjankord/events{/privacy}","received_events_url":"https://api.github.com/users/bjankord/received_events","type":"User","site_admin":false},"open_issues":165,"closed_issues":273,"state":"open","created_at":"2017-05-25T13:49:48Z","updated_at":"2018-11-19T20:43:21Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2018-08-28T20:58:54Z","updated_at":"2018-11-27T16:53:45Z","closed_at":null,"author_association":"MEMBER","body":"# Feature Request\r\n\r\n## Description\r\nNew major version of react-datepicker is available. We should look into updating this dependency."},"comment":{"url":"https://api.github.com/repos/cerner/terra-core/issues/comments/442133368","html_url":"https://github.com/cerner/terra-core/issues/1807#issuecomment-442133368","issue_url":"https://api.github.com/repos/cerner/terra-core/issues/1807","id":442133368,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0MjEzMzM2OA==","user":{"login":"bjankord","id":633148,"node_id":"MDQ6VXNlcjYzMzE0OA==","avatar_url":"https://avatars1.githubusercontent.com/u/633148?v=4","gravatar_id":"","url":"https://api.github.com/users/bjankord","html_url":"https://github.com/bjankord","followers_url":"https://api.github.com/users/bjankord/followers","following_url":"https://api.github.com/users/bjankord/following{/other_user}","gists_url":"https://api.github.com/users/bjankord/gists{/gist_id}","starred_url":"https://api.github.com/users/bjankord/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bjankord/subscriptions","organizations_url":"https://api.github.com/users/bjankord/orgs","repos_url":"https://api.github.com/users/bjankord/repos","events_url":"https://api.github.com/users/bjankord/events{/privacy}","received_events_url":"https://api.github.com/users/bjankord/received_events","type":"User","site_admin":false},"created_at":"2018-11-27T16:53:45Z","updated_at":"2018-11-27T16:53:45Z","author_association":"MEMBER","body":"# Technical Details\r\nWe'll want to upgrade to the 2.x version which drops moment.js\r\n\r\nPrior to updating, we should test out the demo on https://reactdatepicker.com/ and make sure it works in all our supported browsers. We should probably check and see if that demo is using the latest version of react-datepicker before cross-browser testing it.\r\n\r\nWe don't want to expose any of the time-related props that were added to react-datepicker.\r\n\r\nThese seem ok to enable:\r\n`onYearChange` prop\r\n`preventOpenOnFocus` prop\r\noption to allow showing month navigation as disabled\r\n\r\nreact-datepicker has dropped moment.js so we want to rework our utils that used moment.js. We can look into [date-fns](https://date-fns.org/) as a replacement or find polyfills for the moment.js code we were using. Essentially, the code should work in all our [supported browsers](https://github.com/cerner/terra-ui/blob/master/src/terra-dev-site/contributing/ComponentStandards.e.contributing.md#cross-browser-support).\r\n\r\nWe've updated react-onclickoutside so that shouldn't be a concern.\r\nWe can drop popper.js as a dependency, react-datepicker now uses [react-popper.js](https://github.com/Hacker0x01/react-datepicker/blob/master/package.json#L107)\r\n"}}
{"actor":{"display_login":"bjankord"}}