Skip to content

feat(github): a setting to leave team review requests out of the PRs tab - #305

Merged
adefreitas merged 2 commits into
StackOneHQ:mainfrom
adefreitas:feat/github-hide-team-reviews
Dec 3, 2026
Merged

adefreitas merged 2 commits into
StackOneHQ:mainfrom
adefreitas:feat/github-hide-team-reviews

Conversation

@adefreitas

Copy link
Copy Markdown
Collaborator

This PR adds a setting to drop reviews asked only of your teams from the PRs tab. It lives at Settings → Integrations → GitHub → Team review requests (STACKNUDGE_GITHUB_TEAM_REVIEWS) and is on by default, so nothing changes until you turn it off.

With it off, the PRs tab and its count list only reviews asked of you by name. Notifications are unchanged: team requests never became events. MCP clients can read and write the setting through the settings registry.

Checks

  • make test-without-xcode passes: 2148 tests, 0 failures. A new test checks that team requests are listed with the setting on and left out with it off, and the GitHub page's row list includes the new row.

🤖 Generated with Claude Code

@hiskudin hiskudin left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The filter is right. A PR is only dropped when you aren't among its named reviewers, so one that asks you by name and also asks your team is kept, and your own PRs are untouched. The tab count and the selection clamp use the same rows, and the default keeps existing behaviour. The suite passes (2148). Two nits.

Comment thread panel/PullRequestsView.swift Resolved
Comment thread panel/PullRequestsView.swift Resolved
@adefreitas
adefreitas force-pushed the feat/github-hide-team-reviews branch from 8977fa0 to 67c767f Compare December 3, 2026 10:35
adefreitas and others added 2 commits December 3, 2026 10:50
Settings → Integrations → GitHub → Team review requests, on by default
(STACKNUDGE_GITHUB_TEAM_REVIEWS). Off, the PRs tab lists only reviews
asked of you by name. Team requests never became events either way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Search with user-review-requested when team reviews are off, so team requests can't fill the 50 results and push direct ones out
- The poller keeps its own copy of the setting on its queue; a change polls at once
- Say in the empty PRs tab that team review requests are hidden and where to turn them on (no count: they aren't fetched)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@adefreitas
adefreitas force-pushed the feat/github-hide-team-reviews branch from 67c767f to e1554a6 Compare December 3, 2026 11:00
@adefreitas
adefreitas merged commit 8b4681e into StackOneHQ:main Dec 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants