Skip to content

add-filter-comments-by-you feature broken on GHE #1702

Closed

Description

@busches

GHE is still using a elements instead of li elements all over the place in the UI. Which results in this selector:https://github.com/sindresorhus/refined-github/blob/3737e091b697bf87f0ec4964eb726ab8eaf5ad10/source/features/add-filter-comments-by-you.js#L9 returning a null then the .before call failing.

Selector for GHE will be: .subnav-search-context a:last-child.

Also the markup is different, here is a sample:

<a href="https://<URL>/<org>/<repo>/issues?q=is%3Aopen+mentions%3Abusches+sort%3Aupdated-desc" class="select-menu-item js-navigation-item">
    <div class="select-menu-item-text">
      Everything mentioning you
	</div>
</a>

Note, we're still on GHE 2.14 series and 2.15 is out, if 2.15 has fixed the markup issue then this can be ignored.

Activity

  1. added
    enterprise
    on Jan 14, 2019
  2. fregante commented on Feb 15, 2019

    @fregante
    Member

    Did 2.15 fix it?

  3. busches commented on Feb 15, 2019

    @busches
    MemberAuthor

    They haven't upgraded yet. "Soon", it's like Blizzard's soon.

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

    enterprise

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions