clockify / browser-extension

Clockify Browser Extension
https://clockify.me/chrome-time-tracking
BSD 3-Clause "New" or "Revised" License
185 stars 172 forks source link

Jira "start timer" missing #33

Closed grantlucas closed 5 years ago

grantlucas commented 5 years ago

In Issue #8 it mentioned Jira "start timer" was missing and I have yet to see it return. Looking at console, I'm seeing an error when it's trying to render the Clockify button

Error handling response: TypeError: Cannot read property 'childNodes' of null

The stack trace starts at atlassian.js, line 14.

Screenshots

Screenshot 2019-09-23 15 52 03

Screenshot 2019-09-23 16 02 27

Screenshot 2019-09-23 15 56 19

grantlucas commented 5 years ago

I've cloned this project locally and have the extension running in a development mode. So far, I've been able to deduce that the selector for the project variable isn't finding anything. I can't figure out from the markup what it's trying to look for.

If I set const project = '' the timer shows up properly and functions as expected.

Can you elaborate on what the project selector is looking for so that I might be able to fix it in a PR?