{"action":"created","comment":{"url":"https://api.github.com/repos/transcom/mymove/pulls/comments/224930435","pull_request_review_id":164428161,"id":224930435,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDkzMDQzNQ==","diff_hunk":"@@ -426,16 +426,19 @@ export function tspReducer(state = initialState, action) {\n       return Object.assign({}, state, {\n         generateGBLSuccess: false,\n         generateGBLError: null,\n+        generateGBLBtnDisabled: true,\n       });\n     case GENERATE_GBL.success:\n       return Object.assign({}, state, {\n         generateGBLSuccess: true,\n         generateGBLError: false,\n+        generateGBLBtnDisabled: true,\n       });\n     case GENERATE_GBL.failure:\n       return Object.assign({}, state, {\n         generateGBLSuccess: false,\n         generateGBLError: true,\n+        generateGBLBtnDisabled: action.error.statusCode === 400 ? true : false,","path":"src/scenes/TransportationServiceProvider/ducks.js","position":16,"original_position":16,"commit_id":"9324860f75f4657bc5bd2502d1bfdaca78e8ada6","original_commit_id":"9324860f75f4657bc5bd2502d1bfdaca78e8ada6","user":{"login":"chrisgilmerproj","id":219296,"node_id":"MDQ6VXNlcjIxOTI5Ng==","avatar_url":"https://avatars3.githubusercontent.com/u/219296?v=4","gravatar_id":"","url":"https://api.github.com/users/chrisgilmerproj","html_url":"https://github.com/chrisgilmerproj","followers_url":"https://api.github.com/users/chrisgilmerproj/followers","following_url":"https://api.github.com/users/chrisgilmerproj/following{/other_user}","gists_url":"https://api.github.com/users/chrisgilmerproj/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisgilmerproj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisgilmerproj/subscriptions","organizations_url":"https://api.github.com/users/chrisgilmerproj/orgs","repos_url":"https://api.github.com/users/chrisgilmerproj/repos","events_url":"https://api.github.com/users/chrisgilmerproj/events{/privacy}","received_events_url":"https://api.github.com/users/chrisgilmerproj/received_events","type":"User","site_admin":false},"body":"Instead of firing off a new request to determine if the GBL has already been created can we look at the entities reducer and see if the GBL document is in it?","created_at":"2018-10-12T22:28:44Z","updated_at":"2018-10-12T22:28:44Z","html_url":"https://github.com/transcom/mymove/pull/1131#discussion_r224930435","pull_request_url":"https://api.github.com/repos/transcom/mymove/pulls/1131","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/transcom/mymove/pulls/comments/224930435"},"html":{"href":"https://github.com/transcom/mymove/pull/1131#discussion_r224930435"},"pull_request":{"href":"https://api.github.com/repos/transcom/mymove/pulls/1131"}}},"pull_request":{"url":"https://api.github.com/repos/transcom/mymove/pulls/1131","id":222590442,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNTkwNDQy","html_url":"https://github.com/transcom/mymove/pull/1131","diff_url":"https://github.com/transcom/mymove/pull/1131.diff","patch_url":"https://github.com/transcom/mymove/pull/1131.patch","issue_url":"https://api.github.com/repos/transcom/mymove/issues/1131","number":1131,"state":"open","locked":false,"title":"WIP - Disable Generate Bill of Lading Button After Click","user":{"login":"donaldthai","id":1522549,"node_id":"MDQ6VXNlcjE1MjI1NDk=","avatar_url":"https://avatars0.githubusercontent.com/u/1522549?v=4","gravatar_id":"","url":"https://api.github.com/users/donaldthai","html_url":"https://github.com/donaldthai","followers_url":"https://api.github.com/users/donaldthai/followers","following_url":"https://api.github.com/users/donaldthai/following{/other_user}","gists_url":"https://api.github.com/users/donaldthai/gists{/gist_id}","starred_url":"https://api.github.com/users/donaldthai/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/donaldthai/subscriptions","organizations_url":"https://api.github.com/users/donaldthai/orgs","repos_url":"https://api.github.com/users/donaldthai/repos","events_url":"https://api.github.com/users/donaldthai/events{/privacy}","received_events_url":"https://api.github.com/users/donaldthai/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\nThis PR adds a new prop state `generateGBLBtnDisabled` to disable the `Generate Bill of Lading` button on the TSP app. This is to prevent the user from clicking and sending multiple requests to create the GBL.\r\n\r\nToDo:\r\n- Add test in Cypress\r\n\r\n## Reviewer Notes\r\n\r\n- Did I do this right? :)\r\n\r\n## Code Review Verification Steps\r\n\r\n* [ ] End to end tests pass (`make e2e_test`).\r\n* [ ] Request review from a member of a different team.\r\n* [ ] Have the Pivotal acceptance criteria been met for this change?\r\n\r\n## References\r\n\r\n* [Pivotal story](https://www.pivotaltracker.com/story/show/160673260) for this change\r\n\r\n## Screenshots\r\n\r\n<img width=\"354\" alt=\"screen shot 2018-10-12 at 2 24 14 pm\" src=\"https://user-images.githubusercontent.com/1522549/46894787-8b8caa00-ce2a-11e8-9d73-c2a3341cfd1e.png\">\r\n","created_at":"2018-10-12T21:25:17Z","updated_at":"2018-10-12T22:28:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"eddb3f136c1769a391304f9653bb031362acd565","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/transcom/mymove/pulls/1131/commits","review_comments_url":"https://api.github.com/repos/transcom/mymove/pulls/1131/comments","review_comment_url":"https://api.github.com/repos/transcom/mymove/pulls/comments{/number}","comments_url":"https://api.github.com/repos/transcom/mymove/issues/1131/comments","statuses_url":"https://api.github.com/repos/transcom/mymove/statuses/9324860f75f4657bc5bd2502d1bfdaca78e8ada6","head":{"label":"transcom:dt-disable-gbl-button","ref":"dt-disable-gbl-button","sha":"9324860f75f4657bc5bd2502d1bfdaca78e8ada6","user":{"login":"transcom","id":34352343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzUyMzQz","avatar_url":"https://avatars0.githubusercontent.com/u/34352343?v=4","gravatar_id":"","url":"https://api.github.com/users/transcom","html_url":"https://github.com/transcom","followers_url":"https://api.github.com/users/transcom/followers","following_url":"https://api.github.com/users/transcom/following{/other_user}","gists_url":"https://api.github.com/users/transcom/gists{/gist_id}","starred_url":"https://api.github.com/users/transcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transcom/subscriptions","organizations_url":"https://api.github.com/users/transcom/orgs","repos_url":"https://api.github.com/users/transcom/repos","events_url":"https://api.github.com/users/transcom/events{/privacy}","received_events_url":"https://api.github.com/users/transcom/received_events","type":"Organization","site_admin":false},"repo":{"id":114694829,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQ2OTQ4Mjk=","name":"mymove","full_name":"transcom/mymove","private":false,"owner":{"login":"transcom","id":34352343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzUyMzQz","avatar_url":"https://avatars0.githubusercontent.com/u/34352343?v=4","gravatar_id":"","url":"https://api.github.com/users/transcom","html_url":"https://github.com/transcom","followers_url":"https://api.github.com/users/transcom/followers","following_url":"https://api.github.com/users/transcom/following{/other_user}","gists_url":"https://api.github.com/users/transcom/gists{/gist_id}","starred_url":"https://api.github.com/users/transcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transcom/subscriptions","organizations_url":"https://api.github.com/users/transcom/orgs","repos_url":"https://api.github.com/users/transcom/repos","events_url":"https://api.github.com/users/transcom/events{/privacy}","received_events_url":"https://api.github.com/users/transcom/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/transcom/mymove","description":"Personal Property Prototype","fork":false,"url":"https://api.github.com/repos/transcom/mymove","forks_url":"https://api.github.com/repos/transcom/mymove/forks","keys_url":"https://api.github.com/repos/transcom/mymove/keys{/key_id}","collaborators_url":"https://api.github.com/repos/transcom/mymove/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/transcom/mymove/teams","hooks_url":"https://api.github.com/repos/transcom/mymove/hooks","issue_events_url":"https://api.github.com/repos/transcom/mymove/issues/events{/number}","events_url":"https://api.github.com/repos/transcom/mymove/events","assignees_url":"https://api.github.com/repos/transcom/mymove/assignees{/user}","branches_url":"https://api.github.com/repos/transcom/mymove/branches{/branch}","tags_url":"https://api.github.com/repos/transcom/mymove/tags","blobs_url":"https://api.github.com/repos/transcom/mymove/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/transcom/mymove/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/transcom/mymove/git/refs{/sha}","trees_url":"https://api.github.com/repos/transcom/mymove/git/trees{/sha}","statuses_url":"https://api.github.com/repos/transcom/mymove/statuses/{sha}","languages_url":"https://api.github.com/repos/transcom/mymove/languages","stargazers_url":"https://api.github.com/repos/transcom/mymove/stargazers","contributors_url":"https://api.github.com/repos/transcom/mymove/contributors","subscribers_url":"https://api.github.com/repos/transcom/mymove/subscribers","subscription_url":"https://api.github.com/repos/transcom/mymove/subscription","commits_url":"https://api.github.com/repos/transcom/mymove/commits{/sha}","git_commits_url":"https://api.github.com/repos/transcom/mymove/git/commits{/sha}","comments_url":"https://api.github.com/repos/transcom/mymove/comments{/number}","issue_comment_url":"https://api.github.com/repos/transcom/mymove/issues/comments{/number}","contents_url":"https://api.github.com/repos/transcom/mymove/contents/{+path}","compare_url":"https://api.github.com/repos/transcom/mymove/compare/{base}...{head}","merges_url":"https://api.github.com/repos/transcom/mymove/merges","archive_url":"https://api.github.com/repos/transcom/mymove/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/transcom/mymove/downloads","issues_url":"https://api.github.com/repos/transcom/mymove/issues{/number}","pulls_url":"https://api.github.com/repos/transcom/mymove/pulls{/number}","milestones_url":"https://api.github.com/repos/transcom/mymove/milestones{/number}","notifications_url":"https://api.github.com/repos/transcom/mymove/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/transcom/mymove/labels{/name}","releases_url":"https://api.github.com/repos/transcom/mymove/releases{/id}","deployments_url":"https://api.github.com/repos/transcom/mymove/deployments","created_at":"2017-12-18T22:41:12Z","updated_at":"2018-10-12T22:22:23Z","pushed_at":"2018-10-12T22:22:25Z","git_url":"git://github.com/transcom/mymove.git","ssh_url":"git@github.com:transcom/mymove.git","clone_url":"https://github.com/transcom/mymove.git","svn_url":"https://github.com/transcom/mymove","homepage":null,"size":28065,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":10,"open_issues":13,"watchers":15,"default_branch":"master"}},"base":{"label":"transcom:master","ref":"master","sha":"e29ad861178ff95a7fed9e4bcca1801ecde6db88","user":{"login":"transcom","id":34352343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzUyMzQz","avatar_url":"https://avatars0.githubusercontent.com/u/34352343?v=4","gravatar_id":"","url":"https://api.github.com/users/transcom","html_url":"https://github.com/transcom","followers_url":"https://api.github.com/users/transcom/followers","following_url":"https://api.github.com/users/transcom/following{/other_user}","gists_url":"https://api.github.com/users/transcom/gists{/gist_id}","starred_url":"https://api.github.com/users/transcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transcom/subscriptions","organizations_url":"https://api.github.com/users/transcom/orgs","repos_url":"https://api.github.com/users/transcom/repos","events_url":"https://api.github.com/users/transcom/events{/privacy}","received_events_url":"https://api.github.com/users/transcom/received_events","type":"Organization","site_admin":false},"repo":{"id":114694829,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQ2OTQ4Mjk=","name":"mymove","full_name":"transcom/mymove","private":false,"owner":{"login":"transcom","id":34352343,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM0MzUyMzQz","avatar_url":"https://avatars0.githubusercontent.com/u/34352343?v=4","gravatar_id":"","url":"https://api.github.com/users/transcom","html_url":"https://github.com/transcom","followers_url":"https://api.github.com/users/transcom/followers","following_url":"https://api.github.com/users/transcom/following{/other_user}","gists_url":"https://api.github.com/users/transcom/gists{/gist_id}","starred_url":"https://api.github.com/users/transcom/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/transcom/subscriptions","organizations_url":"https://api.github.com/users/transcom/orgs","repos_url":"https://api.github.com/users/transcom/repos","events_url":"https://api.github.com/users/transcom/events{/privacy}","received_events_url":"https://api.github.com/users/transcom/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/transcom/mymove","description":"Personal Property Prototype","fork":false,"url":"https://api.github.com/repos/transcom/mymove","forks_url":"https://api.github.com/repos/transcom/mymove/forks","keys_url":"https://api.github.com/repos/transcom/mymove/keys{/key_id}","collaborators_url":"https://api.github.com/repos/transcom/mymove/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/transcom/mymove/teams","hooks_url":"https://api.github.com/repos/transcom/mymove/hooks","issue_events_url":"https://api.github.com/repos/transcom/mymove/issues/events{/number}","events_url":"https://api.github.com/repos/transcom/mymove/events","assignees_url":"https://api.github.com/repos/transcom/mymove/assignees{/user}","branches_url":"https://api.github.com/repos/transcom/mymove/branches{/branch}","tags_url":"https://api.github.com/repos/transcom/mymove/tags","blobs_url":"https://api.github.com/repos/transcom/mymove/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/transcom/mymove/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/transcom/mymove/git/refs{/sha}","trees_url":"https://api.github.com/repos/transcom/mymove/git/trees{/sha}","statuses_url":"https://api.github.com/repos/transcom/mymove/statuses/{sha}","languages_url":"https://api.github.com/repos/transcom/mymove/languages","stargazers_url":"https://api.github.com/repos/transcom/mymove/stargazers","contributors_url":"https://api.github.com/repos/transcom/mymove/contributors","subscribers_url":"https://api.github.com/repos/transcom/mymove/subscribers","subscription_url":"https://api.github.com/repos/transcom/mymove/subscription","commits_url":"https://api.github.com/repos/transcom/mymove/commits{/sha}","git_commits_url":"https://api.github.com/repos/transcom/mymove/git/commits{/sha}","comments_url":"https://api.github.com/repos/transcom/mymove/comments{/number}","issue_comment_url":"https://api.github.com/repos/transcom/mymove/issues/comments{/number}","contents_url":"https://api.github.com/repos/transcom/mymove/contents/{+path}","compare_url":"https://api.github.com/repos/transcom/mymove/compare/{base}...{head}","merges_url":"https://api.github.com/repos/transcom/mymove/merges","archive_url":"https://api.github.com/repos/transcom/mymove/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/transcom/mymove/downloads","issues_url":"https://api.github.com/repos/transcom/mymove/issues{/number}","pulls_url":"https://api.github.com/repos/transcom/mymove/pulls{/number}","milestones_url":"https://api.github.com/repos/transcom/mymove/milestones{/number}","notifications_url":"https://api.github.com/repos/transcom/mymove/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/transcom/mymove/labels{/name}","releases_url":"https://api.github.com/repos/transcom/mymove/releases{/id}","deployments_url":"https://api.github.com/repos/transcom/mymove/deployments","created_at":"2017-12-18T22:41:12Z","updated_at":"2018-10-12T22:22:23Z","pushed_at":"2018-10-12T22:22:25Z","git_url":"git://github.com/transcom/mymove.git","ssh_url":"git@github.com:transcom/mymove.git","clone_url":"https://github.com/transcom/mymove.git","svn_url":"https://github.com/transcom/mymove","homepage":null,"size":28065,"stargazers_count":15,"watchers_count":15,"language":"Go","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":13,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":10,"open_issues":13,"watchers":15,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/transcom/mymove/pulls/1131"},"html":{"href":"https://github.com/transcom/mymove/pull/1131"},"issue":{"href":"https://api.github.com/repos/transcom/mymove/issues/1131"},"comments":{"href":"https://api.github.com/repos/transcom/mymove/issues/1131/comments"},"review_comments":{"href":"https://api.github.com/repos/transcom/mymove/pulls/1131/comments"},"review_comment":{"href":"https://api.github.com/repos/transcom/mymove/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/transcom/mymove/pulls/1131/commits"},"statuses":{"href":"https://api.github.com/repos/transcom/mymove/statuses/9324860f75f4657bc5bd2502d1bfdaca78e8ada6"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"chrisgilmerproj"}}