{"action":"created","comment":{"url":"https://api.github.com/repos/UrbanDoor/press/pulls/comments/216407677","pull_request_review_id":153881008,"id":216407677,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNjQwNzY3Nw==","diff_hunk":"@@ -44,7 +44,7 @@\n   \"peerDependencies\": {\n     \"autoprefixer\": \"^9.0.2\",\n     \"cssnano\": \"^4.0.5\",\n-    \"daterangepicker\": \"^3.0.3\",\n+    \"daterangepicker\": \"git://github.com/UrbanDoor/daterangepicker.git\",","path":"package.json","position":5,"original_position":5,"commit_id":"7c2b8842864f8cd0a35c1e389e51acbd163cbf01","original_commit_id":"7c2b8842864f8cd0a35c1e389e51acbd163cbf01","user":{"login":"SashaBayan","id":7477387,"node_id":"MDQ6VXNlcjc0NzczODc=","avatar_url":"https://avatars2.githubusercontent.com/u/7477387?v=4","gravatar_id":"","url":"https://api.github.com/users/SashaBayan","html_url":"https://github.com/SashaBayan","followers_url":"https://api.github.com/users/SashaBayan/followers","following_url":"https://api.github.com/users/SashaBayan/following{/other_user}","gists_url":"https://api.github.com/users/SashaBayan/gists{/gist_id}","starred_url":"https://api.github.com/users/SashaBayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SashaBayan/subscriptions","organizations_url":"https://api.github.com/users/SashaBayan/orgs","repos_url":"https://api.github.com/users/SashaBayan/repos","events_url":"https://api.github.com/users/SashaBayan/events{/privacy}","received_events_url":"https://api.github.com/users/SashaBayan/received_events","type":"User","site_admin":false},"body":"I added an `onOutsideClick` event handler to our fork of DateRangePicker. Without this, the DRP will update itself with the date values (if none selected by user, start and end dates will both be set to the current day) and overwrite the `Arrive / Depart` text.","created_at":"2018-09-10T17:28:48Z","updated_at":"2018-09-10T17:28:48Z","html_url":"https://github.com/UrbanDoor/press/pull/30#discussion_r216407677","pull_request_url":"https://api.github.com/repos/UrbanDoor/press/pulls/30","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/UrbanDoor/press/pulls/comments/216407677"},"html":{"href":"https://github.com/UrbanDoor/press/pull/30#discussion_r216407677"},"pull_request":{"href":"https://api.github.com/repos/UrbanDoor/press/pulls/30"}},"in_reply_to_id":216387429},"pull_request":{"url":"https://api.github.com/repos/UrbanDoor/press/pulls/30","id":214157669,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE0MTU3NjY5","html_url":"https://github.com/UrbanDoor/press/pull/30","diff_url":"https://github.com/UrbanDoor/press/pull/30.diff","patch_url":"https://github.com/UrbanDoor/press/pull/30.patch","issue_url":"https://api.github.com/repos/UrbanDoor/press/issues/30","number":30,"state":"open","locked":false,"title":"UD-5954 set default text","user":{"login":"SashaBayan","id":7477387,"node_id":"MDQ6VXNlcjc0NzczODc=","avatar_url":"https://avatars2.githubusercontent.com/u/7477387?v=4","gravatar_id":"","url":"https://api.github.com/users/SashaBayan","html_url":"https://github.com/SashaBayan","followers_url":"https://api.github.com/users/SashaBayan/followers","following_url":"https://api.github.com/users/SashaBayan/following{/other_user}","gists_url":"https://api.github.com/users/SashaBayan/gists{/gist_id}","starred_url":"https://api.github.com/users/SashaBayan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SashaBayan/subscriptions","organizations_url":"https://api.github.com/users/SashaBayan/orgs","repos_url":"https://api.github.com/users/SashaBayan/repos","events_url":"https://api.github.com/users/SashaBayan/events{/privacy}","received_events_url":"https://api.github.com/users/SashaBayan/received_events","type":"User","site_admin":false},"body":"This PR does the DOM manipulation to set the text of the input as we described in our meeting. It is not the prettiest, but it does set the initial text. \r\n\r\nWith certain fiddling, there is flashing that might happen when resetting the component. See video: https://www.youtube.com/watch?v=WsY58nunIW0&feature=youtu.be\r\n\r\nThat said, such flashes will happen in the unlikely cases where the user selects the same date for both the start and end date. It's up to us to decide whether this is an acceptable MVP, whether to try to work more w this 3rd party DRP, try another, or build our own.","created_at":"2018-09-09T18:19:05Z","updated_at":"2018-09-10T17:28:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c4d6a91bc8e7909c9fa0de181dee0a5b233dbbcf","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":1050941304,"node_id":"MDU6TGFiZWwxMDUwOTQxMzA0","url":"https://api.github.com/repos/UrbanDoor/press/labels/WIP","name":"WIP","color":"0a79ad","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/UrbanDoor/press/pulls/30/commits","review_comments_url":"https://api.github.com/repos/UrbanDoor/press/pulls/30/comments","review_comment_url":"https://api.github.com/repos/UrbanDoor/press/pulls/comments{/number}","comments_url":"https://api.github.com/repos/UrbanDoor/press/issues/30/comments","statuses_url":"https://api.github.com/repos/UrbanDoor/press/statuses/7c2b8842864f8cd0a35c1e389e51acbd163cbf01","head":{"label":"UrbanDoor:UD-5954-set-default-text","ref":"UD-5954-set-default-text","sha":"7c2b8842864f8cd0a35c1e389e51acbd163cbf01","user":{"login":"UrbanDoor","id":14318185,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzE4MTg1","avatar_url":"https://avatars1.githubusercontent.com/u/14318185?v=4","gravatar_id":"","url":"https://api.github.com/users/UrbanDoor","html_url":"https://github.com/UrbanDoor","followers_url":"https://api.github.com/users/UrbanDoor/followers","following_url":"https://api.github.com/users/UrbanDoor/following{/other_user}","gists_url":"https://api.github.com/users/UrbanDoor/gists{/gist_id}","starred_url":"https://api.github.com/users/UrbanDoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrbanDoor/subscriptions","organizations_url":"https://api.github.com/users/UrbanDoor/orgs","repos_url":"https://api.github.com/users/UrbanDoor/repos","events_url":"https://api.github.com/users/UrbanDoor/events{/privacy}","received_events_url":"https://api.github.com/users/UrbanDoor/received_events","type":"Organization","site_admin":false},"repo":{"id":140314830,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMTQ4MzA=","name":"press","full_name":"UrbanDoor/press","owner":{"login":"UrbanDoor","id":14318185,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzE4MTg1","avatar_url":"https://avatars1.githubusercontent.com/u/14318185?v=4","gravatar_id":"","url":"https://api.github.com/users/UrbanDoor","html_url":"https://github.com/UrbanDoor","followers_url":"https://api.github.com/users/UrbanDoor/followers","following_url":"https://api.github.com/users/UrbanDoor/following{/other_user}","gists_url":"https://api.github.com/users/UrbanDoor/gists{/gist_id}","starred_url":"https://api.github.com/users/UrbanDoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrbanDoor/subscriptions","organizations_url":"https://api.github.com/users/UrbanDoor/orgs","repos_url":"https://api.github.com/users/UrbanDoor/repos","events_url":"https://api.github.com/users/UrbanDoor/events{/privacy}","received_events_url":"https://api.github.com/users/UrbanDoor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UrbanDoor/press","description":"Progressive enhancement with VueJS","fork":false,"url":"https://api.github.com/repos/UrbanDoor/press","forks_url":"https://api.github.com/repos/UrbanDoor/press/forks","keys_url":"https://api.github.com/repos/UrbanDoor/press/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UrbanDoor/press/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UrbanDoor/press/teams","hooks_url":"https://api.github.com/repos/UrbanDoor/press/hooks","issue_events_url":"https://api.github.com/repos/UrbanDoor/press/issues/events{/number}","events_url":"https://api.github.com/repos/UrbanDoor/press/events","assignees_url":"https://api.github.com/repos/UrbanDoor/press/assignees{/user}","branches_url":"https://api.github.com/repos/UrbanDoor/press/branches{/branch}","tags_url":"https://api.github.com/repos/UrbanDoor/press/tags","blobs_url":"https://api.github.com/repos/UrbanDoor/press/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UrbanDoor/press/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UrbanDoor/press/git/refs{/sha}","trees_url":"https://api.github.com/repos/UrbanDoor/press/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UrbanDoor/press/statuses/{sha}","languages_url":"https://api.github.com/repos/UrbanDoor/press/languages","stargazers_url":"https://api.github.com/repos/UrbanDoor/press/stargazers","contributors_url":"https://api.github.com/repos/UrbanDoor/press/contributors","subscribers_url":"https://api.github.com/repos/UrbanDoor/press/subscribers","subscription_url":"https://api.github.com/repos/UrbanDoor/press/subscription","commits_url":"https://api.github.com/repos/UrbanDoor/press/commits{/sha}","git_commits_url":"https://api.github.com/repos/UrbanDoor/press/git/commits{/sha}","comments_url":"https://api.github.com/repos/UrbanDoor/press/comments{/number}","issue_comment_url":"https://api.github.com/repos/UrbanDoor/press/issues/comments{/number}","contents_url":"https://api.github.com/repos/UrbanDoor/press/contents/{+path}","compare_url":"https://api.github.com/repos/UrbanDoor/press/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UrbanDoor/press/merges","archive_url":"https://api.github.com/repos/UrbanDoor/press/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UrbanDoor/press/downloads","issues_url":"https://api.github.com/repos/UrbanDoor/press/issues{/number}","pulls_url":"https://api.github.com/repos/UrbanDoor/press/pulls{/number}","milestones_url":"https://api.github.com/repos/UrbanDoor/press/milestones{/number}","notifications_url":"https://api.github.com/repos/UrbanDoor/press/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UrbanDoor/press/labels{/name}","releases_url":"https://api.github.com/repos/UrbanDoor/press/releases{/id}","deployments_url":"https://api.github.com/repos/UrbanDoor/press/deployments","created_at":"2018-07-09T16:41:03Z","updated_at":"2018-09-07T17:50:49Z","pushed_at":"2018-09-10T15:14:22Z","git_url":"git://github.com/UrbanDoor/press.git","ssh_url":"git@github.com:UrbanDoor/press.git","clone_url":"https://github.com/UrbanDoor/press.git","svn_url":"https://github.com/UrbanDoor/press","homepage":null,"size":220,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"base":{"label":"UrbanDoor:master","ref":"master","sha":"4e62f4d8af0492fee44b90bef038dfd734a37313","user":{"login":"UrbanDoor","id":14318185,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzE4MTg1","avatar_url":"https://avatars1.githubusercontent.com/u/14318185?v=4","gravatar_id":"","url":"https://api.github.com/users/UrbanDoor","html_url":"https://github.com/UrbanDoor","followers_url":"https://api.github.com/users/UrbanDoor/followers","following_url":"https://api.github.com/users/UrbanDoor/following{/other_user}","gists_url":"https://api.github.com/users/UrbanDoor/gists{/gist_id}","starred_url":"https://api.github.com/users/UrbanDoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrbanDoor/subscriptions","organizations_url":"https://api.github.com/users/UrbanDoor/orgs","repos_url":"https://api.github.com/users/UrbanDoor/repos","events_url":"https://api.github.com/users/UrbanDoor/events{/privacy}","received_events_url":"https://api.github.com/users/UrbanDoor/received_events","type":"Organization","site_admin":false},"repo":{"id":140314830,"node_id":"MDEwOlJlcG9zaXRvcnkxNDAzMTQ4MzA=","name":"press","full_name":"UrbanDoor/press","owner":{"login":"UrbanDoor","id":14318185,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MzE4MTg1","avatar_url":"https://avatars1.githubusercontent.com/u/14318185?v=4","gravatar_id":"","url":"https://api.github.com/users/UrbanDoor","html_url":"https://github.com/UrbanDoor","followers_url":"https://api.github.com/users/UrbanDoor/followers","following_url":"https://api.github.com/users/UrbanDoor/following{/other_user}","gists_url":"https://api.github.com/users/UrbanDoor/gists{/gist_id}","starred_url":"https://api.github.com/users/UrbanDoor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/UrbanDoor/subscriptions","organizations_url":"https://api.github.com/users/UrbanDoor/orgs","repos_url":"https://api.github.com/users/UrbanDoor/repos","events_url":"https://api.github.com/users/UrbanDoor/events{/privacy}","received_events_url":"https://api.github.com/users/UrbanDoor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/UrbanDoor/press","description":"Progressive enhancement with VueJS","fork":false,"url":"https://api.github.com/repos/UrbanDoor/press","forks_url":"https://api.github.com/repos/UrbanDoor/press/forks","keys_url":"https://api.github.com/repos/UrbanDoor/press/keys{/key_id}","collaborators_url":"https://api.github.com/repos/UrbanDoor/press/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/UrbanDoor/press/teams","hooks_url":"https://api.github.com/repos/UrbanDoor/press/hooks","issue_events_url":"https://api.github.com/repos/UrbanDoor/press/issues/events{/number}","events_url":"https://api.github.com/repos/UrbanDoor/press/events","assignees_url":"https://api.github.com/repos/UrbanDoor/press/assignees{/user}","branches_url":"https://api.github.com/repos/UrbanDoor/press/branches{/branch}","tags_url":"https://api.github.com/repos/UrbanDoor/press/tags","blobs_url":"https://api.github.com/repos/UrbanDoor/press/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/UrbanDoor/press/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/UrbanDoor/press/git/refs{/sha}","trees_url":"https://api.github.com/repos/UrbanDoor/press/git/trees{/sha}","statuses_url":"https://api.github.com/repos/UrbanDoor/press/statuses/{sha}","languages_url":"https://api.github.com/repos/UrbanDoor/press/languages","stargazers_url":"https://api.github.com/repos/UrbanDoor/press/stargazers","contributors_url":"https://api.github.com/repos/UrbanDoor/press/contributors","subscribers_url":"https://api.github.com/repos/UrbanDoor/press/subscribers","subscription_url":"https://api.github.com/repos/UrbanDoor/press/subscription","commits_url":"https://api.github.com/repos/UrbanDoor/press/commits{/sha}","git_commits_url":"https://api.github.com/repos/UrbanDoor/press/git/commits{/sha}","comments_url":"https://api.github.com/repos/UrbanDoor/press/comments{/number}","issue_comment_url":"https://api.github.com/repos/UrbanDoor/press/issues/comments{/number}","contents_url":"https://api.github.com/repos/UrbanDoor/press/contents/{+path}","compare_url":"https://api.github.com/repos/UrbanDoor/press/compare/{base}...{head}","merges_url":"https://api.github.com/repos/UrbanDoor/press/merges","archive_url":"https://api.github.com/repos/UrbanDoor/press/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/UrbanDoor/press/downloads","issues_url":"https://api.github.com/repos/UrbanDoor/press/issues{/number}","pulls_url":"https://api.github.com/repos/UrbanDoor/press/pulls{/number}","milestones_url":"https://api.github.com/repos/UrbanDoor/press/milestones{/number}","notifications_url":"https://api.github.com/repos/UrbanDoor/press/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/UrbanDoor/press/labels{/name}","releases_url":"https://api.github.com/repos/UrbanDoor/press/releases{/id}","deployments_url":"https://api.github.com/repos/UrbanDoor/press/deployments","created_at":"2018-07-09T16:41:03Z","updated_at":"2018-09-07T17:50:49Z","pushed_at":"2018-09-10T15:14:22Z","git_url":"git://github.com/UrbanDoor/press.git","ssh_url":"git@github.com:UrbanDoor/press.git","clone_url":"https://github.com/UrbanDoor/press.git","svn_url":"https://github.com/UrbanDoor/press","homepage":null,"size":220,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1,"open_issues":5,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/UrbanDoor/press/pulls/30"},"html":{"href":"https://github.com/UrbanDoor/press/pull/30"},"issue":{"href":"https://api.github.com/repos/UrbanDoor/press/issues/30"},"comments":{"href":"https://api.github.com/repos/UrbanDoor/press/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/UrbanDoor/press/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/UrbanDoor/press/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/UrbanDoor/press/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/UrbanDoor/press/statuses/7c2b8842864f8cd0a35c1e389e51acbd163cbf01"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"SashaBayan"}}