Skip to content

releases-tab: not visible when GitHub's Feature preview - "Global Navigation Update" is disabled #6899

Closed

Description

@rocka

Description

release-tab is not visible when GitHub's Feature preview - "Global Navigation Update" is disabled

image

turns out there are multiple .UnderlineNav-body on the page, and the last one is the desired target:

image

How to replicate the issue + URL

Extension version

23.9.7

Browser(s) used

Chromium 117.0.5938.48

Activity

  1. 134130 commented on Sep 10, 2023

    @134130
    Contributor

    We can fix just editing selector .UnderlineNav-body to ul.UnderlineNav-body
    This one is both on Feature preview and not.

    const repoNavigationBar = (await elementReady('.UnderlineNav-body'))!;

  2. fregante commented on Sep 10, 2023

    @fregante
    Member

    Bug confirmed, thank you for the report.

    I don't know if we should fix it but it's worth a try. Note that we're already targeting the specific ul nav, but we also have a duplicate selector in releases-tab which is probably causing the issue.

    export const underlineNavDropdownUl = '.js-responsive-underlinenav .dropdown-menu ul';

  3. shayded-exe commented on Oct 22, 2023

    @shayded-exe

    The releases tab still isn't showing up for me on 23.10.5 with the global navigation bar enabled. I don't have an option to turn it off in my feature preview settings.

    I made sure I have the releases-tab setting enabled.

    image

  4. fregante commented on Oct 22, 2023

    @fregante
    Member

    You need to set the token

  5. shayded-exe commented on Oct 22, 2023

    @shayded-exe

    You need to set the token

    Ah gotcha, thanks!

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions