feat(admin): add KiloClaw subscription management and tabbed user detail layout - #2196
Merged
Conversation
…ail layout - Reorganize admin user detail into persistent account info header with URL-backed tabs (Billing, Organizations, KiloClaw, Gas Town, Admin Tools) - Expand getKiloClawState to return all subscription rows with instance metadata - Add cancelKiloClawSubscription mutation (period_end + immediate modes) - Rewrite KiloClaw UI with subscription list, hide-inactive toggle, cancel dialog - Inline external links (Stripe, HIBP, Gravatar) into account info card - Merge Danger Zone into Admin Tools tab
Contributor
Code Review SummaryStatus: 2 Issues Found | Recommendation: Address before merge Overview
Issue Details (click to expand)CRITICAL
WARNING
Other Observations (not in diff)Issues found in unchanged code that cannot receive inline comments:
Files Reviewed (8 files)
Reviewed by gpt-5.4-20260305 · 831,660 tokens |
…ancel flow - Add subscriptionId to UpdateKiloClawTrialEndAtSchema and scope the backend query/update to the specific subscription row - Default past_due rows to immediate-only cancel mode in the dialog - Update tests to pass subscriptionId for all trial mutation calls
pandemicsyn
approved these changes
Apr 8, 2026
pandemicsyn
pushed a commit
that referenced
this pull request
Aug 28, 2026
…5636) chore(admin): remove unused UserAdminExternalLinks component This component was superseded by UserAdminAccountInfo, which reimplements the same Stripe/HIBP/Gravatar links inline, and is the one actually rendered by UserAdminTabbedSections. UserAdminExternalLinks has had no importers since the tabbed user-detail layout was introduced in #2196. Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.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.
Summary
Verification
Visual Changes
Reviewer Notes
Code Reviewer Notes
getKiloClawStatenow returns all subscription rows with joined instance metadata alongside the existingsubscription(effective) field.cancelKiloClawSubscriptionmutation handles Stripe schedule release, Stripe subscription cancellation (no refund), and local DB state transitions. Writeskiloclaw.subscription.admin_cancelaudit log entries.kiloclaw.subscription.admin_canceladded toKiloClawAdminAuditActioninschema-types.ts.