Skip to content

feat(profile): add KiloClaw banner/CTA to profile page#1382

Merged
evanjacobson merged 3 commits intomainfrom
feat/profile-kiloclaw-banner
Mar 24, 2026
Merged

feat(profile): add KiloClaw banner/CTA to profile page#1382
evanjacobson merged 3 commits intomainfrom
feat/profile-kiloclaw-banner

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot bot commented Mar 23, 2026

Summary

  • Add a contextual KiloClaw banner to the /profile page that adapts based on the user's KiloClaw instance state
  • Users without a KiloClaw instance see a blue "Get started with KiloClaw" CTA with a brief description and a "Get Started" button linking to /claw
  • Users with an existing instance see a green "KiloClaw is running" banner with an "Go to KiloClaw" button linking to /claw
  • The banner is a client component that queries trpc.kiloclaw.getBillingStatus to detect instance state, consistent with the existing pattern in src/app/(app)/claw/page.tsx

Verification

  • pnpm typecheck — passes with no errors in root project
  • oxfmt --list-different . — passes (code is formatted)
  • oxlint — passes with 0 warnings and 0 errors

Visual Changes

  • No instance:
image
  • Has instance:
image

Reviewer Notes

  • Positioned between the Kilo Pass section and the Organizations section for visibility without disrupting the existing credit/billing flow
  • Uses the same trpc.kiloclaw.getBillingStatus query that the /claw page uses, so no new API surface is introduced
  • Shows a subtle loading spinner while billing status loads; silently hides on error to avoid blocking the profile page
  • Design follows the existing banner pattern (e.g., InsufficientBalanceBanner, BillingBanner) using color-coded border/bg with icon, text, and action button

Add a contextual KiloClaw banner to the /profile page that adapts based
on whether the user has an existing KiloClaw instance. New users see a
'Get Started' CTA linking to /claw, while existing users see an
'Open Dashboard' CTA to manage their instance.
Comment thread src/components/profile/ProfileKiloClawBanner.tsx
@kilo-code-bot
Copy link
Copy Markdown
Contributor Author

kilo-code-bot bot commented Mar 23, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (2 files)
  • src/app/(app)/profile/page.tsx
  • src/components/profile/ProfileKiloClawBanner.tsx

Reviewed by gpt-5.4-20260305 · 378,146 tokens

kilo-code-bot bot and others added 2 commits March 23, 2026 14:53
…ce existence

The green 'active' banner now only shows when the user has both an
existing instance AND valid billing access (hasAccess). Users with an
instance but lapsed access (expired trial, canceled subscription,
past-due suspension) see an amber warning banner directing them to
resolve billing on /claw.
Move banner to top of profile page under heading, use crab icon
instead of Server icon, rename "Open Dashboard" to "Go to KiloClaw",
and update description to "Fully-managed OpenClaw, always online."
@evanjacobson evanjacobson merged commit 9e8e878 into main Mar 24, 2026
18 checks passed
@evanjacobson evanjacobson deleted the feat/profile-kiloclaw-banner branch March 24, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants