Open zdericnina opened 4 years ago
Case Refence This user has TogglButton/1.70.1
This is still not working, any idea on when this will be picked up?
Fixed it for myself, following the https://github.com/toggl/track-extension/blob/master/docs/CONTRIBUTING.md styling isn't great but it is functioning, which is the most important for me.
Will see if I can find time to fix it properly and then add a PR.
code:
// Calendar events
togglbutton.render(
'[data-app-section="CalendarItemPeek"]:not(.toggl)',
{ observe: true },
(elem) => {
const link = togglbutton.createTimerLink({
className: "outlook",
description: () => document.querySelector('span[aria-label="Title"]').textContent
});
elem.appendChild(link);
}
);
Relevant integration (if any):
outlook.live.com outlook.office.com
🐛 Describe the bug
Toggl Track button isn't showing up on the calendar events (as they used to)
Expected behaviour
Start Timer button should be shown on the calendar event in the same way as it does appear on Google calendar. The button does appear next to email subject but not on the calendar.
Steps to reproduce
Steps to reproduce the behaviour:
Other details or context
Case reference