Skip to content

#repo-content-pjax-container is gone #5751

Description

@fregante

Extension version

main

Browser(s) used

Chrome

Description

  1. Open https://github.com/refined-github/refined-github/issues
  2. #repo-content-pjax-container exists
  3. Click on Issues tab
  4. #repo-content-pjax-container is gone, see console error on this line

select('#repo-content-pjax-container .js-navigation-container')!.classList.add('rgh-dim-bots--after-hover');

Related code: https://github.com/refined-github/refined-github/search?q=repo-content-pjax-container

However GitHub’s own code is still using this selector too, so it might be a temporary issue. The specific console error could probably be avoided though

Activity

  1. added
    meta
    on Jun 29, 2022
  2. fregante commented on Jun 29, 2022

    @fregante
    Author
  3. fregante commented on Jun 29, 2022

    @fregante
    Author
  4. added
    Please! ♥︎
    on Jun 29, 2022
  5. removed
    Please! ♥︎
    on Jul 1, 2022
  6. fregante commented on Jul 1, 2022

    @fregante
    MemberAuthor

    The main bug for this was fixed, but it needs further exploration because it's mentioned in several places

  7. fregante commented on Jul 2, 2022

    @fregante
    Author
  8. levrik commented on Jul 4, 2022

    @levrik
  9. fregante commented on Jul 4, 2022

    @fregante
    Author
  10. levrik commented on Jul 6, 2022

    @levrik
  11. kidonng commented on Jul 6, 2022

    @kidonng
    Member

    We have a lot on our plate 😅

    $ rg -l repo-content-pjax-container | xargs basename -s .tsx | sort
    comments-time-machine-links
    default-branch-button
    dim-bots
    index
    latest-tag-button
    linkify-branch-references
    linkify-symbolic-links
    quick-review
    rgh-feature-descriptions
    rgh-linkify-features
    same-branch-author-commits
    swap-branches-on-compare
    useful-forks

    On a side note, [data-pjax] usage (mostly overlaps):

    $ rg -l data-pjax | xargs basename -s .tsx | sort
    comments-time-machine-links
    default-branch-button
    global-search-filters
    latest-tag-button
    linkify-branch-references
    linkify-symbolic-links
    list-prs-for-file
    quick-review
    repo-wide-file-finder
    rgh-feature-descriptions
    rgh-linkify-features
    swap-branches-on-compare
  12. fregante commented on Jul 8, 2022

    @fregante
    Author
  13. kidonng commented on Jul 8, 2022

    @kidonng
  14. fregante commented on Oct 12, 2022

    @fregante
    MemberAuthor

    Same goes for the .repository-content selector, which targets the same element. It causes:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    acceptedbugmeta

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions