{"action":"created","comment":{"url":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/comments/66053363","id":66053363,"diff_hunk":"@@ -0,0 +1,78 @@\n+/**\n+ * This Source Code Form is subject to the terms of the Mozilla Public\n+ * License, v. 2.0. If a copy of the MPL was not distributed with this\n+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.\n+ */\n+\n+import {client, restAPI} from 'camelot-unchained';\n+import {Promise} from 'es6-promise';\n+import * as React from 'react';\n+import * as ReactCSSTransitionGroup from 'react-addons-css-transition-group';\n+\n+export interface MotdState {\n+  message: string;\n+}\n+\n+export interface MotdProps {}\n+\n+export interface MotdData {\n+  id: string;\n+  message: string;\n+  duration: number;\n+}\n+\n+class Motd extends React.Component<MotdProps, MotdState> {\n+\n+  private fadeTime:number = 500;\n+\n+  constructor(props: MotdProps) {\n+    super( props );\n+  }\n+\n+  closeWindow(): void {\n+    client.CloseUI( 'motd' );\n+  }\n+\n+  onMessage = (data: MotdData) => {\n+    if(data.message=='')","path":"motd/src/ts/MotD.tsx","position":37,"original_position":37,"commit_id":"109ca8603318b5bf9b55f9feeafa964b6bc85d36","original_commit_id":"109ca8603318b5bf9b55f9feeafa964b6bc85d36","user":{"login":"Mehuge","id":99895,"avatar_url":"https://avatars.githubusercontent.com/u/99895?v=3","gravatar_id":"","url":"https://api.github.com/users/Mehuge","html_url":"https://github.com/Mehuge","followers_url":"https://api.github.com/users/Mehuge/followers","following_url":"https://api.github.com/users/Mehuge/following{/other_user}","gists_url":"https://api.github.com/users/Mehuge/gists{/gist_id}","starred_url":"https://api.github.com/users/Mehuge/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mehuge/subscriptions","organizations_url":"https://api.github.com/users/Mehuge/orgs","repos_url":"https://api.github.com/users/Mehuge/repos","events_url":"https://api.github.com/users/Mehuge/events{/privacy}","received_events_url":"https://api.github.com/users/Mehuge/received_events","type":"User","site_admin":false},"body":"https://github.com/airbnb/javascript#whitespace--around-keywords","created_at":"2016-06-07T11:29:32Z","updated_at":"2016-06-07T11:29:32Z","html_url":"https://github.com/CUModSquad/cu-ui/pull/43#discussion_r66053363","pull_request_url":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/comments/66053363"},"html":{"href":"https://github.com/CUModSquad/cu-ui/pull/43#discussion_r66053363"},"pull_request":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43","id":72853484,"html_url":"https://github.com/CUModSquad/cu-ui/pull/43","diff_url":"https://github.com/CUModSquad/cu-ui/pull/43.diff","patch_url":"https://github.com/CUModSquad/cu-ui/pull/43.patch","issue_url":"https://api.github.com/repos/CUModSquad/cu-ui/issues/43","number":43,"state":"open","locked":false,"title":"Motd UI","user":{"login":"Fidaman","id":19418679,"avatar_url":"https://avatars.githubusercontent.com/u/19418679?v=3","gravatar_id":"","url":"https://api.github.com/users/Fidaman","html_url":"https://github.com/Fidaman","followers_url":"https://api.github.com/users/Fidaman/followers","following_url":"https://api.github.com/users/Fidaman/following{/other_user}","gists_url":"https://api.github.com/users/Fidaman/gists{/gist_id}","starred_url":"https://api.github.com/users/Fidaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fidaman/subscriptions","organizations_url":"https://api.github.com/users/Fidaman/orgs","repos_url":"https://api.github.com/users/Fidaman/repos","events_url":"https://api.github.com/users/Fidaman/events{/privacy}","received_events_url":"https://api.github.com/users/Fidaman/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-06-07T10:48:41Z","updated_at":"2016-06-07T11:29:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2a3fd20f9f6d568e0edd266e9b426b2559a35050","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43/commits","review_comments_url":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43/comments","review_comment_url":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CUModSquad/cu-ui/issues/43/comments","statuses_url":"https://api.github.com/repos/CUModSquad/cu-ui/statuses/109ca8603318b5bf9b55f9feeafa964b6bc85d36","head":{"label":"Fidaman:motd","ref":"motd","sha":"109ca8603318b5bf9b55f9feeafa964b6bc85d36","user":{"login":"Fidaman","id":19418679,"avatar_url":"https://avatars.githubusercontent.com/u/19418679?v=3","gravatar_id":"","url":"https://api.github.com/users/Fidaman","html_url":"https://github.com/Fidaman","followers_url":"https://api.github.com/users/Fidaman/followers","following_url":"https://api.github.com/users/Fidaman/following{/other_user}","gists_url":"https://api.github.com/users/Fidaman/gists{/gist_id}","starred_url":"https://api.github.com/users/Fidaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fidaman/subscriptions","organizations_url":"https://api.github.com/users/Fidaman/orgs","repos_url":"https://api.github.com/users/Fidaman/repos","events_url":"https://api.github.com/users/Fidaman/events{/privacy}","received_events_url":"https://api.github.com/users/Fidaman/received_events","type":"User","site_admin":false},"repo":{"id":59703479,"name":"cu-ui","full_name":"Fidaman/cu-ui","owner":{"login":"Fidaman","id":19418679,"avatar_url":"https://avatars.githubusercontent.com/u/19418679?v=3","gravatar_id":"","url":"https://api.github.com/users/Fidaman","html_url":"https://github.com/Fidaman","followers_url":"https://api.github.com/users/Fidaman/followers","following_url":"https://api.github.com/users/Fidaman/following{/other_user}","gists_url":"https://api.github.com/users/Fidaman/gists{/gist_id}","starred_url":"https://api.github.com/users/Fidaman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Fidaman/subscriptions","organizations_url":"https://api.github.com/users/Fidaman/orgs","repos_url":"https://api.github.com/users/Fidaman/repos","events_url":"https://api.github.com/users/Fidaman/events{/privacy}","received_events_url":"https://api.github.com/users/Fidaman/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Fidaman/cu-ui","description":"Camelot Unchained UI 2","fork":true,"url":"https://api.github.com/repos/Fidaman/cu-ui","forks_url":"https://api.github.com/repos/Fidaman/cu-ui/forks","keys_url":"https://api.github.com/repos/Fidaman/cu-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Fidaman/cu-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Fidaman/cu-ui/teams","hooks_url":"https://api.github.com/repos/Fidaman/cu-ui/hooks","issue_events_url":"https://api.github.com/repos/Fidaman/cu-ui/issues/events{/number}","events_url":"https://api.github.com/repos/Fidaman/cu-ui/events","assignees_url":"https://api.github.com/repos/Fidaman/cu-ui/assignees{/user}","branches_url":"https://api.github.com/repos/Fidaman/cu-ui/branches{/branch}","tags_url":"https://api.github.com/repos/Fidaman/cu-ui/tags","blobs_url":"https://api.github.com/repos/Fidaman/cu-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Fidaman/cu-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Fidaman/cu-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/Fidaman/cu-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Fidaman/cu-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/Fidaman/cu-ui/languages","stargazers_url":"https://api.github.com/repos/Fidaman/cu-ui/stargazers","contributors_url":"https://api.github.com/repos/Fidaman/cu-ui/contributors","subscribers_url":"https://api.github.com/repos/Fidaman/cu-ui/subscribers","subscription_url":"https://api.github.com/repos/Fidaman/cu-ui/subscription","commits_url":"https://api.github.com/repos/Fidaman/cu-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/Fidaman/cu-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/Fidaman/cu-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/Fidaman/cu-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/Fidaman/cu-ui/contents/{+path}","compare_url":"https://api.github.com/repos/Fidaman/cu-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Fidaman/cu-ui/merges","archive_url":"https://api.github.com/repos/Fidaman/cu-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Fidaman/cu-ui/downloads","issues_url":"https://api.github.com/repos/Fidaman/cu-ui/issues{/number}","pulls_url":"https://api.github.com/repos/Fidaman/cu-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/Fidaman/cu-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/Fidaman/cu-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Fidaman/cu-ui/labels{/name}","releases_url":"https://api.github.com/repos/Fidaman/cu-ui/releases{/id}","deployments_url":"https://api.github.com/repos/Fidaman/cu-ui/deployments","created_at":"2016-05-25T23:02:57Z","updated_at":"2016-05-25T23:02:58Z","pushed_at":"2016-06-07T10:24:15Z","git_url":"git://github.com/Fidaman/cu-ui.git","ssh_url":"git@github.com:Fidaman/cu-ui.git","clone_url":"https://github.com/Fidaman/cu-ui.git","svn_url":"https://github.com/Fidaman/cu-ui","homepage":"","size":904,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"CUModSquad:master","ref":"master","sha":"188960e24f373741d958779e431f92deefe7524f","user":{"login":"CUModSquad","id":13527172,"avatar_url":"https://avatars.githubusercontent.com/u/13527172?v=3","gravatar_id":"","url":"https://api.github.com/users/CUModSquad","html_url":"https://github.com/CUModSquad","followers_url":"https://api.github.com/users/CUModSquad/followers","following_url":"https://api.github.com/users/CUModSquad/following{/other_user}","gists_url":"https://api.github.com/users/CUModSquad/gists{/gist_id}","starred_url":"https://api.github.com/users/CUModSquad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CUModSquad/subscriptions","organizations_url":"https://api.github.com/users/CUModSquad/orgs","repos_url":"https://api.github.com/users/CUModSquad/repos","events_url":"https://api.github.com/users/CUModSquad/events{/privacy}","received_events_url":"https://api.github.com/users/CUModSquad/received_events","type":"Organization","site_admin":false},"repo":{"id":43985362,"name":"cu-ui","full_name":"CUModSquad/cu-ui","owner":{"login":"CUModSquad","id":13527172,"avatar_url":"https://avatars.githubusercontent.com/u/13527172?v=3","gravatar_id":"","url":"https://api.github.com/users/CUModSquad","html_url":"https://github.com/CUModSquad","followers_url":"https://api.github.com/users/CUModSquad/followers","following_url":"https://api.github.com/users/CUModSquad/following{/other_user}","gists_url":"https://api.github.com/users/CUModSquad/gists{/gist_id}","starred_url":"https://api.github.com/users/CUModSquad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CUModSquad/subscriptions","organizations_url":"https://api.github.com/users/CUModSquad/orgs","repos_url":"https://api.github.com/users/CUModSquad/repos","events_url":"https://api.github.com/users/CUModSquad/events{/privacy}","received_events_url":"https://api.github.com/users/CUModSquad/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CUModSquad/cu-ui","description":"Camelot Unchained UI 2","fork":true,"url":"https://api.github.com/repos/CUModSquad/cu-ui","forks_url":"https://api.github.com/repos/CUModSquad/cu-ui/forks","keys_url":"https://api.github.com/repos/CUModSquad/cu-ui/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CUModSquad/cu-ui/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CUModSquad/cu-ui/teams","hooks_url":"https://api.github.com/repos/CUModSquad/cu-ui/hooks","issue_events_url":"https://api.github.com/repos/CUModSquad/cu-ui/issues/events{/number}","events_url":"https://api.github.com/repos/CUModSquad/cu-ui/events","assignees_url":"https://api.github.com/repos/CUModSquad/cu-ui/assignees{/user}","branches_url":"https://api.github.com/repos/CUModSquad/cu-ui/branches{/branch}","tags_url":"https://api.github.com/repos/CUModSquad/cu-ui/tags","blobs_url":"https://api.github.com/repos/CUModSquad/cu-ui/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CUModSquad/cu-ui/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CUModSquad/cu-ui/git/refs{/sha}","trees_url":"https://api.github.com/repos/CUModSquad/cu-ui/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CUModSquad/cu-ui/statuses/{sha}","languages_url":"https://api.github.com/repos/CUModSquad/cu-ui/languages","stargazers_url":"https://api.github.com/repos/CUModSquad/cu-ui/stargazers","contributors_url":"https://api.github.com/repos/CUModSquad/cu-ui/contributors","subscribers_url":"https://api.github.com/repos/CUModSquad/cu-ui/subscribers","subscription_url":"https://api.github.com/repos/CUModSquad/cu-ui/subscription","commits_url":"https://api.github.com/repos/CUModSquad/cu-ui/commits{/sha}","git_commits_url":"https://api.github.com/repos/CUModSquad/cu-ui/git/commits{/sha}","comments_url":"https://api.github.com/repos/CUModSquad/cu-ui/comments{/number}","issue_comment_url":"https://api.github.com/repos/CUModSquad/cu-ui/issues/comments{/number}","contents_url":"https://api.github.com/repos/CUModSquad/cu-ui/contents/{+path}","compare_url":"https://api.github.com/repos/CUModSquad/cu-ui/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CUModSquad/cu-ui/merges","archive_url":"https://api.github.com/repos/CUModSquad/cu-ui/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CUModSquad/cu-ui/downloads","issues_url":"https://api.github.com/repos/CUModSquad/cu-ui/issues{/number}","pulls_url":"https://api.github.com/repos/CUModSquad/cu-ui/pulls{/number}","milestones_url":"https://api.github.com/repos/CUModSquad/cu-ui/milestones{/number}","notifications_url":"https://api.github.com/repos/CUModSquad/cu-ui/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CUModSquad/cu-ui/labels{/name}","releases_url":"https://api.github.com/repos/CUModSquad/cu-ui/releases{/id}","deployments_url":"https://api.github.com/repos/CUModSquad/cu-ui/deployments","created_at":"2015-10-09T23:53:07Z","updated_at":"2016-02-25T22:05:39Z","pushed_at":"2016-06-07T10:48:41Z","git_url":"git://github.com/CUModSquad/cu-ui.git","ssh_url":"git@github.com:CUModSquad/cu-ui.git","clone_url":"https://github.com/CUModSquad/cu-ui.git","svn_url":"https://github.com/CUModSquad/cu-ui","homepage":"","size":1088,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":2,"forks":18,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43"},"html":{"href":"https://github.com/CUModSquad/cu-ui/pull/43"},"issue":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/issues/43"},"comments":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/CUModSquad/cu-ui/statuses/109ca8603318b5bf9b55f9feeafa964b6bc85d36"}}}}
{"actor":{"display_login":"Mehuge"}}