{"action":"created","comment":{"url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/comments/94598810","pull_request_review_id":15127538,"id":94598810,"diff_hunk":"@@ -12,6 +13,9 @@ export class HistoryStore {\n \n     addElement(elem: HistoryElement) {\n         elem.internalTime = new Date().getTime();\n+        if (elem.value != null) {\n+            elem.value = elem.value.slice(0, MAX_VALUE_SIZE);","path":"src/history.ts","position":16,"original_position":16,"commit_id":"1e97ac98dd35deb23b60438fd7e0ce4374099b95","original_commit_id":"a6298155c5a25d9677cbc011298cbd78c8b00fa0","user":{"login":"olamothe","id":1591893,"avatar_url":"https://avatars.githubusercontent.com/u/1591893?v=3","gravatar_id":"","url":"https://api.github.com/users/olamothe","html_url":"https://github.com/olamothe","followers_url":"https://api.github.com/users/olamothe/followers","following_url":"https://api.github.com/users/olamothe/following{/other_user}","gists_url":"https://api.github.com/users/olamothe/gists{/gist_id}","starred_url":"https://api.github.com/users/olamothe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olamothe/subscriptions","organizations_url":"https://api.github.com/users/olamothe/orgs","repos_url":"https://api.github.com/users/olamothe/repos","events_url":"https://api.github.com/users/olamothe/events{/privacy}","received_events_url":"https://api.github.com/users/olamothe/received_events","type":"User","site_admin":false},"body":"Any value that gets over 75 char will be trimmed (page view or search)","created_at":"2017-01-04T15:08:30Z","updated_at":"2017-01-04T15:22:49Z","html_url":"https://github.com/coveo/coveo.analytics.js/pull/146#discussion_r94598810","pull_request_url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/comments/94598810"},"html":{"href":"https://github.com/coveo/coveo.analytics.js/pull/146#discussion_r94598810"},"pull_request":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146","id":100129286,"html_url":"https://github.com/coveo/coveo.analytics.js/pull/146","diff_url":"https://github.com/coveo/coveo.analytics.js/pull/146.diff","patch_url":"https://github.com/coveo/coveo.analytics.js/pull/146.patch","issue_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/146","number":146,"state":"open","locked":false,"title":"Reduce cookie size.","user":{"login":"olamothe","id":1591893,"avatar_url":"https://avatars.githubusercontent.com/u/1591893?v=3","gravatar_id":"","url":"https://api.github.com/users/olamothe","html_url":"https://github.com/olamothe","followers_url":"https://api.github.com/users/olamothe/followers","following_url":"https://api.github.com/users/olamothe/following{/other_user}","gists_url":"https://api.github.com/users/olamothe/gists{/gist_id}","starred_url":"https://api.github.com/users/olamothe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/olamothe/subscriptions","organizations_url":"https://api.github.com/users/olamothe/orgs","repos_url":"https://api.github.com/users/olamothe/repos","events_url":"https://api.github.com/users/olamothe/events{/privacy}","received_events_url":"https://api.github.com/users/olamothe/received_events","type":"User","site_admin":false},"body":"Reduce the history size to 10 max.\r\nKeep less data for URL\r\nTrim values to 75 max char.\r\n\r\nSee : https://coveord.atlassian.net/browse/UA-1938","created_at":"2017-01-04T15:02:57Z","updated_at":"2017-01-04T15:22:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"be7776e90c7171bb532323555478fb098c0b17e5","assignee":{"login":"pastjean","id":140675,"avatar_url":"https://avatars.githubusercontent.com/u/140675?v=3","gravatar_id":"","url":"https://api.github.com/users/pastjean","html_url":"https://github.com/pastjean","followers_url":"https://api.github.com/users/pastjean/followers","following_url":"https://api.github.com/users/pastjean/following{/other_user}","gists_url":"https://api.github.com/users/pastjean/gists{/gist_id}","starred_url":"https://api.github.com/users/pastjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pastjean/subscriptions","organizations_url":"https://api.github.com/users/pastjean/orgs","repos_url":"https://api.github.com/users/pastjean/repos","events_url":"https://api.github.com/users/pastjean/events{/privacy}","received_events_url":"https://api.github.com/users/pastjean/received_events","type":"User","site_admin":false},"assignees":[{"login":"pastjean","id":140675,"avatar_url":"https://avatars.githubusercontent.com/u/140675?v=3","gravatar_id":"","url":"https://api.github.com/users/pastjean","html_url":"https://github.com/pastjean","followers_url":"https://api.github.com/users/pastjean/followers","following_url":"https://api.github.com/users/pastjean/following{/other_user}","gists_url":"https://api.github.com/users/pastjean/gists{/gist_id}","starred_url":"https://api.github.com/users/pastjean/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pastjean/subscriptions","organizations_url":"https://api.github.com/users/pastjean/orgs","repos_url":"https://api.github.com/users/pastjean/repos","events_url":"https://api.github.com/users/pastjean/events{/privacy}","received_events_url":"https://api.github.com/users/pastjean/received_events","type":"User","site_admin":false},{"login":"jrochette","id":2339610,"avatar_url":"https://avatars.githubusercontent.com/u/2339610?v=3","gravatar_id":"","url":"https://api.github.com/users/jrochette","html_url":"https://github.com/jrochette","followers_url":"https://api.github.com/users/jrochette/followers","following_url":"https://api.github.com/users/jrochette/following{/other_user}","gists_url":"https://api.github.com/users/jrochette/gists{/gist_id}","starred_url":"https://api.github.com/users/jrochette/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrochette/subscriptions","organizations_url":"https://api.github.com/users/jrochette/orgs","repos_url":"https://api.github.com/users/jrochette/repos","events_url":"https://api.github.com/users/jrochette/events{/privacy}","received_events_url":"https://api.github.com/users/jrochette/received_events","type":"User","site_admin":false},{"login":"paquetse","id":6663465,"avatar_url":"https://avatars.githubusercontent.com/u/6663465?v=3","gravatar_id":"","url":"https://api.github.com/users/paquetse","html_url":"https://github.com/paquetse","followers_url":"https://api.github.com/users/paquetse/followers","following_url":"https://api.github.com/users/paquetse/following{/other_user}","gists_url":"https://api.github.com/users/paquetse/gists{/gist_id}","starred_url":"https://api.github.com/users/paquetse/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/paquetse/subscriptions","organizations_url":"https://api.github.com/users/paquetse/orgs","repos_url":"https://api.github.com/users/paquetse/repos","events_url":"https://api.github.com/users/paquetse/events{/privacy}","received_events_url":"https://api.github.com/users/paquetse/received_events","type":"User","site_admin":false},{"login":"francoislg","id":8355585,"avatar_url":"https://avatars.githubusercontent.com/u/8355585?v=3","gravatar_id":"","url":"https://api.github.com/users/francoislg","html_url":"https://github.com/francoislg","followers_url":"https://api.github.com/users/francoislg/followers","following_url":"https://api.github.com/users/francoislg/following{/other_user}","gists_url":"https://api.github.com/users/francoislg/gists{/gist_id}","starred_url":"https://api.github.com/users/francoislg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoislg/subscriptions","organizations_url":"https://api.github.com/users/francoislg/orgs","repos_url":"https://api.github.com/users/francoislg/repos","events_url":"https://api.github.com/users/francoislg/events{/privacy}","received_events_url":"https://api.github.com/users/francoislg/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146/commits","review_comments_url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146/comments","review_comment_url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/comments{/number}","comments_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/146/comments","statuses_url":"https://api.github.com/repos/coveo/coveo.analytics.js/statuses/1e97ac98dd35deb23b60438fd7e0ce4374099b95","head":{"label":"coveo:reduce-cookie-size","ref":"reduce-cookie-size","sha":"1e97ac98dd35deb23b60438fd7e0ce4374099b95","user":{"login":"coveo","id":8632328,"avatar_url":"https://avatars.githubusercontent.com/u/8632328?v=3","gravatar_id":"","url":"https://api.github.com/users/coveo","html_url":"https://github.com/coveo","followers_url":"https://api.github.com/users/coveo/followers","following_url":"https://api.github.com/users/coveo/following{/other_user}","gists_url":"https://api.github.com/users/coveo/gists{/gist_id}","starred_url":"https://api.github.com/users/coveo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveo/subscriptions","organizations_url":"https://api.github.com/users/coveo/orgs","repos_url":"https://api.github.com/users/coveo/repos","events_url":"https://api.github.com/users/coveo/events{/privacy}","received_events_url":"https://api.github.com/users/coveo/received_events","type":"Organization","site_admin":false},"repo":{"id":56099312,"name":"coveo.analytics.js","full_name":"coveo/coveo.analytics.js","owner":{"login":"coveo","id":8632328,"avatar_url":"https://avatars.githubusercontent.com/u/8632328?v=3","gravatar_id":"","url":"https://api.github.com/users/coveo","html_url":"https://github.com/coveo","followers_url":"https://api.github.com/users/coveo/followers","following_url":"https://api.github.com/users/coveo/following{/other_user}","gists_url":"https://api.github.com/users/coveo/gists{/gist_id}","starred_url":"https://api.github.com/users/coveo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveo/subscriptions","organizations_url":"https://api.github.com/users/coveo/orgs","repos_url":"https://api.github.com/users/coveo/repos","events_url":"https://api.github.com/users/coveo/events{/privacy}","received_events_url":"https://api.github.com/users/coveo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coveo/coveo.analytics.js","description":"coveo.analytics.js","fork":false,"url":"https://api.github.com/repos/coveo/coveo.analytics.js","forks_url":"https://api.github.com/repos/coveo/coveo.analytics.js/forks","keys_url":"https://api.github.com/repos/coveo/coveo.analytics.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coveo/coveo.analytics.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coveo/coveo.analytics.js/teams","hooks_url":"https://api.github.com/repos/coveo/coveo.analytics.js/hooks","issue_events_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/events{/number}","events_url":"https://api.github.com/repos/coveo/coveo.analytics.js/events","assignees_url":"https://api.github.com/repos/coveo/coveo.analytics.js/assignees{/user}","branches_url":"https://api.github.com/repos/coveo/coveo.analytics.js/branches{/branch}","tags_url":"https://api.github.com/repos/coveo/coveo.analytics.js/tags","blobs_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coveo/coveo.analytics.js/statuses/{sha}","languages_url":"https://api.github.com/repos/coveo/coveo.analytics.js/languages","stargazers_url":"https://api.github.com/repos/coveo/coveo.analytics.js/stargazers","contributors_url":"https://api.github.com/repos/coveo/coveo.analytics.js/contributors","subscribers_url":"https://api.github.com/repos/coveo/coveo.analytics.js/subscribers","subscription_url":"https://api.github.com/repos/coveo/coveo.analytics.js/subscription","commits_url":"https://api.github.com/repos/coveo/coveo.analytics.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/coveo/coveo.analytics.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/coveo/coveo.analytics.js/contents/{+path}","compare_url":"https://api.github.com/repos/coveo/coveo.analytics.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coveo/coveo.analytics.js/merges","archive_url":"https://api.github.com/repos/coveo/coveo.analytics.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coveo/coveo.analytics.js/downloads","issues_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues{/number}","pulls_url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls{/number}","milestones_url":"https://api.github.com/repos/coveo/coveo.analytics.js/milestones{/number}","notifications_url":"https://api.github.com/repos/coveo/coveo.analytics.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coveo/coveo.analytics.js/labels{/name}","releases_url":"https://api.github.com/repos/coveo/coveo.analytics.js/releases{/id}","deployments_url":"https://api.github.com/repos/coveo/coveo.analytics.js/deployments","created_at":"2016-04-12T21:33:11Z","updated_at":"2016-10-25T05:19:09Z","pushed_at":"2017-01-04T15:21:40Z","git_url":"git://github.com/coveo/coveo.analytics.js.git","ssh_url":"git@github.com:coveo/coveo.analytics.js.git","clone_url":"https://github.com/coveo/coveo.analytics.js.git","svn_url":"https://github.com/coveo/coveo.analytics.js","homepage":"","size":558,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":1,"default_branch":"master"}},"base":{"label":"coveo:master","ref":"master","sha":"f8a864d3f2feede9a721d21688b73714e3270df3","user":{"login":"coveo","id":8632328,"avatar_url":"https://avatars.githubusercontent.com/u/8632328?v=3","gravatar_id":"","url":"https://api.github.com/users/coveo","html_url":"https://github.com/coveo","followers_url":"https://api.github.com/users/coveo/followers","following_url":"https://api.github.com/users/coveo/following{/other_user}","gists_url":"https://api.github.com/users/coveo/gists{/gist_id}","starred_url":"https://api.github.com/users/coveo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveo/subscriptions","organizations_url":"https://api.github.com/users/coveo/orgs","repos_url":"https://api.github.com/users/coveo/repos","events_url":"https://api.github.com/users/coveo/events{/privacy}","received_events_url":"https://api.github.com/users/coveo/received_events","type":"Organization","site_admin":false},"repo":{"id":56099312,"name":"coveo.analytics.js","full_name":"coveo/coveo.analytics.js","owner":{"login":"coveo","id":8632328,"avatar_url":"https://avatars.githubusercontent.com/u/8632328?v=3","gravatar_id":"","url":"https://api.github.com/users/coveo","html_url":"https://github.com/coveo","followers_url":"https://api.github.com/users/coveo/followers","following_url":"https://api.github.com/users/coveo/following{/other_user}","gists_url":"https://api.github.com/users/coveo/gists{/gist_id}","starred_url":"https://api.github.com/users/coveo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coveo/subscriptions","organizations_url":"https://api.github.com/users/coveo/orgs","repos_url":"https://api.github.com/users/coveo/repos","events_url":"https://api.github.com/users/coveo/events{/privacy}","received_events_url":"https://api.github.com/users/coveo/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/coveo/coveo.analytics.js","description":"coveo.analytics.js","fork":false,"url":"https://api.github.com/repos/coveo/coveo.analytics.js","forks_url":"https://api.github.com/repos/coveo/coveo.analytics.js/forks","keys_url":"https://api.github.com/repos/coveo/coveo.analytics.js/keys{/key_id}","collaborators_url":"https://api.github.com/repos/coveo/coveo.analytics.js/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/coveo/coveo.analytics.js/teams","hooks_url":"https://api.github.com/repos/coveo/coveo.analytics.js/hooks","issue_events_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/events{/number}","events_url":"https://api.github.com/repos/coveo/coveo.analytics.js/events","assignees_url":"https://api.github.com/repos/coveo/coveo.analytics.js/assignees{/user}","branches_url":"https://api.github.com/repos/coveo/coveo.analytics.js/branches{/branch}","tags_url":"https://api.github.com/repos/coveo/coveo.analytics.js/tags","blobs_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/refs{/sha}","trees_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/trees{/sha}","statuses_url":"https://api.github.com/repos/coveo/coveo.analytics.js/statuses/{sha}","languages_url":"https://api.github.com/repos/coveo/coveo.analytics.js/languages","stargazers_url":"https://api.github.com/repos/coveo/coveo.analytics.js/stargazers","contributors_url":"https://api.github.com/repos/coveo/coveo.analytics.js/contributors","subscribers_url":"https://api.github.com/repos/coveo/coveo.analytics.js/subscribers","subscription_url":"https://api.github.com/repos/coveo/coveo.analytics.js/subscription","commits_url":"https://api.github.com/repos/coveo/coveo.analytics.js/commits{/sha}","git_commits_url":"https://api.github.com/repos/coveo/coveo.analytics.js/git/commits{/sha}","comments_url":"https://api.github.com/repos/coveo/coveo.analytics.js/comments{/number}","issue_comment_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/comments{/number}","contents_url":"https://api.github.com/repos/coveo/coveo.analytics.js/contents/{+path}","compare_url":"https://api.github.com/repos/coveo/coveo.analytics.js/compare/{base}...{head}","merges_url":"https://api.github.com/repos/coveo/coveo.analytics.js/merges","archive_url":"https://api.github.com/repos/coveo/coveo.analytics.js/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/coveo/coveo.analytics.js/downloads","issues_url":"https://api.github.com/repos/coveo/coveo.analytics.js/issues{/number}","pulls_url":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls{/number}","milestones_url":"https://api.github.com/repos/coveo/coveo.analytics.js/milestones{/number}","notifications_url":"https://api.github.com/repos/coveo/coveo.analytics.js/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/coveo/coveo.analytics.js/labels{/name}","releases_url":"https://api.github.com/repos/coveo/coveo.analytics.js/releases{/id}","deployments_url":"https://api.github.com/repos/coveo/coveo.analytics.js/deployments","created_at":"2016-04-12T21:33:11Z","updated_at":"2016-10-25T05:19:09Z","pushed_at":"2017-01-04T15:21:40Z","git_url":"git://github.com/coveo/coveo.analytics.js.git","ssh_url":"git@github.com:coveo/coveo.analytics.js.git","clone_url":"https://github.com/coveo/coveo.analytics.js.git","svn_url":"https://github.com/coveo/coveo.analytics.js","homepage":"","size":558,"stargazers_count":1,"watchers_count":1,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":14,"forks":3,"open_issues":14,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146"},"html":{"href":"https://github.com/coveo/coveo.analytics.js/pull/146"},"issue":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/146"},"comments":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/coveo/coveo.analytics.js/statuses/1e97ac98dd35deb23b60438fd7e0ce4374099b95"}}}}
{"actor":{"display_login":"olamothe"}}