{"action":"opened","number":2170,"pull_request":{"url":"https://api.github.com/repos/thelounge/thelounge/pulls/2170","id":173739610,"html_url":"https://github.com/thelounge/thelounge/pull/2170","diff_url":"https://github.com/thelounge/thelounge/pull/2170.diff","patch_url":"https://github.com/thelounge/thelounge/pull/2170.patch","issue_url":"https://api.github.com/repos/thelounge/thelounge/issues/2170","number":2170,"state":"open","locked":false,"title":"Optimized notification dot state","user":{"login":"xPaw","id":613331,"avatar_url":"https://avatars3.githubusercontent.com/u/613331?v=4","gravatar_id":"","url":"https://api.github.com/users/xPaw","html_url":"https://github.com/xPaw","followers_url":"https://api.github.com/users/xPaw/followers","following_url":"https://api.github.com/users/xPaw/following{/other_user}","gists_url":"https://api.github.com/users/xPaw/gists{/gist_id}","starred_url":"https://api.github.com/users/xPaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xPaw/subscriptions","organizations_url":"https://api.github.com/users/xPaw/orgs","repos_url":"https://api.github.com/users/xPaw/repos","events_url":"https://api.github.com/users/xPaw/events{/privacy}","received_events_url":"https://api.github.com/users/xPaw/received_events","type":"User","site_admin":false},"body":"Instead of setting the class on each individual button, apply it once on the viewport.","created_at":"2018-03-08T13:46:43Z","updated_at":"2018-03-08T13:46:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":{"url":"https://api.github.com/repos/thelounge/thelounge/milestones/28","html_url":"https://github.com/thelounge/thelounge/milestone/28","labels_url":"https://api.github.com/repos/thelounge/thelounge/milestones/28/labels","id":2803396,"number":28,"title":"3.0.0","description":"","creator":{"login":"astorije","id":113730,"avatar_url":"https://avatars1.githubusercontent.com/u/113730?v=4","gravatar_id":"","url":"https://api.github.com/users/astorije","html_url":"https://github.com/astorije","followers_url":"https://api.github.com/users/astorije/followers","following_url":"https://api.github.com/users/astorije/following{/other_user}","gists_url":"https://api.github.com/users/astorije/gists{/gist_id}","starred_url":"https://api.github.com/users/astorije/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/astorije/subscriptions","organizations_url":"https://api.github.com/users/astorije/orgs","repos_url":"https://api.github.com/users/astorije/repos","events_url":"https://api.github.com/users/astorije/events{/privacy}","received_events_url":"https://api.github.com/users/astorije/received_events","type":"User","site_admin":false},"open_issues":30,"closed_issues":132,"state":"open","created_at":"2017-09-29T17:49:11Z","updated_at":"2018-03-08T13:46:43Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/thelounge/thelounge/pulls/2170/commits","review_comments_url":"https://api.github.com/repos/thelounge/thelounge/pulls/2170/comments","review_comment_url":"https://api.github.com/repos/thelounge/thelounge/pulls/comments{/number}","comments_url":"https://api.github.com/repos/thelounge/thelounge/issues/2170/comments","statuses_url":"https://api.github.com/repos/thelounge/thelounge/statuses/0fb462c88e92502b883089b1d76d4d1cecd94541","head":{"label":"thelounge:xpaw/optimize-notified","ref":"xpaw/optimize-notified","sha":"0fb462c88e92502b883089b1d76d4d1cecd94541","user":{"login":"thelounge","id":14336958,"avatar_url":"https://avatars1.githubusercontent.com/u/14336958?v=4","gravatar_id":"","url":"https://api.github.com/users/thelounge","html_url":"https://github.com/thelounge","followers_url":"https://api.github.com/users/thelounge/followers","following_url":"https://api.github.com/users/thelounge/following{/other_user}","gists_url":"https://api.github.com/users/thelounge/gists{/gist_id}","starred_url":"https://api.github.com/users/thelounge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelounge/subscriptions","organizations_url":"https://api.github.com/users/thelounge/orgs","repos_url":"https://api.github.com/users/thelounge/repos","events_url":"https://api.github.com/users/thelounge/events{/privacy}","received_events_url":"https://api.github.com/users/thelounge/received_events","type":"Organization","site_admin":false},"repo":{"id":51344082,"name":"thelounge","full_name":"thelounge/thelounge","owner":{"login":"thelounge","id":14336958,"avatar_url":"https://avatars1.githubusercontent.com/u/14336958?v=4","gravatar_id":"","url":"https://api.github.com/users/thelounge","html_url":"https://github.com/thelounge","followers_url":"https://api.github.com/users/thelounge/followers","following_url":"https://api.github.com/users/thelounge/following{/other_user}","gists_url":"https://api.github.com/users/thelounge/gists{/gist_id}","starred_url":"https://api.github.com/users/thelounge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelounge/subscriptions","organizations_url":"https://api.github.com/users/thelounge/orgs","repos_url":"https://api.github.com/users/thelounge/repos","events_url":"https://api.github.com/users/thelounge/events{/privacy}","received_events_url":"https://api.github.com/users/thelounge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thelounge/thelounge","description":"💬 The Lounge — Modern self-hosted web IRC client","fork":false,"url":"https://api.github.com/repos/thelounge/thelounge","forks_url":"https://api.github.com/repos/thelounge/thelounge/forks","keys_url":"https://api.github.com/repos/thelounge/thelounge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thelounge/thelounge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thelounge/thelounge/teams","hooks_url":"https://api.github.com/repos/thelounge/thelounge/hooks","issue_events_url":"https://api.github.com/repos/thelounge/thelounge/issues/events{/number}","events_url":"https://api.github.com/repos/thelounge/thelounge/events","assignees_url":"https://api.github.com/repos/thelounge/thelounge/assignees{/user}","branches_url":"https://api.github.com/repos/thelounge/thelounge/branches{/branch}","tags_url":"https://api.github.com/repos/thelounge/thelounge/tags","blobs_url":"https://api.github.com/repos/thelounge/thelounge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thelounge/thelounge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thelounge/thelounge/git/refs{/sha}","trees_url":"https://api.github.com/repos/thelounge/thelounge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thelounge/thelounge/statuses/{sha}","languages_url":"https://api.github.com/repos/thelounge/thelounge/languages","stargazers_url":"https://api.github.com/repos/thelounge/thelounge/stargazers","contributors_url":"https://api.github.com/repos/thelounge/thelounge/contributors","subscribers_url":"https://api.github.com/repos/thelounge/thelounge/subscribers","subscription_url":"https://api.github.com/repos/thelounge/thelounge/subscription","commits_url":"https://api.github.com/repos/thelounge/thelounge/commits{/sha}","git_commits_url":"https://api.github.com/repos/thelounge/thelounge/git/commits{/sha}","comments_url":"https://api.github.com/repos/thelounge/thelounge/comments{/number}","issue_comment_url":"https://api.github.com/repos/thelounge/thelounge/issues/comments{/number}","contents_url":"https://api.github.com/repos/thelounge/thelounge/contents/{+path}","compare_url":"https://api.github.com/repos/thelounge/thelounge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thelounge/thelounge/merges","archive_url":"https://api.github.com/repos/thelounge/thelounge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thelounge/thelounge/downloads","issues_url":"https://api.github.com/repos/thelounge/thelounge/issues{/number}","pulls_url":"https://api.github.com/repos/thelounge/thelounge/pulls{/number}","milestones_url":"https://api.github.com/repos/thelounge/thelounge/milestones{/number}","notifications_url":"https://api.github.com/repos/thelounge/thelounge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thelounge/thelounge/labels{/name}","releases_url":"https://api.github.com/repos/thelounge/thelounge/releases{/id}","deployments_url":"https://api.github.com/repos/thelounge/thelounge/deployments","created_at":"2016-02-09T03:16:03Z","updated_at":"2018-03-08T11:58:13Z","pushed_at":"2018-03-08T13:46:12Z","git_url":"git://github.com/thelounge/thelounge.git","ssh_url":"git@github.com:thelounge/thelounge.git","clone_url":"https://github.com/thelounge/thelounge.git","svn_url":"https://github.com/thelounge/thelounge","homepage":"https://thelounge.chat","size":8466,"stargazers_count":1761,"watchers_count":1761,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":279,"mirror_url":null,"archived":false,"open_issues_count":192,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":279,"open_issues":192,"watchers":1761,"default_branch":"master"}},"base":{"label":"thelounge:master","ref":"master","sha":"d1648823c32a79fbbc277b0147f4de95e417f036","user":{"login":"thelounge","id":14336958,"avatar_url":"https://avatars1.githubusercontent.com/u/14336958?v=4","gravatar_id":"","url":"https://api.github.com/users/thelounge","html_url":"https://github.com/thelounge","followers_url":"https://api.github.com/users/thelounge/followers","following_url":"https://api.github.com/users/thelounge/following{/other_user}","gists_url":"https://api.github.com/users/thelounge/gists{/gist_id}","starred_url":"https://api.github.com/users/thelounge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelounge/subscriptions","organizations_url":"https://api.github.com/users/thelounge/orgs","repos_url":"https://api.github.com/users/thelounge/repos","events_url":"https://api.github.com/users/thelounge/events{/privacy}","received_events_url":"https://api.github.com/users/thelounge/received_events","type":"Organization","site_admin":false},"repo":{"id":51344082,"name":"thelounge","full_name":"thelounge/thelounge","owner":{"login":"thelounge","id":14336958,"avatar_url":"https://avatars1.githubusercontent.com/u/14336958?v=4","gravatar_id":"","url":"https://api.github.com/users/thelounge","html_url":"https://github.com/thelounge","followers_url":"https://api.github.com/users/thelounge/followers","following_url":"https://api.github.com/users/thelounge/following{/other_user}","gists_url":"https://api.github.com/users/thelounge/gists{/gist_id}","starred_url":"https://api.github.com/users/thelounge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thelounge/subscriptions","organizations_url":"https://api.github.com/users/thelounge/orgs","repos_url":"https://api.github.com/users/thelounge/repos","events_url":"https://api.github.com/users/thelounge/events{/privacy}","received_events_url":"https://api.github.com/users/thelounge/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/thelounge/thelounge","description":"💬 The Lounge — Modern self-hosted web IRC client","fork":false,"url":"https://api.github.com/repos/thelounge/thelounge","forks_url":"https://api.github.com/repos/thelounge/thelounge/forks","keys_url":"https://api.github.com/repos/thelounge/thelounge/keys{/key_id}","collaborators_url":"https://api.github.com/repos/thelounge/thelounge/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/thelounge/thelounge/teams","hooks_url":"https://api.github.com/repos/thelounge/thelounge/hooks","issue_events_url":"https://api.github.com/repos/thelounge/thelounge/issues/events{/number}","events_url":"https://api.github.com/repos/thelounge/thelounge/events","assignees_url":"https://api.github.com/repos/thelounge/thelounge/assignees{/user}","branches_url":"https://api.github.com/repos/thelounge/thelounge/branches{/branch}","tags_url":"https://api.github.com/repos/thelounge/thelounge/tags","blobs_url":"https://api.github.com/repos/thelounge/thelounge/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/thelounge/thelounge/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/thelounge/thelounge/git/refs{/sha}","trees_url":"https://api.github.com/repos/thelounge/thelounge/git/trees{/sha}","statuses_url":"https://api.github.com/repos/thelounge/thelounge/statuses/{sha}","languages_url":"https://api.github.com/repos/thelounge/thelounge/languages","stargazers_url":"https://api.github.com/repos/thelounge/thelounge/stargazers","contributors_url":"https://api.github.com/repos/thelounge/thelounge/contributors","subscribers_url":"https://api.github.com/repos/thelounge/thelounge/subscribers","subscription_url":"https://api.github.com/repos/thelounge/thelounge/subscription","commits_url":"https://api.github.com/repos/thelounge/thelounge/commits{/sha}","git_commits_url":"https://api.github.com/repos/thelounge/thelounge/git/commits{/sha}","comments_url":"https://api.github.com/repos/thelounge/thelounge/comments{/number}","issue_comment_url":"https://api.github.com/repos/thelounge/thelounge/issues/comments{/number}","contents_url":"https://api.github.com/repos/thelounge/thelounge/contents/{+path}","compare_url":"https://api.github.com/repos/thelounge/thelounge/compare/{base}...{head}","merges_url":"https://api.github.com/repos/thelounge/thelounge/merges","archive_url":"https://api.github.com/repos/thelounge/thelounge/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/thelounge/thelounge/downloads","issues_url":"https://api.github.com/repos/thelounge/thelounge/issues{/number}","pulls_url":"https://api.github.com/repos/thelounge/thelounge/pulls{/number}","milestones_url":"https://api.github.com/repos/thelounge/thelounge/milestones{/number}","notifications_url":"https://api.github.com/repos/thelounge/thelounge/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/thelounge/thelounge/labels{/name}","releases_url":"https://api.github.com/repos/thelounge/thelounge/releases{/id}","deployments_url":"https://api.github.com/repos/thelounge/thelounge/deployments","created_at":"2016-02-09T03:16:03Z","updated_at":"2018-03-08T11:58:13Z","pushed_at":"2018-03-08T13:46:12Z","git_url":"git://github.com/thelounge/thelounge.git","ssh_url":"git@github.com:thelounge/thelounge.git","clone_url":"https://github.com/thelounge/thelounge.git","svn_url":"https://github.com/thelounge/thelounge","homepage":"https://thelounge.chat","size":8466,"stargazers_count":1761,"watchers_count":1761,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":279,"mirror_url":null,"archived":false,"open_issues_count":192,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":279,"open_issues":192,"watchers":1761,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/thelounge/thelounge/pulls/2170"},"html":{"href":"https://github.com/thelounge/thelounge/pull/2170"},"issue":{"href":"https://api.github.com/repos/thelounge/thelounge/issues/2170"},"comments":{"href":"https://api.github.com/repos/thelounge/thelounge/issues/2170/comments"},"review_comments":{"href":"https://api.github.com/repos/thelounge/thelounge/pulls/2170/comments"},"review_comment":{"href":"https://api.github.com/repos/thelounge/thelounge/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/thelounge/thelounge/pulls/2170/commits"},"statuses":{"href":"https://api.github.com/repos/thelounge/thelounge/statuses/0fb462c88e92502b883089b1d76d4d1cecd94541"}},"author_association":"OWNER","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":3,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"xPaw"}}