{"action":"created","comment":{"url":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/comments/219200663","pull_request_review_id":157319265,"id":219200663,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTIwMDY2Mw==","diff_hunk":"@@ -15,20 +15,58 @@\n \n <div class=\"separator\"></div>\n \n-<div class=\"list-group\">\n+<div class=\"input-group\" id=\"app-filter-input\">\n+    <span class=\"input-group-addon\"><i class=\"fas fa-search\"></i></span>\n+    <input type=\"text\" id=\"filter-app-cards\" class=\"form-control\" role=\"textbox\"  placeholder=\"{{t 'search_for_apps'}}\" aria-describedby=\"basic-addon0\"/>\n+    <div class=\"input-group-btn\">\n+        <button type=\"button\" class=\"btn btn-default dropdown-toggle\" data-toggle=\"dropdown\" aria-haspopup=\"true\" aria-expanded=\"false\">\n+            <span id=\"app-cards-list-filter-text\">{{t 'only_official_apps'}}</span> <span class=\"caret\"></span>\n+        </button>\n+        <ul id=\"dropdownFilter\" class=\"dropdown-menu\" data-filter=\"official\" role=\"menu\">\n+            <li class=\"button dropdownFilter\" data-filter=\"official\"><a class=\"menu-item\" role=\"menu-item\" tabindex=\"-1\">{{t 'only_official_apps'}}</a></li>\n+            <li role=\"presentation\" class=\"button dropdownFilter\" data-filter=\"isworking\"><a class=\"menu-item\" role=\"menu-item\" tabindex=\"-1\">{{t 'only_working_apps'}}</a></li>\n+            <li role=\"presentation\" class=\"button dropdownFilter\" data-filter=\"*\"><a class=\"menu-item\" role=\"menu-item\" tabindex=\"-1\">{{t 'all_apps'}}</a></li>\n+        </ul>\n+    </div>\n+</div>\n+\n+<div class=\"separator\"></div>\n+\n+<div class=\"list-group grid\">\n {{#apps}}\n-    <a href=\"#/apps/install/{{id}}\" class=\"list-group-item slide\" title=\"{{t 'install'}}\">\n-        <span class=\"fa-chevron-right pull-right\"></span>\n-        <h2 class=\"list-group-item-heading\">\n-            {{name}} <small>{{id}}</small>\n-            {{#installed}}<span class=\"badge badge-success\" title=\"{{t 'status'}}\">{{t 'installed'}}</span>{{/installed}}\n-        </h2>\n-        <p class=\"list-group-item-text\">{{description}}</p>\n-        {{^official}}\n-            <p class=\"list-group-item-text\">{{t 'app_repository'}}{{repository}}</p>\n-            <p class=\"list-group-item-text\">{{t 'app_state'}}{{state}}</p>\n-        {{/official}}\n-    </a>\n+  <div class=\"app-card panel panel-default {{status}} {{state}} {{isWorking}} {{level}}-level\">\n+        <div class=\"panel-body\">\n+            <h2 class=\"app-title\">{{name}}</h2>\n+            <div class=\"category\">\n+              <a target=\"_BLANK\" href=\"https://yunohost.org/#/packaging_apps_levels_fr\"><span class=\"label label-{{levelColor}} label-as-badge app-level\" title=\"{{t 'app_level'}}\">{{levelFormatted}}</span></a>\n+              <span class=\"label label-info label-as-badge app-status\">{{t status}}</span>\n+              <span class=\"label label-{{stateColor}} label-as-badge app-state\">{{t state}}</span>","path":"src/views/app/app_list_install.ms","position":42,"original_position":42,"commit_id":"9491bcb67d058a2c749a581b86ecaa3a491e2ba0","original_commit_id":"9491bcb67d058a2c749a581b86ecaa3a491e2ba0","user":{"login":"e-lie","id":1651436,"node_id":"MDQ6VXNlcjE2NTE0MzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1651436?v=4","gravatar_id":"","url":"https://api.github.com/users/e-lie","html_url":"https://github.com/e-lie","followers_url":"https://api.github.com/users/e-lie/followers","following_url":"https://api.github.com/users/e-lie/following{/other_user}","gists_url":"https://api.github.com/users/e-lie/gists{/gist_id}","starred_url":"https://api.github.com/users/e-lie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-lie/subscriptions","organizations_url":"https://api.github.com/users/e-lie/orgs","repos_url":"https://api.github.com/users/e-lie/repos","events_url":"https://api.github.com/users/e-lie/events{/privacy}","received_events_url":"https://api.github.com/users/e-lie/received_events","type":"User","site_admin":false},"body":"done","created_at":"2018-09-20T15:04:08Z","updated_at":"2018-09-20T15:04:08Z","html_url":"https://github.com/YunoHost/yunohost-admin/pull/205#discussion_r219200663","pull_request_url":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/comments/219200663"},"html":{"href":"https://github.com/YunoHost/yunohost-admin/pull/205#discussion_r219200663"},"pull_request":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205"}},"in_reply_to_id":218931794},"pull_request":{"url":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205","id":210927571,"node_id":"MDExOlB1bGxSZXF1ZXN0MjEwOTI3NTcx","html_url":"https://github.com/YunoHost/yunohost-admin/pull/205","diff_url":"https://github.com/YunoHost/yunohost-admin/pull/205.diff","patch_url":"https://github.com/YunoHost/yunohost-admin/pull/205.patch","issue_url":"https://api.github.com/repos/YunoHost/yunohost-admin/issues/205","number":205,"state":"open","locked":false,"title":"Redesign app install list : levels, multinstance confusing","user":{"login":"e-lie","id":1651436,"node_id":"MDQ6VXNlcjE2NTE0MzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1651436?v=4","gravatar_id":"","url":"https://api.github.com/users/e-lie","html_url":"https://github.com/e-lie","followers_url":"https://api.github.com/users/e-lie/followers","following_url":"https://api.github.com/users/e-lie/following{/other_user}","gists_url":"https://api.github.com/users/e-lie/gists{/gist_id}","starred_url":"https://api.github.com/users/e-lie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-lie/subscriptions","organizations_url":"https://api.github.com/users/e-lie/orgs","repos_url":"https://api.github.com/users/e-lie/repos","events_url":"https://api.github.com/users/e-lie/events{/privacy}","received_events_url":"https://api.github.com/users/e-lie/received_events","type":"User","site_admin":false},"body":"Work In Progress\r\n\r\nRedesign app install list like https://yunohost.org/#/apps/preview\r\n\r\nAnd will solve YunoHost/issues#1170 by greying install button for monoinstance already installed.\r\n\r\n","created_at":"2018-08-26T00:29:29Z","updated_at":"2018-09-20T15:04:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"452abfa302933eea6ef312b02b01d6181ec1c8e0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":496575561,"node_id":"MDU6TGFiZWw0OTY1NzU1NjE=","url":"https://api.github.com/repos/YunoHost/yunohost-admin/labels/important","name":"important","color":"d93f0b","default":false},{"id":496574999,"node_id":"MDU6TGFiZWw0OTY1NzQ5OTk=","url":"https://api.github.com/repos/YunoHost/yunohost-admin/labels/small%20decision","name":"small decision","color":"c5def5","default":false},{"id":662419280,"node_id":"MDU6TGFiZWw2NjI0MTkyODA=","url":"https://api.github.com/repos/YunoHost/yunohost-admin/labels/work%20needed","name":"work needed","color":"5319e7","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205/commits","review_comments_url":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205/comments","review_comment_url":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/comments{/number}","comments_url":"https://api.github.com/repos/YunoHost/yunohost-admin/issues/205/comments","statuses_url":"https://api.github.com/repos/YunoHost/yunohost-admin/statuses/9491bcb67d058a2c749a581b86ecaa3a491e2ba0","head":{"label":"e-lie:enh-add-levels-to-applist","ref":"enh-add-levels-to-applist","sha":"9491bcb67d058a2c749a581b86ecaa3a491e2ba0","user":{"login":"e-lie","id":1651436,"node_id":"MDQ6VXNlcjE2NTE0MzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1651436?v=4","gravatar_id":"","url":"https://api.github.com/users/e-lie","html_url":"https://github.com/e-lie","followers_url":"https://api.github.com/users/e-lie/followers","following_url":"https://api.github.com/users/e-lie/following{/other_user}","gists_url":"https://api.github.com/users/e-lie/gists{/gist_id}","starred_url":"https://api.github.com/users/e-lie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-lie/subscriptions","organizations_url":"https://api.github.com/users/e-lie/orgs","repos_url":"https://api.github.com/users/e-lie/repos","events_url":"https://api.github.com/users/e-lie/events{/privacy}","received_events_url":"https://api.github.com/users/e-lie/received_events","type":"User","site_admin":false},"repo":{"id":43322356,"node_id":"MDEwOlJlcG9zaXRvcnk0MzMyMjM1Ng==","name":"yunohost-admin","full_name":"e-lie/yunohost-admin","private":false,"owner":{"login":"e-lie","id":1651436,"node_id":"MDQ6VXNlcjE2NTE0MzY=","avatar_url":"https://avatars0.githubusercontent.com/u/1651436?v=4","gravatar_id":"","url":"https://api.github.com/users/e-lie","html_url":"https://github.com/e-lie","followers_url":"https://api.github.com/users/e-lie/followers","following_url":"https://api.github.com/users/e-lie/following{/other_user}","gists_url":"https://api.github.com/users/e-lie/gists{/gist_id}","starred_url":"https://api.github.com/users/e-lie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/e-lie/subscriptions","organizations_url":"https://api.github.com/users/e-lie/orgs","repos_url":"https://api.github.com/users/e-lie/repos","events_url":"https://api.github.com/users/e-lie/events{/privacy}","received_events_url":"https://api.github.com/users/e-lie/received_events","type":"User","site_admin":false},"html_url":"https://github.com/e-lie/yunohost-admin","description":"JS client for YunoHost API","fork":true,"url":"https://api.github.com/repos/e-lie/yunohost-admin","forks_url":"https://api.github.com/repos/e-lie/yunohost-admin/forks","keys_url":"https://api.github.com/repos/e-lie/yunohost-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/e-lie/yunohost-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/e-lie/yunohost-admin/teams","hooks_url":"https://api.github.com/repos/e-lie/yunohost-admin/hooks","issue_events_url":"https://api.github.com/repos/e-lie/yunohost-admin/issues/events{/number}","events_url":"https://api.github.com/repos/e-lie/yunohost-admin/events","assignees_url":"https://api.github.com/repos/e-lie/yunohost-admin/assignees{/user}","branches_url":"https://api.github.com/repos/e-lie/yunohost-admin/branches{/branch}","tags_url":"https://api.github.com/repos/e-lie/yunohost-admin/tags","blobs_url":"https://api.github.com/repos/e-lie/yunohost-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/e-lie/yunohost-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/e-lie/yunohost-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/e-lie/yunohost-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/e-lie/yunohost-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/e-lie/yunohost-admin/languages","stargazers_url":"https://api.github.com/repos/e-lie/yunohost-admin/stargazers","contributors_url":"https://api.github.com/repos/e-lie/yunohost-admin/contributors","subscribers_url":"https://api.github.com/repos/e-lie/yunohost-admin/subscribers","subscription_url":"https://api.github.com/repos/e-lie/yunohost-admin/subscription","commits_url":"https://api.github.com/repos/e-lie/yunohost-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/e-lie/yunohost-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/e-lie/yunohost-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/e-lie/yunohost-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/e-lie/yunohost-admin/contents/{+path}","compare_url":"https://api.github.com/repos/e-lie/yunohost-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/e-lie/yunohost-admin/merges","archive_url":"https://api.github.com/repos/e-lie/yunohost-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/e-lie/yunohost-admin/downloads","issues_url":"https://api.github.com/repos/e-lie/yunohost-admin/issues{/number}","pulls_url":"https://api.github.com/repos/e-lie/yunohost-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/e-lie/yunohost-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/e-lie/yunohost-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/e-lie/yunohost-admin/labels{/name}","releases_url":"https://api.github.com/repos/e-lie/yunohost-admin/releases{/id}","deployments_url":"https://api.github.com/repos/e-lie/yunohost-admin/deployments","created_at":"2015-09-28T19:32:50Z","updated_at":"2018-08-25T15:58:48Z","pushed_at":"2018-09-02T15:03:41Z","git_url":"git://github.com/e-lie/yunohost-admin.git","ssh_url":"git@github.com:e-lie/yunohost-admin.git","clone_url":"https://github.com/e-lie/yunohost-admin.git","svn_url":"https://github.com/e-lie/yunohost-admin","homepage":"http://yunohost.org","size":10800,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"unstable"}},"base":{"label":"YunoHost:stretch-unstable","ref":"stretch-unstable","sha":"76b4007fc952f21e0653705bbf646f74cc48eeab","user":{"login":"YunoHost","id":1519495,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTk0OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1519495?v=4","gravatar_id":"","url":"https://api.github.com/users/YunoHost","html_url":"https://github.com/YunoHost","followers_url":"https://api.github.com/users/YunoHost/followers","following_url":"https://api.github.com/users/YunoHost/following{/other_user}","gists_url":"https://api.github.com/users/YunoHost/gists{/gist_id}","starred_url":"https://api.github.com/users/YunoHost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YunoHost/subscriptions","organizations_url":"https://api.github.com/users/YunoHost/orgs","repos_url":"https://api.github.com/users/YunoHost/repos","events_url":"https://api.github.com/users/YunoHost/events{/privacy}","received_events_url":"https://api.github.com/users/YunoHost/received_events","type":"Organization","site_admin":false},"repo":{"id":11096323,"node_id":"MDEwOlJlcG9zaXRvcnkxMTA5NjMyMw==","name":"yunohost-admin","full_name":"YunoHost/yunohost-admin","private":false,"owner":{"login":"YunoHost","id":1519495,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE1MTk0OTU=","avatar_url":"https://avatars0.githubusercontent.com/u/1519495?v=4","gravatar_id":"","url":"https://api.github.com/users/YunoHost","html_url":"https://github.com/YunoHost","followers_url":"https://api.github.com/users/YunoHost/followers","following_url":"https://api.github.com/users/YunoHost/following{/other_user}","gists_url":"https://api.github.com/users/YunoHost/gists{/gist_id}","starred_url":"https://api.github.com/users/YunoHost/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YunoHost/subscriptions","organizations_url":"https://api.github.com/users/YunoHost/orgs","repos_url":"https://api.github.com/users/YunoHost/repos","events_url":"https://api.github.com/users/YunoHost/events{/privacy}","received_events_url":"https://api.github.com/users/YunoHost/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/YunoHost/yunohost-admin","description":"JS client for YunoHost API","fork":false,"url":"https://api.github.com/repos/YunoHost/yunohost-admin","forks_url":"https://api.github.com/repos/YunoHost/yunohost-admin/forks","keys_url":"https://api.github.com/repos/YunoHost/yunohost-admin/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YunoHost/yunohost-admin/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YunoHost/yunohost-admin/teams","hooks_url":"https://api.github.com/repos/YunoHost/yunohost-admin/hooks","issue_events_url":"https://api.github.com/repos/YunoHost/yunohost-admin/issues/events{/number}","events_url":"https://api.github.com/repos/YunoHost/yunohost-admin/events","assignees_url":"https://api.github.com/repos/YunoHost/yunohost-admin/assignees{/user}","branches_url":"https://api.github.com/repos/YunoHost/yunohost-admin/branches{/branch}","tags_url":"https://api.github.com/repos/YunoHost/yunohost-admin/tags","blobs_url":"https://api.github.com/repos/YunoHost/yunohost-admin/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YunoHost/yunohost-admin/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YunoHost/yunohost-admin/git/refs{/sha}","trees_url":"https://api.github.com/repos/YunoHost/yunohost-admin/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YunoHost/yunohost-admin/statuses/{sha}","languages_url":"https://api.github.com/repos/YunoHost/yunohost-admin/languages","stargazers_url":"https://api.github.com/repos/YunoHost/yunohost-admin/stargazers","contributors_url":"https://api.github.com/repos/YunoHost/yunohost-admin/contributors","subscribers_url":"https://api.github.com/repos/YunoHost/yunohost-admin/subscribers","subscription_url":"https://api.github.com/repos/YunoHost/yunohost-admin/subscription","commits_url":"https://api.github.com/repos/YunoHost/yunohost-admin/commits{/sha}","git_commits_url":"https://api.github.com/repos/YunoHost/yunohost-admin/git/commits{/sha}","comments_url":"https://api.github.com/repos/YunoHost/yunohost-admin/comments{/number}","issue_comment_url":"https://api.github.com/repos/YunoHost/yunohost-admin/issues/comments{/number}","contents_url":"https://api.github.com/repos/YunoHost/yunohost-admin/contents/{+path}","compare_url":"https://api.github.com/repos/YunoHost/yunohost-admin/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YunoHost/yunohost-admin/merges","archive_url":"https://api.github.com/repos/YunoHost/yunohost-admin/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YunoHost/yunohost-admin/downloads","issues_url":"https://api.github.com/repos/YunoHost/yunohost-admin/issues{/number}","pulls_url":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls{/number}","milestones_url":"https://api.github.com/repos/YunoHost/yunohost-admin/milestones{/number}","notifications_url":"https://api.github.com/repos/YunoHost/yunohost-admin/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YunoHost/yunohost-admin/labels{/name}","releases_url":"https://api.github.com/repos/YunoHost/yunohost-admin/releases{/id}","deployments_url":"https://api.github.com/repos/YunoHost/yunohost-admin/deployments","created_at":"2013-07-01T13:57:25Z","updated_at":"2018-09-17T16:30:55Z","pushed_at":"2018-09-17T16:36:40Z","git_url":"git://github.com/YunoHost/yunohost-admin.git","ssh_url":"git@github.com:YunoHost/yunohost-admin.git","clone_url":"https://github.com/YunoHost/yunohost-admin.git","svn_url":"https://github.com/YunoHost/yunohost-admin","homepage":"http://yunohost.org","size":10648,"stargazers_count":22,"watchers_count":22,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":26,"mirror_url":null,"archived":false,"open_issues_count":5,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":26,"open_issues":5,"watchers":22,"default_branch":"stretch-unstable"}},"_links":{"self":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205"},"html":{"href":"https://github.com/YunoHost/yunohost-admin/pull/205"},"issue":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/issues/205"},"comments":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/issues/205/comments"},"review_comments":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205/comments"},"review_comment":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/pulls/205/commits"},"statuses":{"href":"https://api.github.com/repos/YunoHost/yunohost-admin/statuses/9491bcb67d058a2c749a581b86ecaa3a491e2ba0"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"e-lie"}}