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
Hide "topped up" message for fresh users who haven't used credits yet
When a new user signs up, they receive an initial daily credit grant.
Previously, the profile popover would immediately show "We topped up
your account to 2,000 credits since you were getting low", which is
confusing for users who haven't spent any credits yet.
Added a `dailyCreditGrantCount` field to the user endpoint that counts
how many daily_credit ledger entries exist. The "topped up" message is
now only shown when the count is greater than 1, meaning the daily cron
has actually topped up the user after they spent credits. Fresh users
with only the initial signup grant (count=1) will only see the
"Last daily credits grant" line.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments