Skip to content

bugs-tab - Hide when issues are disabled - #10040

Merged
fregante merged 1 commit into
mainfrom
no-bugs
Sep 11, 2026
Merged

fregante merged 1 commit into
mainfrom
no-bugs

Conversation

@fregante

@fregante fregante commented Sep 4, 2026

Copy link
Copy Markdown
Member

@fregante fregante changed the title no bugs bugs-tab - Hide when issues are disabled Sep 4, 2026
@github-actions github-actions Bot added the bug label Sep 4, 2026
typeBug: issues(filterBy: { type: "Bug", states: OPEN }) {
totalCount
}
issues: issues(states: [OPEN]) {

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.

I thought about using hasIssuesEnabled but we want to ensure that the number of bugs doesn't exceed the number of issues anyway, so Math.min() is enough

@fregante
fregante merged commit bac442a into main Sep 11, 2026
23 checks passed
@fregante
fregante deleted the no-bugs branch September 19, 2026 05:26
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.

Hide "Bugs" tab when issues are disabled.

1 participant