Repository navigation
Group logins per person and give every paid login its own seat - #98
Merged
Merged
Conversation
A person with several logins for a tool (personal, work, stale placeholders) used to appear once per login. The Limits table now shows one row per person, led by the login closest to a limit (then one reporting any window, then a named login, then the most recently seen), with the rest behind a "Show N other logins" toggle. The reporting count now counts people rather than logins. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
A person can hold several plans for one tool at once (a work Team seat and a personal Pro or Max), and each is real spend. Detected seats were one per person (strongest login), and the page flagged every other login as a mismatch with a "Use detected plan" button that would have replaced the seat with whichever login reported last. - Seat sync keeps one detected seat per named paid login, drawn from every active device of the person, and ends seats for logins they no longer have. Nameless placeholder logins never get a seat while a named login exists. Admin-confirmed seats are still left alone. - The device-health cron re-derives detected seats for every org, so seats created under an old plan mapping (e.g. Team shown as Free) are corrected without waiting for a device to report a change. - Each person's Limits row leads with the login they used most this period; their other logins and plans sit under the toggle. - The mismatch nudge and its button are gone for detected seats. Only an admin-assigned seat that none of the person's logins report gets a note. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
A person with several logins for a tool (personal, work, stale placeholders) appeared once per login in the Limits table, so the same person showed up three or four times.
aria-expanded) and render as indented sub-rows.Tested with a new component test (one person, three logins, busiest leads, toggle expands); the admin unit and component suites pass and the type-check is clean.
Per-login seats (5c05295)
New DB tests cover two logins → two seats, sign-out ending a seat, reconcile replacing an old Free seat, and admin seats being left alone.
🤖 Generated with Claude Code