Skip to content

Conversation

@jahooma
Copy link
Contributor

@jahooma jahooma commented Jan 28, 2026

No description provided.

@jahooma
Copy link
Contributor Author

jahooma commented Jan 29, 2026

Brandon says:
we should def make sure to set up [/profile?tab=usage&subscription_success=true] to check for subscription_success=true cases on this page and show some welcome/thanks for subscribing messages

@jahooma jahooma mentioned this pull request Jan 29, 2026
Base automatically changed from subscription to main January 29, 2026 22:15
Copy link
Collaborator

@brandonkachen brandonkachen left a comment

Choose a reason for hiding this comment

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

mostly looks good, just needs some de-slopification. one key issue to fix/consciously ignore before merging: https://github.com/CodebuffAI/codebuff/pull/424/changes#r2748507503

⏱️ Block limit reached
</text>
<text style={{ fg: theme.muted }}>
You've used all {rateLimit.blockLimit?.toLocaleString()} credits in this 5-hour block.
Copy link
Collaborator

Choose a reason for hiding this comment

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

nit: we should use the constant for the block size.

Copy link
Collaborator

Choose a reason for hiding this comment

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

also, if rateLimit.blockLimit doesn't exist, we should put a placeholder string, e.g. "your" -> "You've used all credits..."

<>
<Button onClick={handleContinueWithCredits}>
<text style={{ fg: theme.foreground }}>
[Continue with a-la-carte] ({remainingBalance.toLocaleString()} available)
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we make these look like proper buttons? like our /feedback submit button?

<ProgressBar
percentAvailable={
rateLimit.blockLimit != null && rateLimit.blockUsed != null && rateLimit.blockLimit > 0
? 100 - (rateLimit.blockUsed / rateLimit.blockLimit) * 100
Copy link
Collaborator

Choose a reason for hiding this comment

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

wait we shouldn't pass back the actual amounts from the server to the client; only the server should know how much is actually used, the client should only ever see percentages

Upgrade to {SUBSCRIPTION_DISPLAY_NAME}
</h3>
<p className="text-sm text-muted-foreground">
From $100/mo · Work in focused 5-hour sessions with no
Copy link
Collaborator

Choose a reason for hiding this comment

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

we're not releasing tiers yet, right? so this number should be the tier we actually want to show users. and if we're gonna hardcode something, it should be the $200/mo plan.

const canonicalUrl = `${env.NEXT_PUBLIC_CODEBUFF_APP_URL}/strong`
const title = `Codebuff ${SUBSCRIPTION_DISPLAY_NAME} — The Strongest Coding Agent`
const description =
'Deep thinking, multi-agent orchestration, and the strongest coding agent. Plans from $100/mo.'
Copy link
Collaborator

Choose a reason for hiding this comment

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

hardcoded $100 again

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.

3 participants