{"action":"created","comment":{"url":"https://api.github.com/repos/bitpay/copay/pulls/comments/300760556","pull_request_review_id":258504224,"id":300760556,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDMwMDc2MDU1Ng==","diff_hunk":"@@ -1,39 +1,79 @@\n <ion-header>\n-\n   <ion-navbar>\n     <ion-title>{{ 'Address Book' | translate }}</ion-title>\n     <ion-buttons *ngIf=\"!isEmptyList\" right>\n-      <button ion-button (click)=\"addEntry()\">\n-        {{'Add' | translate}}\n-      </button>\n+      <button ion-button (click)=\"addEntry()\">{{ 'Add' | translate }}</button>\n     </ion-buttons>\n   </ion-navbar>\n-\n </ion-header>\n \n <ion-content>\n-\n   <div class=\"zero-state\" *ngIf=\"isEmptyList\">\n     <ion-icon class=\"zero-state-icon\">\n       <img class=\"svg\" src=\"assets/img/address-book-add.svg\" />\n     </ion-icon>\n     <div class=\"zero-state-heading\" translate>No contacts yet</div>\n-    <div class=\"zero-state-description\" translate>Get started by adding your first one.</div>\n+    <div class=\"zero-state-description\" translate>\n+      Get started by adding your first one.\n+    </div>\n     <button ion-button class=\"button-standard\" (click)=\"addEntry()\">\n-      {{'Add Contact' | translate}}\n+      {{ 'Add Contact' | translate }}\n     </button>\n   </div>\n \n   <div *ngIf=\"!isEmptyList\">\n-    <ion-searchbar placeholder=\"{{'Search a contact' | translate}}\" (ionInput)=\"getItems($event)\"></ion-searchbar>\n-    <ion-list>\n-      <button class=\"contact\" ion-item *ngFor=\"let entry of filteredAddressbook | orderBy : ['name']\" (click)=\"viewEntry(entry)\">\n-        <gravatar [name]=\"entry.name\" [height]=\"30\" [width]=\"30\" [email]=\"entry.email\"></gravatar>\n-        <div class=\"contact-info\">\n-          <div clss=\"item-title\">{{ entry.name }}</div>\n-          <div class=\"item-subtitle\">{{ entry.address }}</div>\n-        </div>\n-      </button>\n+    <ion-searchbar\n+      placeholder=\"{{'Search a contact' | translate}}\"\n+      (ionInput)=\"getItems($event)\"\n+    ></ion-searchbar>\n+    <div class=\"sortContainer\">\n+      <span\n+        *ngIf=\"!showReorder && addressbook.length > 1\"\n+        (click)=\"reorder()\"\n+        class=\"reorder-button\"\n+        tappable\n+      >\n+        <img src=\"assets/img/sort.svg\" />\n+      </span>\n+      <span\n+        *ngIf=\"showReorder\"\n+        (click)=\"reorder()\"\n+        class=\"reorder-done\"\n+        tappable\n+      >\n+        {{ 'Done' | translate }}\n+      </span>\n+    </div>\n+\n+    <ion-list\n+      class=\"sliding-container addressbook\"\n+      reorder=\"{{showReorder}}\"\n+      (ionItemReorder)=\"reorderAddresses($event)\"\n+      *ngIf=\"showReorder\"\n+    >\n+      <ion-item-sliding","path":"src/pages/settings/addressbook/addressbook.html","position":71,"original_position":71,"commit_id":"2ea9b73598aedc1bc2ce99a895cb129199290b6c","original_commit_id":"2ea9b73598aedc1bc2ce99a895cb129199290b6c","user":{"login":"bsnowden3","id":6852264,"node_id":"MDQ6VXNlcjY4NTIyNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6852264?v=4","gravatar_id":"","url":"https://api.github.com/users/bsnowden3","html_url":"https://github.com/bsnowden3","followers_url":"https://api.github.com/users/bsnowden3/followers","following_url":"https://api.github.com/users/bsnowden3/following{/other_user}","gists_url":"https://api.github.com/users/bsnowden3/gists{/gist_id}","starred_url":"https://api.github.com/users/bsnowden3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsnowden3/subscriptions","organizations_url":"https://api.github.com/users/bsnowden3/orgs","repos_url":"https://api.github.com/users/bsnowden3/repos","events_url":"https://api.github.com/users/bsnowden3/events{/privacy}","received_events_url":"https://api.github.com/users/bsnowden3/received_events","type":"User","site_admin":false},"body":"The ion-item-sliding component is there for the the ability to reorder. Or am I mistaken?","created_at":"2019-07-05T17:53:57Z","updated_at":"2019-07-05T17:53:57Z","html_url":"https://github.com/bitpay/copay/pull/9907#discussion_r300760556","pull_request_url":"https://api.github.com/repos/bitpay/copay/pulls/9907","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/bitpay/copay/pulls/comments/300760556"},"html":{"href":"https://github.com/bitpay/copay/pull/9907#discussion_r300760556"},"pull_request":{"href":"https://api.github.com/repos/bitpay/copay/pulls/9907"}},"in_reply_to_id":300455416},"pull_request":{"url":"https://api.github.com/repos/bitpay/copay/pulls/9907","id":294341297,"node_id":"MDExOlB1bGxSZXF1ZXN0Mjk0MzQxMjk3","html_url":"https://github.com/bitpay/copay/pull/9907","diff_url":"https://github.com/bitpay/copay/pull/9907.diff","patch_url":"https://github.com/bitpay/copay/pull/9907.patch","issue_url":"https://api.github.com/repos/bitpay/copay/issues/9907","number":9907,"state":"open","locked":false,"title":"reorder address book contacts","user":{"login":"bsnowden3","id":6852264,"node_id":"MDQ6VXNlcjY4NTIyNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6852264?v=4","gravatar_id":"","url":"https://api.github.com/users/bsnowden3","html_url":"https://github.com/bsnowden3","followers_url":"https://api.github.com/users/bsnowden3/followers","following_url":"https://api.github.com/users/bsnowden3/following{/other_user}","gists_url":"https://api.github.com/users/bsnowden3/gists{/gist_id}","starred_url":"https://api.github.com/users/bsnowden3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsnowden3/subscriptions","organizations_url":"https://api.github.com/users/bsnowden3/orgs","repos_url":"https://api.github.com/users/bsnowden3/repos","events_url":"https://api.github.com/users/bsnowden3/events{/privacy}","received_events_url":"https://api.github.com/users/bsnowden3/received_events","type":"User","site_admin":false},"body":"![Jul-03-2019 17-42-41](https://user-images.githubusercontent.com/6852264/60626846-14cd7d80-9dba-11e9-8f55-c638f5cbd009.gif)\r\n","created_at":"2019-07-03T21:43:50Z","updated_at":"2019-07-05T17:53:57Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5b67053de0b31afb53ff8491c9f7ef4ed664409d","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bitpay/copay/pulls/9907/commits","review_comments_url":"https://api.github.com/repos/bitpay/copay/pulls/9907/comments","review_comment_url":"https://api.github.com/repos/bitpay/copay/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bitpay/copay/issues/9907/comments","statuses_url":"https://api.github.com/repos/bitpay/copay/statuses/2ea9b73598aedc1bc2ce99a895cb129199290b6c","head":{"label":"bsnowden3:addressbook-reorder","ref":"addressbook-reorder","sha":"2ea9b73598aedc1bc2ce99a895cb129199290b6c","user":{"login":"bsnowden3","id":6852264,"node_id":"MDQ6VXNlcjY4NTIyNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6852264?v=4","gravatar_id":"","url":"https://api.github.com/users/bsnowden3","html_url":"https://github.com/bsnowden3","followers_url":"https://api.github.com/users/bsnowden3/followers","following_url":"https://api.github.com/users/bsnowden3/following{/other_user}","gists_url":"https://api.github.com/users/bsnowden3/gists{/gist_id}","starred_url":"https://api.github.com/users/bsnowden3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsnowden3/subscriptions","organizations_url":"https://api.github.com/users/bsnowden3/orgs","repos_url":"https://api.github.com/users/bsnowden3/repos","events_url":"https://api.github.com/users/bsnowden3/events{/privacy}","received_events_url":"https://api.github.com/users/bsnowden3/received_events","type":"User","site_admin":false},"repo":{"id":194143833,"node_id":"MDEwOlJlcG9zaXRvcnkxOTQxNDM4MzM=","name":"copay","full_name":"bsnowden3/copay","private":false,"owner":{"login":"bsnowden3","id":6852264,"node_id":"MDQ6VXNlcjY4NTIyNjQ=","avatar_url":"https://avatars2.githubusercontent.com/u/6852264?v=4","gravatar_id":"","url":"https://api.github.com/users/bsnowden3","html_url":"https://github.com/bsnowden3","followers_url":"https://api.github.com/users/bsnowden3/followers","following_url":"https://api.github.com/users/bsnowden3/following{/other_user}","gists_url":"https://api.github.com/users/bsnowden3/gists{/gist_id}","starred_url":"https://api.github.com/users/bsnowden3/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bsnowden3/subscriptions","organizations_url":"https://api.github.com/users/bsnowden3/orgs","repos_url":"https://api.github.com/users/bsnowden3/repos","events_url":"https://api.github.com/users/bsnowden3/events{/privacy}","received_events_url":"https://api.github.com/users/bsnowden3/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bsnowden3/copay","description":"Copay is a secure Bitcoin and Bitcoin Cash wallet platform for both desktop and mobile devices.","fork":true,"url":"https://api.github.com/repos/bsnowden3/copay","forks_url":"https://api.github.com/repos/bsnowden3/copay/forks","keys_url":"https://api.github.com/repos/bsnowden3/copay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bsnowden3/copay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bsnowden3/copay/teams","hooks_url":"https://api.github.com/repos/bsnowden3/copay/hooks","issue_events_url":"https://api.github.com/repos/bsnowden3/copay/issues/events{/number}","events_url":"https://api.github.com/repos/bsnowden3/copay/events","assignees_url":"https://api.github.com/repos/bsnowden3/copay/assignees{/user}","branches_url":"https://api.github.com/repos/bsnowden3/copay/branches{/branch}","tags_url":"https://api.github.com/repos/bsnowden3/copay/tags","blobs_url":"https://api.github.com/repos/bsnowden3/copay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bsnowden3/copay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bsnowden3/copay/git/refs{/sha}","trees_url":"https://api.github.com/repos/bsnowden3/copay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bsnowden3/copay/statuses/{sha}","languages_url":"https://api.github.com/repos/bsnowden3/copay/languages","stargazers_url":"https://api.github.com/repos/bsnowden3/copay/stargazers","contributors_url":"https://api.github.com/repos/bsnowden3/copay/contributors","subscribers_url":"https://api.github.com/repos/bsnowden3/copay/subscribers","subscription_url":"https://api.github.com/repos/bsnowden3/copay/subscription","commits_url":"https://api.github.com/repos/bsnowden3/copay/commits{/sha}","git_commits_url":"https://api.github.com/repos/bsnowden3/copay/git/commits{/sha}","comments_url":"https://api.github.com/repos/bsnowden3/copay/comments{/number}","issue_comment_url":"https://api.github.com/repos/bsnowden3/copay/issues/comments{/number}","contents_url":"https://api.github.com/repos/bsnowden3/copay/contents/{+path}","compare_url":"https://api.github.com/repos/bsnowden3/copay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bsnowden3/copay/merges","archive_url":"https://api.github.com/repos/bsnowden3/copay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bsnowden3/copay/downloads","issues_url":"https://api.github.com/repos/bsnowden3/copay/issues{/number}","pulls_url":"https://api.github.com/repos/bsnowden3/copay/pulls{/number}","milestones_url":"https://api.github.com/repos/bsnowden3/copay/milestones{/number}","notifications_url":"https://api.github.com/repos/bsnowden3/copay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bsnowden3/copay/labels{/name}","releases_url":"https://api.github.com/repos/bsnowden3/copay/releases{/id}","deployments_url":"https://api.github.com/repos/bsnowden3/copay/deployments","created_at":"2019-06-27T18:22:43Z","updated_at":"2019-06-27T18:22:48Z","pushed_at":"2019-07-03T22:13:37Z","git_url":"git://github.com/bsnowden3/copay.git","ssh_url":"git@github.com:bsnowden3/copay.git","clone_url":"https://github.com/bsnowden3/copay.git","svn_url":"https://github.com/bsnowden3/copay","homepage":"http://copay.io","size":179411,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bitpay:v5.9","ref":"v5.9","sha":"c356660d5765267633ccf13c9923a13827226261","user":{"login":"bitpay","id":2554930,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NTQ5MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/2554930?v=4","gravatar_id":"","url":"https://api.github.com/users/bitpay","html_url":"https://github.com/bitpay","followers_url":"https://api.github.com/users/bitpay/followers","following_url":"https://api.github.com/users/bitpay/following{/other_user}","gists_url":"https://api.github.com/users/bitpay/gists{/gist_id}","starred_url":"https://api.github.com/users/bitpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitpay/subscriptions","organizations_url":"https://api.github.com/users/bitpay/orgs","repos_url":"https://api.github.com/users/bitpay/repos","events_url":"https://api.github.com/users/bitpay/events{/privacy}","received_events_url":"https://api.github.com/users/bitpay/received_events","type":"Organization","site_admin":false},"repo":{"id":18141084,"node_id":"MDEwOlJlcG9zaXRvcnkxODE0MTA4NA==","name":"copay","full_name":"bitpay/copay","private":false,"owner":{"login":"bitpay","id":2554930,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI1NTQ5MzA=","avatar_url":"https://avatars2.githubusercontent.com/u/2554930?v=4","gravatar_id":"","url":"https://api.github.com/users/bitpay","html_url":"https://github.com/bitpay","followers_url":"https://api.github.com/users/bitpay/followers","following_url":"https://api.github.com/users/bitpay/following{/other_user}","gists_url":"https://api.github.com/users/bitpay/gists{/gist_id}","starred_url":"https://api.github.com/users/bitpay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bitpay/subscriptions","organizations_url":"https://api.github.com/users/bitpay/orgs","repos_url":"https://api.github.com/users/bitpay/repos","events_url":"https://api.github.com/users/bitpay/events{/privacy}","received_events_url":"https://api.github.com/users/bitpay/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/bitpay/copay","description":"Copay is a secure Bitcoin and Bitcoin Cash wallet platform for both desktop and mobile devices.","fork":false,"url":"https://api.github.com/repos/bitpay/copay","forks_url":"https://api.github.com/repos/bitpay/copay/forks","keys_url":"https://api.github.com/repos/bitpay/copay/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bitpay/copay/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bitpay/copay/teams","hooks_url":"https://api.github.com/repos/bitpay/copay/hooks","issue_events_url":"https://api.github.com/repos/bitpay/copay/issues/events{/number}","events_url":"https://api.github.com/repos/bitpay/copay/events","assignees_url":"https://api.github.com/repos/bitpay/copay/assignees{/user}","branches_url":"https://api.github.com/repos/bitpay/copay/branches{/branch}","tags_url":"https://api.github.com/repos/bitpay/copay/tags","blobs_url":"https://api.github.com/repos/bitpay/copay/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bitpay/copay/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bitpay/copay/git/refs{/sha}","trees_url":"https://api.github.com/repos/bitpay/copay/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bitpay/copay/statuses/{sha}","languages_url":"https://api.github.com/repos/bitpay/copay/languages","stargazers_url":"https://api.github.com/repos/bitpay/copay/stargazers","contributors_url":"https://api.github.com/repos/bitpay/copay/contributors","subscribers_url":"https://api.github.com/repos/bitpay/copay/subscribers","subscription_url":"https://api.github.com/repos/bitpay/copay/subscription","commits_url":"https://api.github.com/repos/bitpay/copay/commits{/sha}","git_commits_url":"https://api.github.com/repos/bitpay/copay/git/commits{/sha}","comments_url":"https://api.github.com/repos/bitpay/copay/comments{/number}","issue_comment_url":"https://api.github.com/repos/bitpay/copay/issues/comments{/number}","contents_url":"https://api.github.com/repos/bitpay/copay/contents/{+path}","compare_url":"https://api.github.com/repos/bitpay/copay/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bitpay/copay/merges","archive_url":"https://api.github.com/repos/bitpay/copay/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bitpay/copay/downloads","issues_url":"https://api.github.com/repos/bitpay/copay/issues{/number}","pulls_url":"https://api.github.com/repos/bitpay/copay/pulls{/number}","milestones_url":"https://api.github.com/repos/bitpay/copay/milestones{/number}","notifications_url":"https://api.github.com/repos/bitpay/copay/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bitpay/copay/labels{/name}","releases_url":"https://api.github.com/repos/bitpay/copay/releases{/id}","deployments_url":"https://api.github.com/repos/bitpay/copay/deployments","created_at":"2014-03-26T14:33:07Z","updated_at":"2019-07-05T16:55:50Z","pushed_at":"2019-07-05T16:55:49Z","git_url":"git://github.com/bitpay/copay.git","ssh_url":"git@github.com:bitpay/copay.git","clone_url":"https://github.com/bitpay/copay.git","svn_url":"https://github.com/bitpay/copay","homepage":"http://copay.io","size":179523,"stargazers_count":2718,"watchers_count":2718,"language":"TypeScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1357,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":154,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":1357,"open_issues":154,"watchers":2718,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bitpay/copay/pulls/9907"},"html":{"href":"https://github.com/bitpay/copay/pull/9907"},"issue":{"href":"https://api.github.com/repos/bitpay/copay/issues/9907"},"comments":{"href":"https://api.github.com/repos/bitpay/copay/issues/9907/comments"},"review_comments":{"href":"https://api.github.com/repos/bitpay/copay/pulls/9907/comments"},"review_comment":{"href":"https://api.github.com/repos/bitpay/copay/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bitpay/copay/pulls/9907/commits"},"statuses":{"href":"https://api.github.com/repos/bitpay/copay/statuses/2ea9b73598aedc1bc2ce99a895cb129199290b6c"}},"author_association":"NONE"}}
{"actor":{"display_login":"bsnowden3"}}