Skip to content

Commit

Permalink
feat(auto-tracker): Update config
Browse files Browse the repository at this point in the history
  • Loading branch information
with-shrey committed Sep 25, 2024
1 parent ec3b457 commit d6b3726
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
3 changes: 0 additions & 3 deletions src/content/github.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ togglbutton.render(
className: "github",
description: description,
projectName: projectElem && projectElem.textContent,
autoTrackerKey: "pull-issue"
});

div.appendChild(link);
Expand Down Expand Up @@ -84,7 +83,6 @@ togglbutton.render(
className: "github",
description: description,
projectName: projectElem ? projectElem.textContent.trim() : "",
autoTrackerKey: "peek"
});

div.appendChild(link);
Expand Down Expand Up @@ -120,7 +118,6 @@ togglbutton.render(
className: "github",
description: getDescription,
projectName: projectElem && projectElem.textContent,
autoTrackable: true
});

const wrapper = createTag(
Expand Down
6 changes: 4 additions & 2 deletions src/content/onlyoffice.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ togglbutton.render(
className: 'onlyoffice',
description: description,
projectName: project,
buttonType: 'minimal'
buttonType: 'minimal',
autoTrackable: true
});
$('.project-title').appendChild(link);
}
Expand Down Expand Up @@ -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);
Expand Down
3 changes: 2 additions & 1 deletion src/content/trello.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit d6b3726

Please sign in to comment.