Skip to content

[extensible-nav] Security/Insights/Wiki icons are not rendered in nav bar #10383

Open

Description

@Araxeus

Description

extensible-nav is enabled - disabling it make the bug disappear (and also the console logs)

Image
ElementNotFoundError: Expected element not found: #js-repo-pjax-container,#js-pjax-container,#repo-content-turbo-frame,#repo-content-pjax-container,[data-turbo-body]
    at lastElement (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/npm/select-dom.js:71:8)
    at getTarget (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/components/tooltip.svelte.js:34:10)
    at move (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/helpers/portal.js:5:3)
    at portal (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/helpers/portal.js:7:24)
    at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/components/tooltip.svelte.js:115:53
    at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/npm/svelte-internal-client-dom-elements-actions.js:15:31
    at untrack (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/npm/svelte-internal-client-runtime.js:372:10)
    at chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/npm/svelte-internal-client-dom-elements-actions.js:15:17
    at update_reaction (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/npm/svelte-internal-client-runtime.js:148:16)
    at update_effect (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/npm/svelte-internal-client-runtime.js:254:18)

How to replicate the issue + URL

https://github.com/Araxeus/winkey-startmenu-disabler

interestingly enough - this bug appears when on the main page of the repo, but not when inside an issue for example

also on https://github.com/refined-github/refined-github the security icon does work, but the insights don't (while on the other repo i linked, the security icon doesnt work either)

Image

Extension version

26.11.6

Browser(s) used

Chrome 157.0.8103.39

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Activity

  1. changed the title [-]Expected element not found: #js-repo-pjax-container,#js-pjax-container,#repo-content-turbo-frame,#repo-content-pjax-container,[data-turbo-body][/-] [+][extensible-nav] Security/Insights/Wiki icons are not rendered in nav bar[/+] on Nov 8, 2026
  2. changed the title [-][extensible-nav] Security/Insights/Wiki icons are not rendered in nav bar[/-] [+][`extensible-nav`] Security/Insights/Wiki icons are not rendered in nav bar[/+] on Nov 8, 2026
  3. fregante commented on Nov 8, 2026

    @fregante
    Member

    Thanks for the report. Can you look into your "feature previews" on GitHub? Try enabling or disabling the command palette. I wonder if that affects it.

    Either way this is rather strange, the icons are part of our own code so if they're missing then Svelte is having some issues rendering them. It's entirely possible that the error you saw in the console is the cause since that is a hook called by our svelte components.

  4. Araxeus commented on Nov 9, 2026

    @Araxeus
    Author

    My command palette was off in "feature previews". once i enabled it - the icons reappeared O_o

    how did you know its related to that?

    anyways it would be nice if it could be fixed so that it works even if the palette is disabled (i dont like that feature in github so i disabled it)

  5. Vangelis66 commented on Nov 10, 2026

    @Vangelis66

    I experienced something similar when I visited the root repo page of uBlock Origin, with the Command Palette preview feature disabled; browser is Fx-140esr and the latest RGH release, 26.11.6:

    https://github.com/gorhill/uBlock

    Image

    In addition to the empty (but clickable) placeholders for the Projects, Security & quality and Insights (pulse) buttons, you'll also notice missing icons for the PRs, Actions, Wiki and Releases tabs... Move away from the main page, e.g. to the PRs tab, and the missing icons+missing last three (textless) buttons do show up:

    Image

    NB1: The 3 textless buttons to the right do have working tooltips (Insights button tooltip depicted above)

    If I enable the Command Palette preview feature, this is how the root repo page header looks like:

    Image

    NB2: The 3 textless buttons to the right do have working tooltips (Security & quality button tooltip depicted above)

    Now, if I "upgrade" RGH-v26.11.6 to the latest artifact produced based on #10385,

    https://github.com/refined-github/refined-github/actions/runs/42604545642/artifacts/13667885525

    (and, of course, disable Command Palette), I get this:

    Image

    Two issues seeing above: a) the "special" PRs icon ("Only collaborators can create PRs") has been replaced with the generic PRs tab icon b) the 3 textless buttons to the far right have no working tooltips....

    And amidst all that, lies another hidden extensible-nav bug: The uBlock Origin repo has issues creation reserved only for collabs, hence it employs a "special" Issues tab icon; one can see that by disabling the extensible-nav RGH feature:

    Image

    ... but when extensible-nav is ON, the "generic" Issues tab icon always replaces it...

    Hopefully, my detailed report and screengrabs will help towards fixing most, if not all, of these extensible-nav bugs on a root repo page with Command Palette disabled 😉 ...

    As always, huge thanks for your efforts into keeping RGH functional ❤️ !

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