Skip to content

extensible-nav - Follow GitHub's nav when it updates after load - #10328

Draft
fregante wants to merge 3 commits into
mainfrom
claude/extensible-nav
Draft

fregante wants to merge 3 commits into
mainfrom
claude/extensible-nav

Conversation

@fregante

@fregante fregante commented Oct 25, 2026 •

Copy link
Copy Markdown
Member

Created by Claude, will be reviewed by @fregante first.

Re-reads GitHub's native nav whenever its current tab or its limited-PRs icon changes, so the extensible nav no longer keeps whatever GitHub had rendered at the moment it first read it. DomChef now re-renders when its as changes, because it only rendered once.

Fixes #10122
Fixes #10037

Test URLs

https://github.com/refined-github/refined-github
https://github.com/refined-github/refined-github/pulse
High counters https://github.com/microsoft/vscode
Blocked PRs https://github.com/sindresorhus/eslint-plugin-unicorn

Also the repro from #10037: https://github.com/sindresorhus/awesome

Possibly related, not touched here: #10317

Checked

Chromium, logged out, with the built extension on the server-rendered markup of https://github.com/refined-github/refined-github and GitHub's scripts blocked. I then mutated the native nav the way GitHub would after the extension has read it, on main and on this branch:

Not checked (reviewer tasks)

@github-actions github-actions Bot added the bug label Oct 25, 2026
fregante and others added 2 commits October 26, 2026 05:04
# Conflicts:
#	source/features/extensible-nav.tsx

This branch has not been deployed

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

Labels

Development

Successfully merging this pull request may close these issues.

active tab of the extensible-nav sometimes lags behind extensible-nav sometime doesn't detect "limited PRs" icon

1 participant