From 7828ffd94eb23122bb2d0ead8e781b2b350f4687 Mon Sep 17 00:00:00 2001 From: Daniele Lenares Date: Wed, 6 May 2020 10:12:27 +0200 Subject: Add Clubhouse recipe --- uncompressed/clubhouse/package.json | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 uncompressed/clubhouse/package.json (limited to 'uncompressed/clubhouse/package.json') diff --git a/uncompressed/clubhouse/package.json b/uncompressed/clubhouse/package.json new file mode 100644 index 0000000..f21948a --- /dev/null +++ b/uncompressed/clubhouse/package.json @@ -0,0 +1,14 @@ +{ + "id": "clubhouse", + "name": "Clubhouse", + "version": "1.0.0", + "description": "Project Management for Software Teams", + "main": "index.js", + "author": "Daniele Lenares ", + "license": "MIT", + "repository": "https://github.com/dnlnrs/ferdi-recipe-clubhouse", + "config": { + "serviceURL": "https://app.clubhouse.io/{teamId}/dashboard", + "hasTeamId": true + } +} \ No newline at end of file -- cgit v1.2.3-54-g00ecf From 5ad19c79dc5747d70080eba99c2d95487dac9521 Mon Sep 17 00:00:00 2001 From: Daniele Lenares Date: Wed, 6 May 2020 17:31:06 +0200 Subject: Bump Clubhouse to 1.0.1 --- all.json | 2 +- archives/clubhouse.tar.gz | Bin 69281 -> 69267 bytes uncompressed/clubhouse/package.json | 4 ++-- uncompressed/clubhouse/webview.js | 3 +-- 4 files changed, 4 insertions(+), 5 deletions(-) (limited to 'uncompressed/clubhouse/package.json') diff --git a/all.json b/all.json index 5d26625..6751500 100644 --- a/all.json +++ b/all.json @@ -92,7 +92,7 @@ "featured": false, "id": "clubhouse", "name": "Clubhouse", - "version": "1.0.0", + "version": "1.0.1", "icons": { "png": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/clubhouse/icon.png", "svg": "https://cdn.jsdelivr.net/gh/getferdi/recipes/uncompressed/clubhouse/icon.svg" diff --git a/archives/clubhouse.tar.gz b/archives/clubhouse.tar.gz index 8b44a8c..53f91f3 100644 Binary files a/archives/clubhouse.tar.gz and b/archives/clubhouse.tar.gz differ diff --git a/uncompressed/clubhouse/package.json b/uncompressed/clubhouse/package.json index f21948a..ce49f10 100644 --- a/uncompressed/clubhouse/package.json +++ b/uncompressed/clubhouse/package.json @@ -1,7 +1,7 @@ { "id": "clubhouse", "name": "Clubhouse", - "version": "1.0.0", + "version": "1.0.1", "description": "Project Management for Software Teams", "main": "index.js", "author": "Daniele Lenares ", @@ -11,4 +11,4 @@ "serviceURL": "https://app.clubhouse.io/{teamId}/dashboard", "hasTeamId": true } -} \ No newline at end of file +} diff --git a/uncompressed/clubhouse/webview.js b/uncompressed/clubhouse/webview.js index b16ab05..51cd09d 100644 --- a/uncompressed/clubhouse/webview.js +++ b/uncompressed/clubhouse/webview.js @@ -1,9 +1,8 @@ module.exports = (Ferdi) => { function getMessages() { - let unread = 0; const hasNotifications = document.querySelector('#notifications-link .badge').classList.contains('visible'); if (hasNotifications) { - Ferdi.setBadge(1); + Ferdi.setBadge(0, 1); } } -- cgit v1.2.3-54-g00ecf