{"action":"created","comment":{"url":"https://api.github.com/repos/x-team/unleash/pulls/comments/35244648","id":35244648,"diff_hunk":"@@ -0,0 +1,13 @@\n+<button ng-click=\"create()\">Create quick card</button>","path":"app/views/partials/cardsAdd.html","position":1,"original_position":1,"commit_id":"2ebf49cc841b613ea5de14b364cb5ad16c941b8c","original_commit_id":"2ebf49cc841b613ea5de14b364cb5ad16c941b8c","user":{"login":"theanxy","id":92843,"avatar_url":"https://avatars.githubusercontent.com/u/92843?v=3","gravatar_id":"","url":"https://api.github.com/users/theanxy","html_url":"https://github.com/theanxy","followers_url":"https://api.github.com/users/theanxy/followers","following_url":"https://api.github.com/users/theanxy/following{/other_user}","gists_url":"https://api.github.com/users/theanxy/gists{/gist_id}","starred_url":"https://api.github.com/users/theanxy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/theanxy/subscriptions","organizations_url":"https://api.github.com/users/theanxy/orgs","repos_url":"https://api.github.com/users/theanxy/repos","events_url":"https://api.github.com/users/theanxy/events{/privacy}","received_events_url":"https://api.github.com/users/theanxy/received_events","type":"User","site_admin":false},"body":"Please add type=\"button\"","created_at":"2015-07-22T18:12:57Z","updated_at":"2015-07-22T18:12:57Z","html_url":"https://github.com/x-team/unleash/pull/75#discussion_r35244648","pull_request_url":"https://api.github.com/repos/x-team/unleash/pulls/75","_links":{"self":{"href":"https://api.github.com/repos/x-team/unleash/pulls/comments/35244648"},"html":{"href":"https://github.com/x-team/unleash/pull/75#discussion_r35244648"},"pull_request":{"href":"https://api.github.com/repos/x-team/unleash/pulls/75"}}},"pull_request":{"url":"https://api.github.com/repos/x-team/unleash/pulls/75","id":40500180,"html_url":"https://github.com/x-team/unleash/pull/75","diff_url":"https://github.com/x-team/unleash/pull/75.diff","patch_url":"https://github.com/x-team/unleash/pull/75.patch","issue_url":"https://api.github.com/repos/x-team/unleash/issues/75","number":75,"state":"open","locked":false,"title":"Disposable cards","user":{"login":"Tade0","id":4363069,"avatar_url":"https://avatars.githubusercontent.com/u/4363069?v=3","gravatar_id":"","url":"https://api.github.com/users/Tade0","html_url":"https://github.com/Tade0","followers_url":"https://api.github.com/users/Tade0/followers","following_url":"https://api.github.com/users/Tade0/following{/other_user}","gists_url":"https://api.github.com/users/Tade0/gists{/gist_id}","starred_url":"https://api.github.com/users/Tade0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tade0/subscriptions","organizations_url":"https://api.github.com/users/Tade0/orgs","repos_url":"https://api.github.com/users/Tade0/repos","events_url":"https://api.github.com/users/Tade0/events{/privacy}","received_events_url":"https://api.github.com/users/Tade0/received_events","type":"User","site_admin":false},"body":"Here's my take on #74 - complete with tests.\r\n\r\nI've created a directive named \"unleashCardsAdd\" that represents the idea of, as I call them, \"quick cards\" - objects that can be turned into cards or disposed of either manually or by refreshing the page.\r\n\r\nAs asked by @kbdbrnwsk I made the left column in this view sticky. After some research I eventually settled on using https://github.com/filamentgroup/fixed-sticky following advice from @theanxy.\r\n\r\nThe one issue remaining is the width of the sticky element (matching selector: .fixedsticky-on). Sticky elements seem not to play well with css width as a percentage so I had to resort to setting it to an exact, calculated value.","created_at":"2015-07-21T20:22:26Z","updated_at":"2015-07-22T18:12:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"cf130659e3d80cc059ac9eeac4b1bcf6c958f9d5","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/x-team/unleash/pulls/75/commits","review_comments_url":"https://api.github.com/repos/x-team/unleash/pulls/75/comments","review_comment_url":"https://api.github.com/repos/x-team/unleash/pulls/comments{/number}","comments_url":"https://api.github.com/repos/x-team/unleash/issues/75/comments","statuses_url":"https://api.github.com/repos/x-team/unleash/statuses/2ebf49cc841b613ea5de14b364cb5ad16c941b8c","head":{"label":"x-team:disposable-cards","ref":"disposable-cards","sha":"2ebf49cc841b613ea5de14b364cb5ad16c941b8c","user":{"login":"x-team","id":149462,"avatar_url":"https://avatars.githubusercontent.com/u/149462?v=3","gravatar_id":"","url":"https://api.github.com/users/x-team","html_url":"https://github.com/x-team","followers_url":"https://api.github.com/users/x-team/followers","following_url":"https://api.github.com/users/x-team/following{/other_user}","gists_url":"https://api.github.com/users/x-team/gists{/gist_id}","starred_url":"https://api.github.com/users/x-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x-team/subscriptions","organizations_url":"https://api.github.com/users/x-team/orgs","repos_url":"https://api.github.com/users/x-team/repos","events_url":"https://api.github.com/users/x-team/events{/privacy}","received_events_url":"https://api.github.com/users/x-team/received_events","type":"Organization","site_admin":false},"repo":{"id":27711849,"name":"unleash","full_name":"x-team/unleash","owner":{"login":"x-team","id":149462,"avatar_url":"https://avatars.githubusercontent.com/u/149462?v=3","gravatar_id":"","url":"https://api.github.com/users/x-team","html_url":"https://github.com/x-team","followers_url":"https://api.github.com/users/x-team/followers","following_url":"https://api.github.com/users/x-team/following{/other_user}","gists_url":"https://api.github.com/users/x-team/gists{/gist_id}","starred_url":"https://api.github.com/users/x-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x-team/subscriptions","organizations_url":"https://api.github.com/users/x-team/orgs","repos_url":"https://api.github.com/users/x-team/repos","events_url":"https://api.github.com/users/x-team/events{/privacy}","received_events_url":"https://api.github.com/users/x-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/x-team/unleash","description":":zap: Unleash your path","fork":false,"url":"https://api.github.com/repos/x-team/unleash","forks_url":"https://api.github.com/repos/x-team/unleash/forks","keys_url":"https://api.github.com/repos/x-team/unleash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/x-team/unleash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/x-team/unleash/teams","hooks_url":"https://api.github.com/repos/x-team/unleash/hooks","issue_events_url":"https://api.github.com/repos/x-team/unleash/issues/events{/number}","events_url":"https://api.github.com/repos/x-team/unleash/events","assignees_url":"https://api.github.com/repos/x-team/unleash/assignees{/user}","branches_url":"https://api.github.com/repos/x-team/unleash/branches{/branch}","tags_url":"https://api.github.com/repos/x-team/unleash/tags","blobs_url":"https://api.github.com/repos/x-team/unleash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/x-team/unleash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/x-team/unleash/git/refs{/sha}","trees_url":"https://api.github.com/repos/x-team/unleash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/x-team/unleash/statuses/{sha}","languages_url":"https://api.github.com/repos/x-team/unleash/languages","stargazers_url":"https://api.github.com/repos/x-team/unleash/stargazers","contributors_url":"https://api.github.com/repos/x-team/unleash/contributors","subscribers_url":"https://api.github.com/repos/x-team/unleash/subscribers","subscription_url":"https://api.github.com/repos/x-team/unleash/subscription","commits_url":"https://api.github.com/repos/x-team/unleash/commits{/sha}","git_commits_url":"https://api.github.com/repos/x-team/unleash/git/commits{/sha}","comments_url":"https://api.github.com/repos/x-team/unleash/comments{/number}","issue_comment_url":"https://api.github.com/repos/x-team/unleash/issues/comments{/number}","contents_url":"https://api.github.com/repos/x-team/unleash/contents/{+path}","compare_url":"https://api.github.com/repos/x-team/unleash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/x-team/unleash/merges","archive_url":"https://api.github.com/repos/x-team/unleash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/x-team/unleash/downloads","issues_url":"https://api.github.com/repos/x-team/unleash/issues{/number}","pulls_url":"https://api.github.com/repos/x-team/unleash/pulls{/number}","milestones_url":"https://api.github.com/repos/x-team/unleash/milestones{/number}","notifications_url":"https://api.github.com/repos/x-team/unleash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/x-team/unleash/labels{/name}","releases_url":"https://api.github.com/repos/x-team/unleash/releases{/id}","created_at":"2014-12-08T11:34:10Z","updated_at":"2015-05-16T05:18:11Z","pushed_at":"2015-07-21T20:22:27Z","git_url":"git://github.com/x-team/unleash.git","ssh_url":"git@github.com:x-team/unleash.git","clone_url":"https://github.com/x-team/unleash.git","svn_url":"https://github.com/x-team/unleash","homepage":"","size":1239,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":17,"forks":4,"open_issues":17,"watchers":2,"default_branch":"master"}},"base":{"label":"x-team:master","ref":"master","sha":"a851bbd940c8073a244665cab1b555e7a5630c02","user":{"login":"x-team","id":149462,"avatar_url":"https://avatars.githubusercontent.com/u/149462?v=3","gravatar_id":"","url":"https://api.github.com/users/x-team","html_url":"https://github.com/x-team","followers_url":"https://api.github.com/users/x-team/followers","following_url":"https://api.github.com/users/x-team/following{/other_user}","gists_url":"https://api.github.com/users/x-team/gists{/gist_id}","starred_url":"https://api.github.com/users/x-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x-team/subscriptions","organizations_url":"https://api.github.com/users/x-team/orgs","repos_url":"https://api.github.com/users/x-team/repos","events_url":"https://api.github.com/users/x-team/events{/privacy}","received_events_url":"https://api.github.com/users/x-team/received_events","type":"Organization","site_admin":false},"repo":{"id":27711849,"name":"unleash","full_name":"x-team/unleash","owner":{"login":"x-team","id":149462,"avatar_url":"https://avatars.githubusercontent.com/u/149462?v=3","gravatar_id":"","url":"https://api.github.com/users/x-team","html_url":"https://github.com/x-team","followers_url":"https://api.github.com/users/x-team/followers","following_url":"https://api.github.com/users/x-team/following{/other_user}","gists_url":"https://api.github.com/users/x-team/gists{/gist_id}","starred_url":"https://api.github.com/users/x-team/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/x-team/subscriptions","organizations_url":"https://api.github.com/users/x-team/orgs","repos_url":"https://api.github.com/users/x-team/repos","events_url":"https://api.github.com/users/x-team/events{/privacy}","received_events_url":"https://api.github.com/users/x-team/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/x-team/unleash","description":":zap: Unleash your path","fork":false,"url":"https://api.github.com/repos/x-team/unleash","forks_url":"https://api.github.com/repos/x-team/unleash/forks","keys_url":"https://api.github.com/repos/x-team/unleash/keys{/key_id}","collaborators_url":"https://api.github.com/repos/x-team/unleash/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/x-team/unleash/teams","hooks_url":"https://api.github.com/repos/x-team/unleash/hooks","issue_events_url":"https://api.github.com/repos/x-team/unleash/issues/events{/number}","events_url":"https://api.github.com/repos/x-team/unleash/events","assignees_url":"https://api.github.com/repos/x-team/unleash/assignees{/user}","branches_url":"https://api.github.com/repos/x-team/unleash/branches{/branch}","tags_url":"https://api.github.com/repos/x-team/unleash/tags","blobs_url":"https://api.github.com/repos/x-team/unleash/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/x-team/unleash/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/x-team/unleash/git/refs{/sha}","trees_url":"https://api.github.com/repos/x-team/unleash/git/trees{/sha}","statuses_url":"https://api.github.com/repos/x-team/unleash/statuses/{sha}","languages_url":"https://api.github.com/repos/x-team/unleash/languages","stargazers_url":"https://api.github.com/repos/x-team/unleash/stargazers","contributors_url":"https://api.github.com/repos/x-team/unleash/contributors","subscribers_url":"https://api.github.com/repos/x-team/unleash/subscribers","subscription_url":"https://api.github.com/repos/x-team/unleash/subscription","commits_url":"https://api.github.com/repos/x-team/unleash/commits{/sha}","git_commits_url":"https://api.github.com/repos/x-team/unleash/git/commits{/sha}","comments_url":"https://api.github.com/repos/x-team/unleash/comments{/number}","issue_comment_url":"https://api.github.com/repos/x-team/unleash/issues/comments{/number}","contents_url":"https://api.github.com/repos/x-team/unleash/contents/{+path}","compare_url":"https://api.github.com/repos/x-team/unleash/compare/{base}...{head}","merges_url":"https://api.github.com/repos/x-team/unleash/merges","archive_url":"https://api.github.com/repos/x-team/unleash/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/x-team/unleash/downloads","issues_url":"https://api.github.com/repos/x-team/unleash/issues{/number}","pulls_url":"https://api.github.com/repos/x-team/unleash/pulls{/number}","milestones_url":"https://api.github.com/repos/x-team/unleash/milestones{/number}","notifications_url":"https://api.github.com/repos/x-team/unleash/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/x-team/unleash/labels{/name}","releases_url":"https://api.github.com/repos/x-team/unleash/releases{/id}","created_at":"2014-12-08T11:34:10Z","updated_at":"2015-05-16T05:18:11Z","pushed_at":"2015-07-21T20:22:27Z","git_url":"git://github.com/x-team/unleash.git","ssh_url":"git@github.com:x-team/unleash.git","clone_url":"https://github.com/x-team/unleash.git","svn_url":"https://github.com/x-team/unleash","homepage":"","size":1239,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":4,"mirror_url":null,"open_issues_count":17,"forks":4,"open_issues":17,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/x-team/unleash/pulls/75"},"html":{"href":"https://github.com/x-team/unleash/pull/75"},"issue":{"href":"https://api.github.com/repos/x-team/unleash/issues/75"},"comments":{"href":"https://api.github.com/repos/x-team/unleash/issues/75/comments"},"review_comments":{"href":"https://api.github.com/repos/x-team/unleash/pulls/75/comments"},"review_comment":{"href":"https://api.github.com/repos/x-team/unleash/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/x-team/unleash/pulls/75/commits"},"statuses":{"href":"https://api.github.com/repos/x-team/unleash/statuses/2ebf49cc841b613ea5de14b364cb5ad16c941b8c"}}}}