{"action":"created","comment":{"url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/comments/167844290","pull_request_review_id":96118497,"id":167844290,"diff_hunk":"@@ -0,0 +1,82 @@\n+// @flow\n+/**\n+ * Part of GDL gdl-frontend.\n+ * Copyright (C) 2017 GDL\n+ *\n+ * See LICENSE\n+ */\n+\n+import React, { type Element } from 'react';\n+import { MdStar, MdWarning, MdInfo, MdClose } from 'react-icons/lib/md';\n+import { Trans } from '@lingui/react';\n+import { Container, DismissButton, Icon, Text } from './styledFlag';\n+import SrOnly from '../SrOnly';\n+\n+type Props = {\n+  /**\n+   * The appeareance of the flag. Alters the color of the flag and the type of icon shown\n+   */\n+  appearance: 'error' | 'info' | 'normal' | 'success' | 'warning',","path":"components/Flag/index.js","position":19,"original_position":19,"commit_id":"e550b4b885aa9e26e2f455656924fe4ad90ae1f8","original_commit_id":"e550b4b885aa9e26e2f455656924fe4ad90ae1f8","user":{"login":"kstigen","id":387343,"avatar_url":"https://avatars2.githubusercontent.com/u/387343?v=4","gravatar_id":"","url":"https://api.github.com/users/kstigen","html_url":"https://github.com/kstigen","followers_url":"https://api.github.com/users/kstigen/followers","following_url":"https://api.github.com/users/kstigen/following{/other_user}","gists_url":"https://api.github.com/users/kstigen/gists{/gist_id}","starred_url":"https://api.github.com/users/kstigen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kstigen/subscriptions","organizations_url":"https://api.github.com/users/kstigen/orgs","repos_url":"https://api.github.com/users/kstigen/repos","events_url":"https://api.github.com/users/kstigen/events{/privacy}","received_events_url":"https://api.github.com/users/kstigen/received_events","type":"User","site_admin":false},"body":"Hva er forskjell på `info` og `normal`?","created_at":"2018-02-13T12:08:05Z","updated_at":"2018-02-13T12:09:17Z","html_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/73#discussion_r167844290","pull_request_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/comments/167844290"},"html":{"href":"https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/73#discussion_r167844290"},"pull_request":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73"}}},"pull_request":{"url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73","id":168827058,"html_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/73","diff_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/73.diff","patch_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/73.patch","issue_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/73","number":73,"state":"open","locked":false,"title":"Add flag/notification/alert component","user":{"login":"alexanbj","id":81577,"avatar_url":"https://avatars3.githubusercontent.com/u/81577?v=4","gravatar_id":"","url":"https://api.github.com/users/alexanbj","html_url":"https://github.com/alexanbj","followers_url":"https://api.github.com/users/alexanbj/followers","following_url":"https://api.github.com/users/alexanbj/following{/other_user}","gists_url":"https://api.github.com/users/alexanbj/gists{/gist_id}","starred_url":"https://api.github.com/users/alexanbj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alexanbj/subscriptions","organizations_url":"https://api.github.com/users/alexanbj/orgs","repos_url":"https://api.github.com/users/alexanbj/repos","events_url":"https://api.github.com/users/alexanbj/events{/privacy}","received_events_url":"https://api.github.com/users/alexanbj/received_events","type":"User","site_admin":false},"body":"Add component used for alerting the user with some sort of information.\r\n\r\nThis resolves GlobalDigitalLibraryio/issues#224","created_at":"2018-02-13T12:04:20Z","updated_at":"2018-02-13T12:09:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cbb6e8c37ad109d1e650cc4becbce7dd0754a07f","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73/commits","review_comments_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73/comments","review_comment_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/comments{/number}","comments_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/73/comments","statuses_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/statuses/e550b4b885aa9e26e2f455656924fe4ad90ae1f8","head":{"label":"GlobalDigitalLibraryio:flag-component","ref":"flag-component","sha":"e550b4b885aa9e26e2f455656924fe4ad90ae1f8","user":{"login":"GlobalDigitalLibraryio","id":28043403,"avatar_url":"https://avatars2.githubusercontent.com/u/28043403?v=4","gravatar_id":"","url":"https://api.github.com/users/GlobalDigitalLibraryio","html_url":"https://github.com/GlobalDigitalLibraryio","followers_url":"https://api.github.com/users/GlobalDigitalLibraryio/followers","following_url":"https://api.github.com/users/GlobalDigitalLibraryio/following{/other_user}","gists_url":"https://api.github.com/users/GlobalDigitalLibraryio/gists{/gist_id}","starred_url":"https://api.github.com/users/GlobalDigitalLibraryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlobalDigitalLibraryio/subscriptions","organizations_url":"https://api.github.com/users/GlobalDigitalLibraryio/orgs","repos_url":"https://api.github.com/users/GlobalDigitalLibraryio/repos","events_url":"https://api.github.com/users/GlobalDigitalLibraryio/events{/privacy}","received_events_url":"https://api.github.com/users/GlobalDigitalLibraryio/received_events","type":"Organization","site_admin":false},"repo":{"id":90367989,"name":"gdl-frontend","full_name":"GlobalDigitalLibraryio/gdl-frontend","owner":{"login":"GlobalDigitalLibraryio","id":28043403,"avatar_url":"https://avatars2.githubusercontent.com/u/28043403?v=4","gravatar_id":"","url":"https://api.github.com/users/GlobalDigitalLibraryio","html_url":"https://github.com/GlobalDigitalLibraryio","followers_url":"https://api.github.com/users/GlobalDigitalLibraryio/followers","following_url":"https://api.github.com/users/GlobalDigitalLibraryio/following{/other_user}","gists_url":"https://api.github.com/users/GlobalDigitalLibraryio/gists{/gist_id}","starred_url":"https://api.github.com/users/GlobalDigitalLibraryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlobalDigitalLibraryio/subscriptions","organizations_url":"https://api.github.com/users/GlobalDigitalLibraryio/orgs","repos_url":"https://api.github.com/users/GlobalDigitalLibraryio/repos","events_url":"https://api.github.com/users/GlobalDigitalLibraryio/events{/privacy}","received_events_url":"https://api.github.com/users/GlobalDigitalLibraryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend","forks_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/forks","keys_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/teams","hooks_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/hooks","issue_events_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/events","assignees_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/tags","blobs_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/languages","stargazers_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/stargazers","contributors_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/contributors","subscribers_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/subscribers","subscription_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/subscription","commits_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/merges","archive_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/downloads","issues_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/labels{/name}","releases_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/deployments","created_at":"2017-05-05T11:13:04Z","updated_at":"2017-08-31T06:07:16Z","pushed_at":"2018-02-13T12:04:21Z","git_url":"git://github.com/GlobalDigitalLibraryio/gdl-frontend.git","ssh_url":"git@github.com:GlobalDigitalLibraryio/gdl-frontend.git","clone_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend.git","svn_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend","homepage":"http://digitallibrary.io/","size":8241,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"GlobalDigitalLibraryio:master","ref":"master","sha":"d67d3e1d8245d2c50fffdd86d4d22a1d36e57497","user":{"login":"GlobalDigitalLibraryio","id":28043403,"avatar_url":"https://avatars2.githubusercontent.com/u/28043403?v=4","gravatar_id":"","url":"https://api.github.com/users/GlobalDigitalLibraryio","html_url":"https://github.com/GlobalDigitalLibraryio","followers_url":"https://api.github.com/users/GlobalDigitalLibraryio/followers","following_url":"https://api.github.com/users/GlobalDigitalLibraryio/following{/other_user}","gists_url":"https://api.github.com/users/GlobalDigitalLibraryio/gists{/gist_id}","starred_url":"https://api.github.com/users/GlobalDigitalLibraryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlobalDigitalLibraryio/subscriptions","organizations_url":"https://api.github.com/users/GlobalDigitalLibraryio/orgs","repos_url":"https://api.github.com/users/GlobalDigitalLibraryio/repos","events_url":"https://api.github.com/users/GlobalDigitalLibraryio/events{/privacy}","received_events_url":"https://api.github.com/users/GlobalDigitalLibraryio/received_events","type":"Organization","site_admin":false},"repo":{"id":90367989,"name":"gdl-frontend","full_name":"GlobalDigitalLibraryio/gdl-frontend","owner":{"login":"GlobalDigitalLibraryio","id":28043403,"avatar_url":"https://avatars2.githubusercontent.com/u/28043403?v=4","gravatar_id":"","url":"https://api.github.com/users/GlobalDigitalLibraryio","html_url":"https://github.com/GlobalDigitalLibraryio","followers_url":"https://api.github.com/users/GlobalDigitalLibraryio/followers","following_url":"https://api.github.com/users/GlobalDigitalLibraryio/following{/other_user}","gists_url":"https://api.github.com/users/GlobalDigitalLibraryio/gists{/gist_id}","starred_url":"https://api.github.com/users/GlobalDigitalLibraryio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GlobalDigitalLibraryio/subscriptions","organizations_url":"https://api.github.com/users/GlobalDigitalLibraryio/orgs","repos_url":"https://api.github.com/users/GlobalDigitalLibraryio/repos","events_url":"https://api.github.com/users/GlobalDigitalLibraryio/events{/privacy}","received_events_url":"https://api.github.com/users/GlobalDigitalLibraryio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend","description":null,"fork":false,"url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend","forks_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/forks","keys_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/keys{/key_id}","collaborators_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/teams","hooks_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/hooks","issue_events_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/events{/number}","events_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/events","assignees_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/assignees{/user}","branches_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/branches{/branch}","tags_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/tags","blobs_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/refs{/sha}","trees_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/trees{/sha}","statuses_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/statuses/{sha}","languages_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/languages","stargazers_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/stargazers","contributors_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/contributors","subscribers_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/subscribers","subscription_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/subscription","commits_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/commits{/sha}","git_commits_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/git/commits{/sha}","comments_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/comments{/number}","issue_comment_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/comments{/number}","contents_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/contents/{+path}","compare_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/compare/{base}...{head}","merges_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/merges","archive_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/downloads","issues_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues{/number}","pulls_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls{/number}","milestones_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/milestones{/number}","notifications_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/labels{/name}","releases_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/releases{/id}","deployments_url":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/deployments","created_at":"2017-05-05T11:13:04Z","updated_at":"2017-08-31T06:07:16Z","pushed_at":"2018-02-13T12:04:21Z","git_url":"git://github.com/GlobalDigitalLibraryio/gdl-frontend.git","ssh_url":"git@github.com:GlobalDigitalLibraryio/gdl-frontend.git","clone_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend.git","svn_url":"https://github.com/GlobalDigitalLibraryio/gdl-frontend","homepage":"http://digitallibrary.io/","size":8241,"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":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73"},"html":{"href":"https://github.com/GlobalDigitalLibraryio/gdl-frontend/pull/73"},"issue":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/73"},"comments":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/issues/73/comments"},"review_comments":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73/comments"},"review_comment":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/pulls/73/commits"},"statuses":{"href":"https://api.github.com/repos/GlobalDigitalLibraryio/gdl-frontend/statuses/e550b4b885aa9e26e2f455656924fe4ad90ae1f8"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"kstigen"}}