Skip to content

extensible-nav - Add support for "Models" and Locked PRs - #9835

Merged
fregante merged 3 commits into
mainfrom
nav-models
Jul 15, 2026
Merged

fregante merged 3 commits into
mainfrom
nav-models

Conversation

@fregante fregante changed the title Add support for Models extensible-nav - Add support for Models Jul 15, 2026
@fregante fregante changed the title extensible-nav - Add support for Models extensible-nav - Add support for Models tab Jul 15, 2026
@fregante fregante added the bug label Jul 15, 2026
@fregante
fregante marked this pull request as ready for review July 15, 2026 18:05
@fregante fregante changed the title extensible-nav - Add support for Models tab extensible-nav - Add support for Models tab and Locked PRs icon Jul 15, 2026
@fregante fregante changed the title extensible-nav - Add support for Models tab and Locked PRs icon extensible-nav - Add support for "Models" and Locked PRs Jul 15, 2026
// Temporarily "w" until tooltipped() is brought over to Svelte
// TODO: https://github.com/refined-github/refined-github/issues/9810
class:tooltipped-w={tab.tooltip}
aria-label={tab.tooltip}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Image

Will continue in:


// Some tabs swap their icon depending on state
const lockedPrs = elementExists('[data-component="icon"] svg.octicon-git-pull-request-locked', item);
const icon = knownTabsIcons.get(lockedPrs ? 'pull-requests-locked' : itemId);

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The only currently-known exception. We can think of a cleaner way once we find more.

@fregante
fregante merged commit 6421bb1 into main Jul 15, 2026
37 checks passed
@fregante
fregante deleted the nav-models branch July 15, 2026 18:22
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.

extensible-nav lacks support for limited PRs tab and Models

1 participant