Skip to content

Commit

Permalink
Add taiga recipe
Browse files Browse the repository at this point in the history
  • Loading branch information
Xaviju authored and vraravam committed May 4, 2024
1 parent 9a7db8e commit 532c7d7
Show file tree
Hide file tree
Showing 5 changed files with 78 additions and 0 deletions.
48 changes: 48 additions & 0 deletions recipes/taiga/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions recipes/taiga/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = Ferdium => Ferdium;
10 changes: 10 additions & 0 deletions recipes/taiga/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"id": "taiga",
"name": "Taiga",
"version": "1.0.0",
"license": "MIT",
"repository": "https://github.com/kaleidos-ventures/taiga",
"config": {
"serviceURL": "https://tree.taiga.io"
}
}
3 changes: 3 additions & 0 deletions recipes/taiga/service.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
body {
background-color: white;
}
16 changes: 16 additions & 0 deletions recipes/taiga/webview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : { default: obj };
}

const _path = _interopRequireDefault(require('path'));

module.exports = Ferdium => {
// TODO: If your Taiga service has unread messages, uncomment these lines to implement the logic for updating the badges
// const getMessages = () => {
// // TODO: Insert your notification-finding code here
// Ferdium.setBadge(0, 0);
// };
// Ferdium.loop(getMessages);

Ferdium.injectCSS(_path.default.join(__dirname, 'service.css'));
};

0 comments on commit 532c7d7

Please sign in to comment.