Skip to content

Tracker integration on github pull request page not showingΒ #2409

@kjeldahl

Description

@kjeldahl
  • OS version: MacOS (Tahoe 26.2 (25C56))
  • Browser version: Firefox 147.0.3, Brave
  • Extension version: FF 4.11.8

Relevant integration (if any):

github

πŸ› Describe the bug

The tacker button is no longer being shown when accessing a github PR page

Expected behaviour

The button to start tracking time is shown and acting normally

Steps to reproduce

Steps to reproduce the behaviour:

  1. Go to https://github.com/.../pull/<999>
  2. See that the button is not there

Other details or context

In the console a message is shown:

TypeError: can't access property "textContent", titleElem is null
    <anonymous> moz-extension://9fc600f1-a537-4f87-be2e-a569c01daec8/src/content/github.js:1
    renderTo moz-extension://9fc600f1-a537-4f87-be2e-a569c01daec8/src/content/index.js:2289
 
Array []
index.js:12:63821

This is caused by the fact that

const titleElem = $('.js-issue-title')
does not find the .js-issue-title element and the error is raised in line 44 when it is referenced

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions