Conversation
… family POST /teams/search accepts a case-insensitive filters.family; SearchTeams excludes any team whose Family doesn't exactly match, including teams with no family at all. AbtDashboardHeader now derives the family to request from the current dashboard's type (cre -> cre-abt, sre -> sre-abt) via the new abtFamilyForDashboardType, so a cre-type dashboard's picker offers only cre-abt teams instead of every team in the registry (previously every non-ABT cre team, e.g. "Americas CS Team - Integraion", showed up alongside the real ABT teams). CsmDashboardPage's own useTeams call for resolving the signed-in user's own team into a groupId stays unfiltered on purpose: that user's team can be outside the current dashboard's family (a non-ABT cre team member viewing a cre dashboard), so it can no longer share a query key/cache entry with the header's now family-scoped picker query.
|
Warning Review limit reached
Next review available in: 59 minutes You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. How can I continue?After more reviews become available, a review can be triggered using the To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews. How do review limits work?CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability. For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window. Please refer docs for additional details. Review details⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Consolidating into #1342 instead — same commit pushed there. |
Purpose
The ABT dashboard's team picker lists every team in the registry regardless of the dashboard's own type, so a CRE-type dashboard's picker shows every CRE team including ones that have nothing to do with ABT (e.g. a generic integration team), alongside the real ABT teams. We are adding a way to scope that picker to the right team family. No related issue.
Goals
POST /teams/searchaccepts an optionalfilters.familyso a caller can ask for only the teams belonging to a given family.Approach
filters.familyonPOST /teams/searchdoes a case-insensitive exact match against each team's configured family, excluding teams with no family at all when a family filter is given. New test covers the filter.AbtDashboardHeaderderives the family from the current dashboard's type via a newabtFamilyForDashboardTypehelper (cre → cre-abt, sre → sre-abt) and passes it throughuseTeams. The dashboard page's own separateuseTeamscall — used only to resolve the signed-in user's own team into a group id — is deliberately left unfiltered, since a user's real team can be outside the dashboard's own family; it no longer shares a query key with the header's now-scoped query.openapi.yamlupdated for the new request/response fields.User stories
N/A — internal dashboard UX improvement, not a distinct user story.
Release note
The ABT dashboard's team picker now shows only the teams that belong to that dashboard's own family, instead of every team in the registry.
Documentation
N/A — no external product docs describe this internal dashboard behavior.
Training
N/A — no training content covers this internal dashboard.
Certification
N/A — no certification exam covers this internal dashboard.
Marketing
N/A — internal UX improvement, no user-facing feature to promote.
Automation tests
Security checks
go vetandeslintran clean insteadSamples
N/A
Related PRs
None.
Migrations (if applicable)
N/A — no data migration; this is an additive request/response field.
Test environment
Local development environment (macOS), Go 1.26+, Node/npm per
apps/csm-portal/webapp/package.json.Learning
N/A