feat: adds upstream repo discovery and multi-user tracking#36
Merged
wgordon17 merged 13 commits intogordon-code:mainfrom Mar 30, 2026
Merged
Conversation
eea5f58 to
77530db
Compare
Replaces activity-based org sorting in RepoSelector with personal org first (type user), then remaining orgs alphabetically. Upstream section remains structurally last. Repos within orgs retain recency order from fetchRepos.
- refactor(api): extracts executeLightCombinedQuery shared helper, eliminating ~80 lines of duplication between graphqlLightCombinedSearch and graphqlGlobalUserSearch - fix(api): removes superfluous !userLogin from early exit guard - fix(api): guards onLightData to only fire when results exist - perf(api): swaps PR_SEARCH_QUERY to LIGHT_PR_SEARCH_QUERY in discoverUpstreamRepos for lower GraphQL point cost - fix(api): unifies VALID_LOGIN with VALID_TRACKED_LOGIN regex - refactor(dashboard): extracts buildSurfacedByUsers helper, removes duplicated surfacedByBadge logic from IssuesTab and PullRequestsTab - fix(dashboard): guards allUsers memo against empty login - fix(dashboard): adds stale user-filter guard for removed tracked users - fix(settings): renumbers section comments after Tracked Users insertion - refactor(tabs): imports TrackedUser type instead of inline declaration - perf(onboarding): uses Set for manualUpstreamRepos dedup - test: adds ConfigSchema, TrackedUsersSection, RepoSelector, and api-users coverage for identified gaps
- adds GET /repos/{owner}/{repo} check on manual upstream entry
- 404 shows "Repository not found", disables input during check
- enables "Finish Setup" when upstream repos selected (no org repos)
- updates button repo count to include upstream repos
- adds "involved" fallback role when upstream item has no specific author/assignee/reviewer match (ghost badge-sm styling) - settings repo count now includes upstream repos with breakdown
e6ed7ed to
81390af
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary