You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Show the inventory key ID and upstream plan ID for each Coding Plan subscription in the admin operations table.
Why this change is needed
Admins need these identifiers when investigating subscriptions and working with upstream provider records. Previously, the subscriptions table exposed only the subscription ID.
How this is addressed
Add both identifiers to the admin-only subscriptions response.
Display them together in a compact table column.
Provide a copy action for each available identifier and show an em dash when one is unavailable.
Cover the admin response contract with a router regression test.
Human Verification
Coding Plans router suite: 29 tests passed.
Reviewer Notes
Human Reviewer Flags
No notable items for human review beyond what the summary covers.
Code Reviewer Agent
Code Reviewer Notes
The upstream plan ID is selected through the existing inventory left join, so subscriptions without inventory remain supported.
The new identifiers are exposed only by the admin procedure.
Static typechecking, linting, formatting, and diff checks pass.
Reviewed the admin subscriptions identifier display change with high confidence. The router exposes inventoryKeyId and upstreamPlanId only via the admin procedure using the existing inventory left join (null-safe for subscriptions without inventory), the table column count and colSpan updates (7 → 8) are consistent, the copyIdentifier refactor preserves existing copy behavior with correct promise handling (void on click handlers), and the new regression test is properly isolated via the suite's afterEach cleanup. No memory-leak vectors (listeners, intervals, or retained references) introduced.
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
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
Show the inventory key ID and upstream plan ID for each Coding Plan subscription in the admin operations table.
Why this change is needed
Admins need these identifiers when investigating subscriptions and working with upstream provider records. Previously, the subscriptions table exposed only the subscription ID.
How this is addressed
Human Verification
Reviewer Notes
Human Reviewer Flags
No notable items for human review beyond what the summary covers.
Code Reviewer Agent
Code Reviewer Notes