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

Timers don't show on Board without Rank enabled #300

Closed talltechdude closed 1 year ago

talltechdude commented 1 year 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

2.48

What browser are you using?

Edge

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

MAC OS

Bug Description

Worklog timer play/pause/stop buttons don't appear for Jira Boards that don't have rank enabled. Without rank enabled, the CSS class .ui-sortable is not added so the selectors don't work: https://github.com/shridhar-tl/jira-assistant/blob/d904205af0167c32e9337cac8dcc7d8dc98e9c9a/src/content-scripts/jira-board.js#L8-L12

Can we remove this class from both these selectors? Retaining div.js-issue seems to still target the correct elements from my testing, and allows the use of non-ranked boards (e.g. board sorted by priority etc)

Checklist before you submit

shridhar-tl commented 1 year ago

Hi @talltechdude, Thank you for reporting this issue. This issue has been fixed as per your suggestion and would be available as part of JA v2.49 for extension users.

Closing this ticket hoping this issue is resolved.