From bd895a248c9a727832014154b253fb6bf0264880 Mon Sep 17 00:00:00 2001 From: Shrey Gupta Date: Wed, 25 Sep 2024 14:27:04 +0530 Subject: [PATCH] feat(auto-tracker): Update config --- src/content/github.js | 3 --- src/content/onlyoffice.js | 6 ++++-- src/content/trello.js | 3 ++- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/content/github.js b/src/content/github.js index ea4a48ad6..377d21fb5 100644 --- a/src/content/github.js +++ b/src/content/github.js @@ -53,7 +53,6 @@ togglbutton.render( className: "github", description: description, projectName: projectElem && projectElem.textContent, - autoTrackerKey: "pull-issue" }); div.appendChild(link); @@ -84,7 +83,6 @@ togglbutton.render( className: "github", description: description, projectName: projectElem ? projectElem.textContent.trim() : "", - autoTrackerKey: "peek" }); div.appendChild(link); @@ -120,7 +118,6 @@ togglbutton.render( className: "github", description: getDescription, projectName: projectElem && projectElem.textContent, - autoTrackable: true }); const wrapper = createTag( diff --git a/src/content/onlyoffice.js b/src/content/onlyoffice.js index 56c0e8082..817c30773 100644 --- a/src/content/onlyoffice.js +++ b/src/content/onlyoffice.js @@ -14,7 +14,8 @@ togglbutton.render( className: 'onlyoffice', description: description, projectName: project, - buttonType: 'minimal' + buttonType: 'minimal', + autoTrackable: true }); $('.project-title').appendChild(link); } @@ -62,7 +63,8 @@ togglbutton.render( className: 'onlyoffice', description: description, projectName: project, - buttonType: 'minimal' + buttonType: 'minimal', + autoTrackable: true }); elem.insertBefore(link, $('.check', elem)); const button = $('.toggl-button.onlyoffice', elem); diff --git a/src/content/trello.js b/src/content/trello.js index 8d0048518..5f8e981bd 100644 --- a/src/content/trello.js +++ b/src/content/trello.js @@ -36,7 +36,8 @@ togglbutton.render( className: 'trello', description: getDescription, projectName: getProject, - container: cardContainerSelector + container: cardContainerSelector, + autoTrackable: true, }); // Pass through click on Trello button to the timer link