{"action":"created","comment":{"url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/comments/224938756","pull_request_review_id":164437410,"id":224938756,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNDkzODc1Ng==","diff_hunk":"@@ -0,0 +1,100 @@\n+import * as React from 'react';\n+\n+import { keyframes, styled } from '../../style/theme';\n+\n+const slideKeyframeGenerator = (fromY: string, toY: string) => keyframes`\n+    from {\n+        position: relative;\n+        top: ${fromY}\n+    }\n+\n+    to {\n+        position: relative;\n+        top: ${toY}\n+    }\n+`;\n+\n+export interface SlideAnimationProps {\n+    keyframes: string;\n+    animationType: string;\n+    animationDirection?: string;\n+}\n+export const SlideAnimation =\n+    styled.div <\n+    SlideAnimationProps >\n+    `","path":"packages/instant/src/components/animations/slide_up_and_down_animation.tsx","position":25,"original_position":25,"commit_id":"0aef2c8ade2b0ae7b7ab7fef25ee4e8644a8b6c4","original_commit_id":"0aef2c8ade2b0ae7b7ab7fef25ee4e8644a8b6c4","user":{"login":"fragosti","id":3066135,"node_id":"MDQ6VXNlcjMwNjYxMzU=","avatar_url":"https://avatars1.githubusercontent.com/u/3066135?v=4","gravatar_id":"","url":"https://api.github.com/users/fragosti","html_url":"https://github.com/fragosti","followers_url":"https://api.github.com/users/fragosti/followers","following_url":"https://api.github.com/users/fragosti/following{/other_user}","gists_url":"https://api.github.com/users/fragosti/gists{/gist_id}","starred_url":"https://api.github.com/users/fragosti/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fragosti/subscriptions","organizations_url":"https://api.github.com/users/fragosti/orgs","repos_url":"https://api.github.com/users/fragosti/repos","events_url":"https://api.github.com/users/fragosti/events{/privacy}","received_events_url":"https://api.github.com/users/fragosti/received_events","type":"User","site_admin":false},"body":"What is this syntax?? 🆒 ","created_at":"2018-10-12T23:38:04Z","updated_at":"2018-10-12T23:56:48Z","html_url":"https://github.com/0xProject/0x-monorepo/pull/1135#discussion_r224938756","pull_request_url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/comments/224938756"},"html":{"href":"https://github.com/0xProject/0x-monorepo/pull/1135#discussion_r224938756"},"pull_request":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135"}}},"pull_request":{"url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135","id":222606951,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIyNjA2OTUx","html_url":"https://github.com/0xProject/0x-monorepo/pull/1135","diff_url":"https://github.com/0xProject/0x-monorepo/pull/1135.diff","patch_url":"https://github.com/0xProject/0x-monorepo/pull/1135.patch","issue_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues/1135","number":1135,"state":"open","locked":false,"title":"[WIP] [instant] Generic sliding error component","user":{"login":"steveklebanoff","id":210914,"node_id":"MDQ6VXNlcjIxMDkxNA==","avatar_url":"https://avatars3.githubusercontent.com/u/210914?v=4","gravatar_id":"","url":"https://api.github.com/users/steveklebanoff","html_url":"https://github.com/steveklebanoff","followers_url":"https://api.github.com/users/steveklebanoff/followers","following_url":"https://api.github.com/users/steveklebanoff/following{/other_user}","gists_url":"https://api.github.com/users/steveklebanoff/gists{/gist_id}","starred_url":"https://api.github.com/users/steveklebanoff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steveklebanoff/subscriptions","organizations_url":"https://api.github.com/users/steveklebanoff/orgs","repos_url":"https://api.github.com/users/steveklebanoff/repos","events_url":"https://api.github.com/users/steveklebanoff/events{/privacy}","received_events_url":"https://api.github.com/users/steveklebanoff/received_events","type":"User","site_admin":false},"body":"## Description\r\n\r\n**WIP: Needs tests**\r\n\r\nGeneric element for sliding an error message that slides up, shows for a few seconds, and then slides down in instant\r\n\r\nExample usage:\r\n\r\n```diff\r\n--- a/packages/instant/src/components/zero_ex_instant_container.tsx\r\n+++ b/packages/instant/src/components/zero_ex_instant_container.tsx\r\n@@ -5,12 +5,14 @@ import { ColorOption } from '../style/theme';\r\n import { BuyButton } from './buy_button';\r\n import { InstantHeading } from './instant_heading';\r\n import { OrderDetails } from './order_details';\r\n+import { SlidingError } from './sliding_error';\r\n import { Container, Flex } from './ui';\r\n\r\n export interface ZeroExInstantContainerProps {}\r\n\r\n export const ZeroExInstantContainer: React.StatelessComponent<ZeroExInstantContainerProps> = props => (\r\n     <Container width=\"350px\">\r\n+        <SlidingError icon=\"😢\" message=\"You dont have enough ETH...\" />\r\n         <Container backgroundColor={ColorOption.white} borderRadius=\"3px\" hasBoxShadow={true}>\r\n             <Flex direction=\"column\" justify=\"flex-start\">\r\n                 <InstantHeading />\r\n(\r\n```\r\n\r\n## Testing instructions\r\n\r\nCheckout branch, apply diff above, see error message\r\n\r\n## Types of changes\r\n\r\n* New feature (non-breaking change which adds functionality) \r\n\r\n## Checklist:\r\n\r\n*   [x] Prefix PR title with `[WIP]` if necessary.\r\n*   [x] Prefix PR title with bracketed package name(s) corresponding to the changed package(s). For example: `[sol-cov] Fixed bug`.\r\n*   [ ] Add tests to cover changes as needed.\r\n*   [x] Update documentation as needed.\r\n*   [x] Add new entries to the relevant CHANGELOG.jsons.\r\n","created_at":"2018-10-12T23:07:10Z","updated_at":"2018-10-12T23:56:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"98410878b5457fcddbe37bef1c09f2c60ffbf98a","assignee":null,"assignees":[],"requested_reviewers":[{"login":"BMillman19","id":1141340,"node_id":"MDQ6VXNlcjExNDEzNDA=","avatar_url":"https://avatars0.githubusercontent.com/u/1141340?v=4","gravatar_id":"","url":"https://api.github.com/users/BMillman19","html_url":"https://github.com/BMillman19","followers_url":"https://api.github.com/users/BMillman19/followers","following_url":"https://api.github.com/users/BMillman19/following{/other_user}","gists_url":"https://api.github.com/users/BMillman19/gists{/gist_id}","starred_url":"https://api.github.com/users/BMillman19/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BMillman19/subscriptions","organizations_url":"https://api.github.com/users/BMillman19/orgs","repos_url":"https://api.github.com/users/BMillman19/repos","events_url":"https://api.github.com/users/BMillman19/events{/privacy}","received_events_url":"https://api.github.com/users/BMillman19/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":639459897,"node_id":"MDU6TGFiZWw2Mzk0NTk4OTc=","url":"https://api.github.com/repos/0xProject/0x-monorepo/labels/WIP","name":"WIP","color":"d4c5f9","default":false},{"id":1077385218,"node_id":"MDU6TGFiZWwxMDc3Mzg1MjE4","url":"https://api.github.com/repos/0xProject/0x-monorepo/labels/instant","name":"instant","color":"fbca04","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135/commits","review_comments_url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135/comments","review_comment_url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues/1135/comments","statuses_url":"https://api.github.com/repos/0xProject/0x-monorepo/statuses/0aef2c8ade2b0ae7b7ab7fef25ee4e8644a8b6c4","head":{"label":"0xProject:feature/instant-sliding-error","ref":"feature/instant-sliding-error","sha":"0aef2c8ade2b0ae7b7ab7fef25ee4e8644a8b6c4","user":{"login":"0xProject","id":24832717,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODMyNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/24832717?v=4","gravatar_id":"","url":"https://api.github.com/users/0xProject","html_url":"https://github.com/0xProject","followers_url":"https://api.github.com/users/0xProject/followers","following_url":"https://api.github.com/users/0xProject/following{/other_user}","gists_url":"https://api.github.com/users/0xProject/gists{/gist_id}","starred_url":"https://api.github.com/users/0xProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xProject/subscriptions","organizations_url":"https://api.github.com/users/0xProject/orgs","repos_url":"https://api.github.com/users/0xProject/repos","events_url":"https://api.github.com/users/0xProject/events{/privacy}","received_events_url":"https://api.github.com/users/0xProject/received_events","type":"Organization","site_admin":false},"repo":{"id":92181371,"node_id":"MDEwOlJlcG9zaXRvcnk5MjE4MTM3MQ==","name":"0x-monorepo","full_name":"0xProject/0x-monorepo","private":false,"owner":{"login":"0xProject","id":24832717,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODMyNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/24832717?v=4","gravatar_id":"","url":"https://api.github.com/users/0xProject","html_url":"https://github.com/0xProject","followers_url":"https://api.github.com/users/0xProject/followers","following_url":"https://api.github.com/users/0xProject/following{/other_user}","gists_url":"https://api.github.com/users/0xProject/gists{/gist_id}","starred_url":"https://api.github.com/users/0xProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xProject/subscriptions","organizations_url":"https://api.github.com/users/0xProject/orgs","repos_url":"https://api.github.com/users/0xProject/repos","events_url":"https://api.github.com/users/0xProject/events{/privacy}","received_events_url":"https://api.github.com/users/0xProject/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/0xProject/0x-monorepo","description":"0x protocol monorepo - includes our smart contracts and many developer tools","fork":false,"url":"https://api.github.com/repos/0xProject/0x-monorepo","forks_url":"https://api.github.com/repos/0xProject/0x-monorepo/forks","keys_url":"https://api.github.com/repos/0xProject/0x-monorepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0xProject/0x-monorepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0xProject/0x-monorepo/teams","hooks_url":"https://api.github.com/repos/0xProject/0x-monorepo/hooks","issue_events_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues/events{/number}","events_url":"https://api.github.com/repos/0xProject/0x-monorepo/events","assignees_url":"https://api.github.com/repos/0xProject/0x-monorepo/assignees{/user}","branches_url":"https://api.github.com/repos/0xProject/0x-monorepo/branches{/branch}","tags_url":"https://api.github.com/repos/0xProject/0x-monorepo/tags","blobs_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0xProject/0x-monorepo/statuses/{sha}","languages_url":"https://api.github.com/repos/0xProject/0x-monorepo/languages","stargazers_url":"https://api.github.com/repos/0xProject/0x-monorepo/stargazers","contributors_url":"https://api.github.com/repos/0xProject/0x-monorepo/contributors","subscribers_url":"https://api.github.com/repos/0xProject/0x-monorepo/subscribers","subscription_url":"https://api.github.com/repos/0xProject/0x-monorepo/subscription","commits_url":"https://api.github.com/repos/0xProject/0x-monorepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/0xProject/0x-monorepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/0xProject/0x-monorepo/contents/{+path}","compare_url":"https://api.github.com/repos/0xProject/0x-monorepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0xProject/0x-monorepo/merges","archive_url":"https://api.github.com/repos/0xProject/0x-monorepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0xProject/0x-monorepo/downloads","issues_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues{/number}","pulls_url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls{/number}","milestones_url":"https://api.github.com/repos/0xProject/0x-monorepo/milestones{/number}","notifications_url":"https://api.github.com/repos/0xProject/0x-monorepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0xProject/0x-monorepo/labels{/name}","releases_url":"https://api.github.com/repos/0xProject/0x-monorepo/releases{/id}","deployments_url":"https://api.github.com/repos/0xProject/0x-monorepo/deployments","created_at":"2017-05-23T14:17:33Z","updated_at":"2018-10-12T22:07:03Z","pushed_at":"2018-10-12T23:26:49Z","git_url":"git://github.com/0xProject/0x-monorepo.git","ssh_url":"git@github.com:0xProject/0x-monorepo.git","clone_url":"https://github.com/0xProject/0x-monorepo.git","svn_url":"https://github.com/0xProject/0x-monorepo","homepage":"","size":60227,"stargazers_count":842,"watchers_count":842,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":230,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":230,"open_issues":53,"watchers":842,"default_branch":"development"}},"base":{"label":"0xProject:development","ref":"development","sha":"a424c2adfabbbd9313b4f5ddeeeaebd0811fd1cd","user":{"login":"0xProject","id":24832717,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODMyNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/24832717?v=4","gravatar_id":"","url":"https://api.github.com/users/0xProject","html_url":"https://github.com/0xProject","followers_url":"https://api.github.com/users/0xProject/followers","following_url":"https://api.github.com/users/0xProject/following{/other_user}","gists_url":"https://api.github.com/users/0xProject/gists{/gist_id}","starred_url":"https://api.github.com/users/0xProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xProject/subscriptions","organizations_url":"https://api.github.com/users/0xProject/orgs","repos_url":"https://api.github.com/users/0xProject/repos","events_url":"https://api.github.com/users/0xProject/events{/privacy}","received_events_url":"https://api.github.com/users/0xProject/received_events","type":"Organization","site_admin":false},"repo":{"id":92181371,"node_id":"MDEwOlJlcG9zaXRvcnk5MjE4MTM3MQ==","name":"0x-monorepo","full_name":"0xProject/0x-monorepo","private":false,"owner":{"login":"0xProject","id":24832717,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0ODMyNzE3","avatar_url":"https://avatars2.githubusercontent.com/u/24832717?v=4","gravatar_id":"","url":"https://api.github.com/users/0xProject","html_url":"https://github.com/0xProject","followers_url":"https://api.github.com/users/0xProject/followers","following_url":"https://api.github.com/users/0xProject/following{/other_user}","gists_url":"https://api.github.com/users/0xProject/gists{/gist_id}","starred_url":"https://api.github.com/users/0xProject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/0xProject/subscriptions","organizations_url":"https://api.github.com/users/0xProject/orgs","repos_url":"https://api.github.com/users/0xProject/repos","events_url":"https://api.github.com/users/0xProject/events{/privacy}","received_events_url":"https://api.github.com/users/0xProject/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/0xProject/0x-monorepo","description":"0x protocol monorepo - includes our smart contracts and many developer tools","fork":false,"url":"https://api.github.com/repos/0xProject/0x-monorepo","forks_url":"https://api.github.com/repos/0xProject/0x-monorepo/forks","keys_url":"https://api.github.com/repos/0xProject/0x-monorepo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/0xProject/0x-monorepo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/0xProject/0x-monorepo/teams","hooks_url":"https://api.github.com/repos/0xProject/0x-monorepo/hooks","issue_events_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues/events{/number}","events_url":"https://api.github.com/repos/0xProject/0x-monorepo/events","assignees_url":"https://api.github.com/repos/0xProject/0x-monorepo/assignees{/user}","branches_url":"https://api.github.com/repos/0xProject/0x-monorepo/branches{/branch}","tags_url":"https://api.github.com/repos/0xProject/0x-monorepo/tags","blobs_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/refs{/sha}","trees_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/0xProject/0x-monorepo/statuses/{sha}","languages_url":"https://api.github.com/repos/0xProject/0x-monorepo/languages","stargazers_url":"https://api.github.com/repos/0xProject/0x-monorepo/stargazers","contributors_url":"https://api.github.com/repos/0xProject/0x-monorepo/contributors","subscribers_url":"https://api.github.com/repos/0xProject/0x-monorepo/subscribers","subscription_url":"https://api.github.com/repos/0xProject/0x-monorepo/subscription","commits_url":"https://api.github.com/repos/0xProject/0x-monorepo/commits{/sha}","git_commits_url":"https://api.github.com/repos/0xProject/0x-monorepo/git/commits{/sha}","comments_url":"https://api.github.com/repos/0xProject/0x-monorepo/comments{/number}","issue_comment_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues/comments{/number}","contents_url":"https://api.github.com/repos/0xProject/0x-monorepo/contents/{+path}","compare_url":"https://api.github.com/repos/0xProject/0x-monorepo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/0xProject/0x-monorepo/merges","archive_url":"https://api.github.com/repos/0xProject/0x-monorepo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/0xProject/0x-monorepo/downloads","issues_url":"https://api.github.com/repos/0xProject/0x-monorepo/issues{/number}","pulls_url":"https://api.github.com/repos/0xProject/0x-monorepo/pulls{/number}","milestones_url":"https://api.github.com/repos/0xProject/0x-monorepo/milestones{/number}","notifications_url":"https://api.github.com/repos/0xProject/0x-monorepo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/0xProject/0x-monorepo/labels{/name}","releases_url":"https://api.github.com/repos/0xProject/0x-monorepo/releases{/id}","deployments_url":"https://api.github.com/repos/0xProject/0x-monorepo/deployments","created_at":"2017-05-23T14:17:33Z","updated_at":"2018-10-12T22:07:03Z","pushed_at":"2018-10-12T23:26:49Z","git_url":"git://github.com/0xProject/0x-monorepo.git","ssh_url":"git@github.com:0xProject/0x-monorepo.git","clone_url":"https://github.com/0xProject/0x-monorepo.git","svn_url":"https://github.com/0xProject/0x-monorepo","homepage":"","size":60227,"stargazers_count":842,"watchers_count":842,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":230,"mirror_url":null,"archived":false,"open_issues_count":53,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":230,"open_issues":53,"watchers":842,"default_branch":"development"}},"_links":{"self":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135"},"html":{"href":"https://github.com/0xProject/0x-monorepo/pull/1135"},"issue":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/issues/1135"},"comments":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/issues/1135/comments"},"review_comments":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135/comments"},"review_comment":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/pulls/1135/commits"},"statuses":{"href":"https://api.github.com/repos/0xProject/0x-monorepo/statuses/0aef2c8ade2b0ae7b7ab7fef25ee4e8644a8b6c4"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"fragosti"}}