{"action":"created","comment":{"url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/comments/137584576","pull_request_review_id":61272678,"id":137584576,"diff_hunk":"@@ -125,4 +129,66 @@ describe(\"IdeaGenerationLowerThird component\", () => {\n       expect(lowerThird.props().displayContents).to.eql(true)\n     })\n   })\n+\n+  context(\"when the stage is voting\", () => {\n+    it(\"does not render IdeaSubmissionForm\", () => {\n+      const lowerThird = shallow(\n+        <IdeaGenerationLowerThird\n+          {...defaultProps}\n+          stage={votingStage}\n+        />\n+      )\n+\n+      expect(lowerThird.find(IdeaSubmissionForm)).to.have.length(0)\n+    })\n+\n+    it(\"renders 5 Votes Left for a user that hasn't voted yet\", () => {\n+      const lowerThird = shallow(\n+        <IdeaGenerationLowerThird\n+          {...defaultProps}\n+          stage={votingStage}\n+        />\n+      )\n+\n+      const votesLeft = lowerThird.find(\".thirteen\")\n+\n+      expect(votesLeft.text()).to.equal(\"5 Votes Left\")\n+    })\n+\n+    it(\"renders the Votes Left for the currentUser\", () => {\n+      const userWithFiveVotes = {\n+        is_facilitator: false,\n+        vote_count: voteMax,\n+      }\n+      const lowerThird = shallow(\n+        <IdeaGenerationLowerThird\n+          {...defaultProps}\n+          stage={votingStage}\n+          currentUser={userWithFiveVotes}\n+        />\n+      )\n+\n+      const votesLeft = lowerThird.find(\".thirteen\")\n+\n+      expect(votesLeft.text()).to.equal(\"0 Votes Left\")\n+    })\n+\n+    it(\"renders singular Vote if the user has one vote left\", () => {","path":"test/components/idea_generation_lower_third_test.js","position":63,"original_position":63,"commit_id":"1d60eb4c1c4792a7a7586cf3b15958ecb3ddfdcb","original_commit_id":"1d60eb4c1c4792a7a7586cf3b15958ecb3ddfdcb","user":{"login":"vanderhoop","id":4386645,"avatar_url":"https://avatars1.githubusercontent.com/u/4386645?v=4","gravatar_id":"","url":"https://api.github.com/users/vanderhoop","html_url":"https://github.com/vanderhoop","followers_url":"https://api.github.com/users/vanderhoop/followers","following_url":"https://api.github.com/users/vanderhoop/following{/other_user}","gists_url":"https://api.github.com/users/vanderhoop/gists{/gist_id}","starred_url":"https://api.github.com/users/vanderhoop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vanderhoop/subscriptions","organizations_url":"https://api.github.com/users/vanderhoop/orgs","repos_url":"https://api.github.com/users/vanderhoop/repos","events_url":"https://api.github.com/users/vanderhoop/events{/privacy}","received_events_url":"https://api.github.com/users/vanderhoop/received_events","type":"User","site_admin":false},"body":"Nice thinking here, but it the dynamic pluralization/singularization is a bit distracting in that the width of the text changes here. Let's kill this functionality and just have static text that says \"Vote(s) Left\"","created_at":"2017-09-07T16:09:35Z","updated_at":"2017-09-07T16:09:35Z","html_url":"https://github.com/stride-nyc/remote_retro/pull/273#discussion_r137584576","pull_request_url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/comments/137584576"},"html":{"href":"https://github.com/stride-nyc/remote_retro/pull/273#discussion_r137584576"},"pull_request":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273"}}},"pull_request":{"url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273","id":139400285,"html_url":"https://github.com/stride-nyc/remote_retro/pull/273","diff_url":"https://github.com/stride-nyc/remote_retro/pull/273.diff","patch_url":"https://github.com/stride-nyc/remote_retro/pull/273.patch","issue_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues/273","number":273,"state":"open","locked":false,"title":"Feature/display number of votes left for participant","user":{"login":"qlaire","id":12402436,"avatar_url":"https://avatars0.githubusercontent.com/u/12402436?v=4","gravatar_id":"","url":"https://api.github.com/users/qlaire","html_url":"https://github.com/qlaire","followers_url":"https://api.github.com/users/qlaire/followers","following_url":"https://api.github.com/users/qlaire/following{/other_user}","gists_url":"https://api.github.com/users/qlaire/gists{/gist_id}","starred_url":"https://api.github.com/users/qlaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/qlaire/subscriptions","organizations_url":"https://api.github.com/users/qlaire/orgs","repos_url":"https://api.github.com/users/qlaire/repos","events_url":"https://api.github.com/users/qlaire/events{/privacy}","received_events_url":"https://api.github.com/users/qlaire/received_events","type":"User","site_admin":false},"body":"__Description of Change(s) Introduced:__ lower third is replaced with votes left message during voting stage\r\n\r\n__Description of Testing Applied:__ front end tests for conditional rendering of votes left message\r\n\r\n__Relevant github Issue:__ \r\n\r\n- #269 \r\n","created_at":"2017-09-05T19:18:43Z","updated_at":"2017-09-07T16:09:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fee80b5dcd2ca1549229fc327d2c9245959393cc","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273/commits","review_comments_url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273/comments","review_comment_url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/comments{/number}","comments_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues/273/comments","statuses_url":"https://api.github.com/repos/stride-nyc/remote_retro/statuses/1d60eb4c1c4792a7a7586cf3b15958ecb3ddfdcb","head":{"label":"stride-nyc:feature/display-number-of-votes-left-for-participant","ref":"feature/display-number-of-votes-left-for-participant","sha":"1d60eb4c1c4792a7a7586cf3b15958ecb3ddfdcb","user":{"login":"stride-nyc","id":8702428,"avatar_url":"https://avatars3.githubusercontent.com/u/8702428?v=4","gravatar_id":"","url":"https://api.github.com/users/stride-nyc","html_url":"https://github.com/stride-nyc","followers_url":"https://api.github.com/users/stride-nyc/followers","following_url":"https://api.github.com/users/stride-nyc/following{/other_user}","gists_url":"https://api.github.com/users/stride-nyc/gists{/gist_id}","starred_url":"https://api.github.com/users/stride-nyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stride-nyc/subscriptions","organizations_url":"https://api.github.com/users/stride-nyc/orgs","repos_url":"https://api.github.com/users/stride-nyc/repos","events_url":"https://api.github.com/users/stride-nyc/events{/privacy}","received_events_url":"https://api.github.com/users/stride-nyc/received_events","type":"Organization","site_admin":false},"repo":{"id":76188623,"name":"remote_retro","full_name":"stride-nyc/remote_retro","owner":{"login":"stride-nyc","id":8702428,"avatar_url":"https://avatars3.githubusercontent.com/u/8702428?v=4","gravatar_id":"","url":"https://api.github.com/users/stride-nyc","html_url":"https://github.com/stride-nyc","followers_url":"https://api.github.com/users/stride-nyc/followers","following_url":"https://api.github.com/users/stride-nyc/following{/other_user}","gists_url":"https://api.github.com/users/stride-nyc/gists{/gist_id}","starred_url":"https://api.github.com/users/stride-nyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stride-nyc/subscriptions","organizations_url":"https://api.github.com/users/stride-nyc/orgs","repos_url":"https://api.github.com/users/stride-nyc/repos","events_url":"https://api.github.com/users/stride-nyc/events{/privacy}","received_events_url":"https://api.github.com/users/stride-nyc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stride-nyc/remote_retro","description":"A real-time application for conducting Agile retrospectives ","fork":false,"url":"https://api.github.com/repos/stride-nyc/remote_retro","forks_url":"https://api.github.com/repos/stride-nyc/remote_retro/forks","keys_url":"https://api.github.com/repos/stride-nyc/remote_retro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stride-nyc/remote_retro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stride-nyc/remote_retro/teams","hooks_url":"https://api.github.com/repos/stride-nyc/remote_retro/hooks","issue_events_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues/events{/number}","events_url":"https://api.github.com/repos/stride-nyc/remote_retro/events","assignees_url":"https://api.github.com/repos/stride-nyc/remote_retro/assignees{/user}","branches_url":"https://api.github.com/repos/stride-nyc/remote_retro/branches{/branch}","tags_url":"https://api.github.com/repos/stride-nyc/remote_retro/tags","blobs_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/refs{/sha}","trees_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stride-nyc/remote_retro/statuses/{sha}","languages_url":"https://api.github.com/repos/stride-nyc/remote_retro/languages","stargazers_url":"https://api.github.com/repos/stride-nyc/remote_retro/stargazers","contributors_url":"https://api.github.com/repos/stride-nyc/remote_retro/contributors","subscribers_url":"https://api.github.com/repos/stride-nyc/remote_retro/subscribers","subscription_url":"https://api.github.com/repos/stride-nyc/remote_retro/subscription","commits_url":"https://api.github.com/repos/stride-nyc/remote_retro/commits{/sha}","git_commits_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/commits{/sha}","comments_url":"https://api.github.com/repos/stride-nyc/remote_retro/comments{/number}","issue_comment_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues/comments{/number}","contents_url":"https://api.github.com/repos/stride-nyc/remote_retro/contents/{+path}","compare_url":"https://api.github.com/repos/stride-nyc/remote_retro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stride-nyc/remote_retro/merges","archive_url":"https://api.github.com/repos/stride-nyc/remote_retro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stride-nyc/remote_retro/downloads","issues_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues{/number}","pulls_url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls{/number}","milestones_url":"https://api.github.com/repos/stride-nyc/remote_retro/milestones{/number}","notifications_url":"https://api.github.com/repos/stride-nyc/remote_retro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stride-nyc/remote_retro/labels{/name}","releases_url":"https://api.github.com/repos/stride-nyc/remote_retro/releases{/id}","deployments_url":"https://api.github.com/repos/stride-nyc/remote_retro/deployments","created_at":"2016-12-11T17:21:02Z","updated_at":"2017-08-13T13:49:29Z","pushed_at":"2017-09-07T15:23:45Z","git_url":"git://github.com/stride-nyc/remote_retro.git","ssh_url":"git@github.com:stride-nyc/remote_retro.git","clone_url":"https://github.com/stride-nyc/remote_retro.git","svn_url":"https://github.com/stride-nyc/remote_retro","homepage":"https://remoteretro.herokuapp.com/","size":2634,"stargazers_count":75,"watchers_count":75,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":71,"forks":15,"open_issues":71,"watchers":75,"default_branch":"master"}},"base":{"label":"stride-nyc:master","ref":"master","sha":"eddec718ba5cb59a42e64a21bda2723dc0b0834f","user":{"login":"stride-nyc","id":8702428,"avatar_url":"https://avatars3.githubusercontent.com/u/8702428?v=4","gravatar_id":"","url":"https://api.github.com/users/stride-nyc","html_url":"https://github.com/stride-nyc","followers_url":"https://api.github.com/users/stride-nyc/followers","following_url":"https://api.github.com/users/stride-nyc/following{/other_user}","gists_url":"https://api.github.com/users/stride-nyc/gists{/gist_id}","starred_url":"https://api.github.com/users/stride-nyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stride-nyc/subscriptions","organizations_url":"https://api.github.com/users/stride-nyc/orgs","repos_url":"https://api.github.com/users/stride-nyc/repos","events_url":"https://api.github.com/users/stride-nyc/events{/privacy}","received_events_url":"https://api.github.com/users/stride-nyc/received_events","type":"Organization","site_admin":false},"repo":{"id":76188623,"name":"remote_retro","full_name":"stride-nyc/remote_retro","owner":{"login":"stride-nyc","id":8702428,"avatar_url":"https://avatars3.githubusercontent.com/u/8702428?v=4","gravatar_id":"","url":"https://api.github.com/users/stride-nyc","html_url":"https://github.com/stride-nyc","followers_url":"https://api.github.com/users/stride-nyc/followers","following_url":"https://api.github.com/users/stride-nyc/following{/other_user}","gists_url":"https://api.github.com/users/stride-nyc/gists{/gist_id}","starred_url":"https://api.github.com/users/stride-nyc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stride-nyc/subscriptions","organizations_url":"https://api.github.com/users/stride-nyc/orgs","repos_url":"https://api.github.com/users/stride-nyc/repos","events_url":"https://api.github.com/users/stride-nyc/events{/privacy}","received_events_url":"https://api.github.com/users/stride-nyc/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/stride-nyc/remote_retro","description":"A real-time application for conducting Agile retrospectives ","fork":false,"url":"https://api.github.com/repos/stride-nyc/remote_retro","forks_url":"https://api.github.com/repos/stride-nyc/remote_retro/forks","keys_url":"https://api.github.com/repos/stride-nyc/remote_retro/keys{/key_id}","collaborators_url":"https://api.github.com/repos/stride-nyc/remote_retro/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/stride-nyc/remote_retro/teams","hooks_url":"https://api.github.com/repos/stride-nyc/remote_retro/hooks","issue_events_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues/events{/number}","events_url":"https://api.github.com/repos/stride-nyc/remote_retro/events","assignees_url":"https://api.github.com/repos/stride-nyc/remote_retro/assignees{/user}","branches_url":"https://api.github.com/repos/stride-nyc/remote_retro/branches{/branch}","tags_url":"https://api.github.com/repos/stride-nyc/remote_retro/tags","blobs_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/refs{/sha}","trees_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/trees{/sha}","statuses_url":"https://api.github.com/repos/stride-nyc/remote_retro/statuses/{sha}","languages_url":"https://api.github.com/repos/stride-nyc/remote_retro/languages","stargazers_url":"https://api.github.com/repos/stride-nyc/remote_retro/stargazers","contributors_url":"https://api.github.com/repos/stride-nyc/remote_retro/contributors","subscribers_url":"https://api.github.com/repos/stride-nyc/remote_retro/subscribers","subscription_url":"https://api.github.com/repos/stride-nyc/remote_retro/subscription","commits_url":"https://api.github.com/repos/stride-nyc/remote_retro/commits{/sha}","git_commits_url":"https://api.github.com/repos/stride-nyc/remote_retro/git/commits{/sha}","comments_url":"https://api.github.com/repos/stride-nyc/remote_retro/comments{/number}","issue_comment_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues/comments{/number}","contents_url":"https://api.github.com/repos/stride-nyc/remote_retro/contents/{+path}","compare_url":"https://api.github.com/repos/stride-nyc/remote_retro/compare/{base}...{head}","merges_url":"https://api.github.com/repos/stride-nyc/remote_retro/merges","archive_url":"https://api.github.com/repos/stride-nyc/remote_retro/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/stride-nyc/remote_retro/downloads","issues_url":"https://api.github.com/repos/stride-nyc/remote_retro/issues{/number}","pulls_url":"https://api.github.com/repos/stride-nyc/remote_retro/pulls{/number}","milestones_url":"https://api.github.com/repos/stride-nyc/remote_retro/milestones{/number}","notifications_url":"https://api.github.com/repos/stride-nyc/remote_retro/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/stride-nyc/remote_retro/labels{/name}","releases_url":"https://api.github.com/repos/stride-nyc/remote_retro/releases{/id}","deployments_url":"https://api.github.com/repos/stride-nyc/remote_retro/deployments","created_at":"2016-12-11T17:21:02Z","updated_at":"2017-08-13T13:49:29Z","pushed_at":"2017-09-07T15:23:45Z","git_url":"git://github.com/stride-nyc/remote_retro.git","ssh_url":"git@github.com:stride-nyc/remote_retro.git","clone_url":"https://github.com/stride-nyc/remote_retro.git","svn_url":"https://github.com/stride-nyc/remote_retro","homepage":"https://remoteretro.herokuapp.com/","size":2634,"stargazers_count":75,"watchers_count":75,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"open_issues_count":71,"forks":15,"open_issues":71,"watchers":75,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273"},"html":{"href":"https://github.com/stride-nyc/remote_retro/pull/273"},"issue":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/issues/273"},"comments":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/issues/273/comments"},"review_comments":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273/comments"},"review_comment":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/pulls/273/commits"},"statuses":{"href":"https://api.github.com/repos/stride-nyc/remote_retro/statuses/1d60eb4c1c4792a7a7586cf3b15958ecb3ddfdcb"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vanderhoop"}}