{"action":"created","comment":{"url":"https://api.github.com/repos/samliebow/interview-noter/pulls/comments/205957279","pull_request_review_id":141331043,"id":205957279,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTk1NzI3OQ==","diff_hunk":"@@ -0,0 +1,41 @@\n+const moment = require('moment');\n+\n+const formatLiveTiRow = row => {\n+  const unwrappedValues = row.map(cell => cell.formattedValue);\n+  const time = moment(unwrappedValues[0], 'MM/DD/YYYY HH:mm:ss').format('MMMM Do YYYY');\n+  const status = unwrappedValues[5];\n+  const prompt = unwrappedValues[10];\n+  return [time, status, prompt].filter(el => el).join(', ');\n+};\n+\n+const processLiveTiData = (data, email) => {\n+  const { result: { sheets: [sheet] } } = data;\n+  const { data: [{ rowData : rows }]} = sheet;\n+  // The sheet has a number of empty rows at the bottom,\n+  // which .filter would needlessly iterate through.","path":"client/components/searchLiveTiHistory.js","position":15,"original_position":15,"commit_id":"956560f85220245972c70db7b89b36434f1bd3be","original_commit_id":"956560f85220245972c70db7b89b36434f1bd3be","user":{"login":"lighthurst","id":1710192,"node_id":"MDQ6VXNlcjE3MTAxOTI=","avatar_url":"https://avatars1.githubusercontent.com/u/1710192?v=4","gravatar_id":"","url":"https://api.github.com/users/lighthurst","html_url":"https://github.com/lighthurst","followers_url":"https://api.github.com/users/lighthurst/followers","following_url":"https://api.github.com/users/lighthurst/following{/other_user}","gists_url":"https://api.github.com/users/lighthurst/gists{/gist_id}","starred_url":"https://api.github.com/users/lighthurst/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lighthurst/subscriptions","organizations_url":"https://api.github.com/users/lighthurst/orgs","repos_url":"https://api.github.com/users/lighthurst/repos","events_url":"https://api.github.com/users/lighthurst/events{/privacy}","received_events_url":"https://api.github.com/users/lighthurst/received_events","type":"User","site_admin":false},"body":"Ah.","created_at":"2018-07-29T00:36:59Z","updated_at":"2018-07-29T00:37:00Z","html_url":"https://github.com/samliebow/interview-noter/pull/3#discussion_r205957279","pull_request_url":"https://api.github.com/repos/samliebow/interview-noter/pulls/3","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/samliebow/interview-noter/pulls/comments/205957279"},"html":{"href":"https://github.com/samliebow/interview-noter/pull/3#discussion_r205957279"},"pull_request":{"href":"https://api.github.com/repos/samliebow/interview-noter/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/samliebow/interview-noter/pulls/3","id":204616093,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NjE2MDkz","html_url":"https://github.com/samliebow/interview-noter/pull/3","diff_url":"https://github.com/samliebow/interview-noter/pull/3.diff","patch_url":"https://github.com/samliebow/interview-noter/pull/3.patch","issue_url":"https://api.github.com/repos/samliebow/interview-noter/issues/3","number":3,"state":"open","locked":false,"title":"Display all past interviews and simplify prompt creation","user":{"login":"samliebow","id":35473897,"node_id":"MDQ6VXNlcjM1NDczODk3","avatar_url":"https://avatars1.githubusercontent.com/u/35473897?v=4","gravatar_id":"","url":"https://api.github.com/users/samliebow","html_url":"https://github.com/samliebow","followers_url":"https://api.github.com/users/samliebow/followers","following_url":"https://api.github.com/users/samliebow/following{/other_user}","gists_url":"https://api.github.com/users/samliebow/gists{/gist_id}","starred_url":"https://api.github.com/users/samliebow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samliebow/subscriptions","organizations_url":"https://api.github.com/users/samliebow/orgs","repos_url":"https://api.github.com/users/samliebow/repos","events_url":"https://api.github.com/users/samliebow/events{/privacy}","received_events_url":"https://api.github.com/users/samliebow/received_events","type":"User","site_admin":false},"body":"Two major updates in this pull request:\r\n1. On login, the app pulls the active decisions spreadsheet (which contains interview records since 6/27/18) and displays the dates, prompts, and results of any previous interviews by the candidate. It also suggests which of the prompts to use based on that information.\r\n2. When the user chooses a prompt, the app automatically finds the current month's interview records folder and places the prompt copy there.\r\n\r\nNon-functional changes:\r\n1. Moving search of static TI file into its own component (from Steps).\r\n2. Changing the Steps script to reflect the new workflow.","created_at":"2018-07-28T23:43:29Z","updated_at":"2018-07-29T00:37:00Z","closed_at":null,"merged_at":null,"merge_commit_sha":"db1a7b4745e5f248643ad016d24b8e3d64c447f6","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/samliebow/interview-noter/pulls/3/commits","review_comments_url":"https://api.github.com/repos/samliebow/interview-noter/pulls/3/comments","review_comment_url":"https://api.github.com/repos/samliebow/interview-noter/pulls/comments{/number}","comments_url":"https://api.github.com/repos/samliebow/interview-noter/issues/3/comments","statuses_url":"https://api.github.com/repos/samliebow/interview-noter/statuses/956560f85220245972c70db7b89b36434f1bd3be","head":{"label":"samliebow:sheets","ref":"sheets","sha":"956560f85220245972c70db7b89b36434f1bd3be","user":{"login":"samliebow","id":35473897,"node_id":"MDQ6VXNlcjM1NDczODk3","avatar_url":"https://avatars1.githubusercontent.com/u/35473897?v=4","gravatar_id":"","url":"https://api.github.com/users/samliebow","html_url":"https://github.com/samliebow","followers_url":"https://api.github.com/users/samliebow/followers","following_url":"https://api.github.com/users/samliebow/following{/other_user}","gists_url":"https://api.github.com/users/samliebow/gists{/gist_id}","starred_url":"https://api.github.com/users/samliebow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samliebow/subscriptions","organizations_url":"https://api.github.com/users/samliebow/orgs","repos_url":"https://api.github.com/users/samliebow/repos","events_url":"https://api.github.com/users/samliebow/events{/privacy}","received_events_url":"https://api.github.com/users/samliebow/received_events","type":"User","site_admin":false},"repo":{"id":141320341,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzMjAzNDE=","name":"interview-noter","full_name":"samliebow/interview-noter","owner":{"login":"samliebow","id":35473897,"node_id":"MDQ6VXNlcjM1NDczODk3","avatar_url":"https://avatars1.githubusercontent.com/u/35473897?v=4","gravatar_id":"","url":"https://api.github.com/users/samliebow","html_url":"https://github.com/samliebow","followers_url":"https://api.github.com/users/samliebow/followers","following_url":"https://api.github.com/users/samliebow/following{/other_user}","gists_url":"https://api.github.com/users/samliebow/gists{/gist_id}","starred_url":"https://api.github.com/users/samliebow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samliebow/subscriptions","organizations_url":"https://api.github.com/users/samliebow/orgs","repos_url":"https://api.github.com/users/samliebow/repos","events_url":"https://api.github.com/users/samliebow/events{/privacy}","received_events_url":"https://api.github.com/users/samliebow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samliebow/interview-noter","description":"A tool to streamline workflow for Hack Reactor technical interviews","fork":false,"url":"https://api.github.com/repos/samliebow/interview-noter","forks_url":"https://api.github.com/repos/samliebow/interview-noter/forks","keys_url":"https://api.github.com/repos/samliebow/interview-noter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samliebow/interview-noter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samliebow/interview-noter/teams","hooks_url":"https://api.github.com/repos/samliebow/interview-noter/hooks","issue_events_url":"https://api.github.com/repos/samliebow/interview-noter/issues/events{/number}","events_url":"https://api.github.com/repos/samliebow/interview-noter/events","assignees_url":"https://api.github.com/repos/samliebow/interview-noter/assignees{/user}","branches_url":"https://api.github.com/repos/samliebow/interview-noter/branches{/branch}","tags_url":"https://api.github.com/repos/samliebow/interview-noter/tags","blobs_url":"https://api.github.com/repos/samliebow/interview-noter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samliebow/interview-noter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samliebow/interview-noter/git/refs{/sha}","trees_url":"https://api.github.com/repos/samliebow/interview-noter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samliebow/interview-noter/statuses/{sha}","languages_url":"https://api.github.com/repos/samliebow/interview-noter/languages","stargazers_url":"https://api.github.com/repos/samliebow/interview-noter/stargazers","contributors_url":"https://api.github.com/repos/samliebow/interview-noter/contributors","subscribers_url":"https://api.github.com/repos/samliebow/interview-noter/subscribers","subscription_url":"https://api.github.com/repos/samliebow/interview-noter/subscription","commits_url":"https://api.github.com/repos/samliebow/interview-noter/commits{/sha}","git_commits_url":"https://api.github.com/repos/samliebow/interview-noter/git/commits{/sha}","comments_url":"https://api.github.com/repos/samliebow/interview-noter/comments{/number}","issue_comment_url":"https://api.github.com/repos/samliebow/interview-noter/issues/comments{/number}","contents_url":"https://api.github.com/repos/samliebow/interview-noter/contents/{+path}","compare_url":"https://api.github.com/repos/samliebow/interview-noter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samliebow/interview-noter/merges","archive_url":"https://api.github.com/repos/samliebow/interview-noter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samliebow/interview-noter/downloads","issues_url":"https://api.github.com/repos/samliebow/interview-noter/issues{/number}","pulls_url":"https://api.github.com/repos/samliebow/interview-noter/pulls{/number}","milestones_url":"https://api.github.com/repos/samliebow/interview-noter/milestones{/number}","notifications_url":"https://api.github.com/repos/samliebow/interview-noter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samliebow/interview-noter/labels{/name}","releases_url":"https://api.github.com/repos/samliebow/interview-noter/releases{/id}","deployments_url":"https://api.github.com/repos/samliebow/interview-noter/deployments","created_at":"2018-07-17T17:11:17Z","updated_at":"2018-07-27T23:08:09Z","pushed_at":"2018-07-29T00:02:19Z","git_url":"git://github.com/samliebow/interview-noter.git","ssh_url":"git@github.com:samliebow/interview-noter.git","clone_url":"https://github.com/samliebow/interview-noter.git","svn_url":"https://github.com/samliebow/interview-noter","homepage":null,"size":289,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"samliebow:master","ref":"master","sha":"1a2fb63b99aa5b8def98fb59fbf1bd54a8f9e310","user":{"login":"samliebow","id":35473897,"node_id":"MDQ6VXNlcjM1NDczODk3","avatar_url":"https://avatars1.githubusercontent.com/u/35473897?v=4","gravatar_id":"","url":"https://api.github.com/users/samliebow","html_url":"https://github.com/samliebow","followers_url":"https://api.github.com/users/samliebow/followers","following_url":"https://api.github.com/users/samliebow/following{/other_user}","gists_url":"https://api.github.com/users/samliebow/gists{/gist_id}","starred_url":"https://api.github.com/users/samliebow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samliebow/subscriptions","organizations_url":"https://api.github.com/users/samliebow/orgs","repos_url":"https://api.github.com/users/samliebow/repos","events_url":"https://api.github.com/users/samliebow/events{/privacy}","received_events_url":"https://api.github.com/users/samliebow/received_events","type":"User","site_admin":false},"repo":{"id":141320341,"node_id":"MDEwOlJlcG9zaXRvcnkxNDEzMjAzNDE=","name":"interview-noter","full_name":"samliebow/interview-noter","owner":{"login":"samliebow","id":35473897,"node_id":"MDQ6VXNlcjM1NDczODk3","avatar_url":"https://avatars1.githubusercontent.com/u/35473897?v=4","gravatar_id":"","url":"https://api.github.com/users/samliebow","html_url":"https://github.com/samliebow","followers_url":"https://api.github.com/users/samliebow/followers","following_url":"https://api.github.com/users/samliebow/following{/other_user}","gists_url":"https://api.github.com/users/samliebow/gists{/gist_id}","starred_url":"https://api.github.com/users/samliebow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/samliebow/subscriptions","organizations_url":"https://api.github.com/users/samliebow/orgs","repos_url":"https://api.github.com/users/samliebow/repos","events_url":"https://api.github.com/users/samliebow/events{/privacy}","received_events_url":"https://api.github.com/users/samliebow/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/samliebow/interview-noter","description":"A tool to streamline workflow for Hack Reactor technical interviews","fork":false,"url":"https://api.github.com/repos/samliebow/interview-noter","forks_url":"https://api.github.com/repos/samliebow/interview-noter/forks","keys_url":"https://api.github.com/repos/samliebow/interview-noter/keys{/key_id}","collaborators_url":"https://api.github.com/repos/samliebow/interview-noter/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/samliebow/interview-noter/teams","hooks_url":"https://api.github.com/repos/samliebow/interview-noter/hooks","issue_events_url":"https://api.github.com/repos/samliebow/interview-noter/issues/events{/number}","events_url":"https://api.github.com/repos/samliebow/interview-noter/events","assignees_url":"https://api.github.com/repos/samliebow/interview-noter/assignees{/user}","branches_url":"https://api.github.com/repos/samliebow/interview-noter/branches{/branch}","tags_url":"https://api.github.com/repos/samliebow/interview-noter/tags","blobs_url":"https://api.github.com/repos/samliebow/interview-noter/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/samliebow/interview-noter/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/samliebow/interview-noter/git/refs{/sha}","trees_url":"https://api.github.com/repos/samliebow/interview-noter/git/trees{/sha}","statuses_url":"https://api.github.com/repos/samliebow/interview-noter/statuses/{sha}","languages_url":"https://api.github.com/repos/samliebow/interview-noter/languages","stargazers_url":"https://api.github.com/repos/samliebow/interview-noter/stargazers","contributors_url":"https://api.github.com/repos/samliebow/interview-noter/contributors","subscribers_url":"https://api.github.com/repos/samliebow/interview-noter/subscribers","subscription_url":"https://api.github.com/repos/samliebow/interview-noter/subscription","commits_url":"https://api.github.com/repos/samliebow/interview-noter/commits{/sha}","git_commits_url":"https://api.github.com/repos/samliebow/interview-noter/git/commits{/sha}","comments_url":"https://api.github.com/repos/samliebow/interview-noter/comments{/number}","issue_comment_url":"https://api.github.com/repos/samliebow/interview-noter/issues/comments{/number}","contents_url":"https://api.github.com/repos/samliebow/interview-noter/contents/{+path}","compare_url":"https://api.github.com/repos/samliebow/interview-noter/compare/{base}...{head}","merges_url":"https://api.github.com/repos/samliebow/interview-noter/merges","archive_url":"https://api.github.com/repos/samliebow/interview-noter/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/samliebow/interview-noter/downloads","issues_url":"https://api.github.com/repos/samliebow/interview-noter/issues{/number}","pulls_url":"https://api.github.com/repos/samliebow/interview-noter/pulls{/number}","milestones_url":"https://api.github.com/repos/samliebow/interview-noter/milestones{/number}","notifications_url":"https://api.github.com/repos/samliebow/interview-noter/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/samliebow/interview-noter/labels{/name}","releases_url":"https://api.github.com/repos/samliebow/interview-noter/releases{/id}","deployments_url":"https://api.github.com/repos/samliebow/interview-noter/deployments","created_at":"2018-07-17T17:11:17Z","updated_at":"2018-07-27T23:08:09Z","pushed_at":"2018-07-29T00:02:19Z","git_url":"git://github.com/samliebow/interview-noter.git","ssh_url":"git@github.com:samliebow/interview-noter.git","clone_url":"https://github.com/samliebow/interview-noter.git","svn_url":"https://github.com/samliebow/interview-noter","homepage":null,"size":289,"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":0,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/samliebow/interview-noter/pulls/3"},"html":{"href":"https://github.com/samliebow/interview-noter/pull/3"},"issue":{"href":"https://api.github.com/repos/samliebow/interview-noter/issues/3"},"comments":{"href":"https://api.github.com/repos/samliebow/interview-noter/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/samliebow/interview-noter/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/samliebow/interview-noter/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/samliebow/interview-noter/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/samliebow/interview-noter/statuses/956560f85220245972c70db7b89b36434f1bd3be"}},"author_association":"OWNER"}}
{"actor":{"display_login":"lighthurst"}}