shridhar-tl / jira-assistant

Repository containing source code of Jira Assistant browser extension. This is also used to track bugs related to the extension.
https://www.jiraassistant.com
235 stars 74 forks source link

Time Tracker not showing up #336

Open Jedrzej94 opened 8 months ago

Jedrzej94 commented 8 months ago

Checklist before you being

How do you use Jira Assistant?

Browser extension

Are you using cloud version of Jira or self hosted (data center / server) of Jira.

Cloud Jira

Version of Jira Assistant

Latest

What browser are you using?

Chrome

What OS are you using? You need not disclose this if you feel it is irr-relevant for your issue.

Windows

Bug Description

In the latest version of Jira (9.11.2) the Time Tracker doesn't show up anymore. I guess this is because they've changed the layout a bit?

image

The Play/Pause/Stop buttons are not showing up.

Checklist before you submit

shridhar-tl commented 8 months ago

Hi @Jedrzej94, Thank you for reporting this issue. Currently after this recent update, there are no unique id's or classes which can be used to attach these controls for individual issues. This time I have tried to fix it. But not sure when it would again break.

The fix would be available for extension uses as part of upcoming release planned for next week. I will update you once again once changes has been published.

Jedrzej94 commented 5 months ago

HI @shridhar-tl , any news on that? I have updated my JA to the latest version and sadly the feature is still not there. Is it still in some other branch?

shridhar-tl commented 5 months ago

@Jedrzej94 - Unfortunately, by the time updates are published, once again structure is slightly modified and it got broken already. I have already noticed it last month end, however, now, I don't see a reliable way to attach this functionality to boards.

I will wait for some more time to see if I could find a way. Otherwise, I will have to remove this functionality. For now you can think this functionality is not there anymore.

talltechdude commented 4 months ago

Hi @shridhar-tl, it looks like the selector has just changed by dropping a dash from the data-test-id which you're already using at https://github.com/shridhar-tl/jira-assistant/blob/8006231ac543de26b19026a868122242a242017e/src/content-scripts/jira-board.js#L20

    const selector = '#ak-main-content div[data-test-id="platform-board-kit.ui.card.card"]';

is now:

    const selector = '#ak-main-content div[data-testid="platform-board-kit.ui.card.card"]';

Just checking if you didn't have the chance to debug this, or if you're just concerned that it will continue to change and become too burdensome to keep on top of these selector and DOM changes? Its a useful feature for someone who lives on that board page day-in, day-out in the Agile world.