Skip to content

feat(dependencies): exclude repos/orgs from Dependencies tab - #128

Merged
wgordon17 merged 10 commits into
gordon-code:mainfrom
wgordon17:feat/dependency-exclusions
Aug 17, 2026
Merged

feat(dependencies): exclude repos/orgs from Dependencies tab#128
wgordon17 merged 10 commits into
gordon-code:mainfrom
wgordon17:feat/dependency-exclusions

Conversation

@wgordon17

Copy link
Copy Markdown
Member

Summary

  • Adds excludedOrgs/excludedRepos to the Dependency config schema and a new Settings → Dependencies checkbox-tree modal, letting users hide specific repos or entire orgs from the Dependencies tab (bot PRs and Renovate Dashboard abandoned-package badges) without affecting Issues, Pull Requests, or Actions
  • Preserves existing cross-tab exclusivity by filtering a new visibleDependencyPullRequests memo on top of the unfiltered classification, so excluded repos' bot PRs vanish entirely instead of reappearing in Pull Requests
  • Extracts a shared OrgRepoCheckboxTree component from CustomTabModal's inline checkbox-tree JSX, reused by both the existing custom-tab scope picker and the new exclusion modal

Closes #126

Preserves exclusivity claiming on the unfiltered classification so
excluded repos' bot PRs vanish entirely instead of reappearing in
the Pull Requests tab.
OrgRepoCheckboxTree is a shared, checked-semantics-agnostic org/repo
checkbox tree extracted from CustomTabModal's inline JSX. It is
reused by both CustomTabModal (unchanged behavior) and the new
DependencyExclusionModal, which manages excludedOrgs/excludedRepos
with inverted checkbox semantics (checked = excluded).
Covers all 11 scenarios (S1-S11) from the dependency-exclusions
test plan using @amiceli/vitest-cucumber, following the existing
org-order-stability.steps.tsx pattern.
Adds a regression test proving excludedOrgs/excludedRepos survive
a selectedRepos update when the excluded repo remains reachable
via upstreamRepos, per the pruning-exemption invariant documented
above this describe block.
The plan's own literal UI/doc copy claimed excluded repos "still
appear in Issues, Pull Requests, and Actions," contradicting the
plan's own exclusivity design and the actual implemented behavior:
a dependency-bot PR from an excluded repo does not reappear on the
Pull Requests tab, it vanishes entirely. Corrects the SettingRow
description, the exclusion modal's body copy, and the User Guide
table row to say so, consistent with the Auto-Detection section's
existing (correct) wording.
Extracts createOrgRepoSelection from duplicated toggle/build logic in
CustomTabModal and DependencyExclusionModal, following the existing
createFlashDetection/createReorderHighlight composable convention.

Adds test coverage for gaps found in review: stale excludedRepos
entries on save, overlapping selectedRepos/monitoredRepos pools, the
pre-migration config shape missing excludedOrgs/excludedRepos, the
excludedOrgs exclusivity path, and depMeta surviving pruning for an
excluded-but-still-tracked PR.

Fixes a double nested scroll container in DependencyExclusionModal
and extracts the duplicated findCheckboxByLabelText test helper into
tests/helpers/index.tsx.
@wgordon17
wgordon17 marked this pull request as ready for review August 17, 2026 20:20
@wgordon17
wgordon17 requested a review from a team August 17, 2026 20:20
@wgordon17
wgordon17 merged commit 5db4981 into gordon-code:main Aug 17, 2026
1 check passed
@wgordon17
wgordon17 deleted the feat/dependency-exclusions branch August 17, 2026 20:25
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.

Support excluding repos or orgs from the Dependencies tab

1 participant