Skip to content

Hide Early Bird card on KiloClaw provisioning page#772

Closed
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
session/agent_eb44662e-8d7a-4b25-b64a-67dec615cfcb
Closed

Hide Early Bird card on KiloClaw provisioning page#772
kilo-code-bot[bot] wants to merge 1 commit intomainfrom
session/agent_eb44662e-8d7a-4b25-b64a-67dec615cfcb

Conversation

@kilo-code-bot
Copy link
Contributor

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

Summary

  • Remove the EarlybirdBanner component from the KiloClaw dashboard (ClawDashboard.tsx), so the Early Bird promo card no longer appears on the provisioning page.
  • Replace the standalone Early Bird page (/claw/earlybird) with a no-op render (return null) so navigating to that route no longer shows the offer.

Built for Florian by Kilo for Slack

</div>
</PageLayout>
);
return null;
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

WARNING: Returning null means users who bookmarked or were linked to /claw/earlybird will see a blank page. Consider redirecting to /claw instead:

Suggested change
return null;
redirect('/claw');

(with import { redirect } from 'next/navigation'; at the top)

@kilo-code-bot
Copy link
Contributor Author

kilo-code-bot bot commented Mar 3, 2026

Code Review Summary

Status: 2 Issues Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 2
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
src/app/(app)/claw/earlybird/page.tsx 3 Page returns null instead of redirecting — users with bookmarks will see a blank page
src/app/(app)/claw/components/EarlybirdBanner.tsx Dead code: file is no longer imported anywhere but was not deleted (see Other Observations)
Other Observations (not in diff)

Issues found in unchanged code that cannot receive inline comments:

File Line Issue
src/app/(app)/claw/components/EarlybirdBanner.tsx 1-24 This file is no longer imported anywhere after the ClawDashboard.tsx change. It should be deleted as part of this cleanup to avoid dead code.
Files Reviewed (2 files)
  • src/app/(app)/claw/components/ClawDashboard.tsx - 0 issues (clean removal)
  • src/app/(app)/claw/earlybird/page.tsx - 1 issue

Fix these issues in Kilo Cloud

@olearycrew
Copy link
Contributor

I believe this is made moot by #773 fixing the root problem.

@olearycrew olearycrew closed this Mar 3, 2026
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.

1 participant