Repository navigation
Hourly gift: its tokens count on every board - #64
Merged
Merged
Conversation
The page said gift tokens went to the all-time balance only and never counted toward the weekly, monthly or yearly tables. That stopped being true on 8 Oct (langx/langx#1758): the gift is no longer a grant kind, so it credits every period like any other reward. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.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.
What was false
How Tokens Are Earned → The hourly gift said:
That has not been true since 8 Oct 2026. Gift tokens count like any other reward: they go to your balance and to every board — weekly, monthly, yearly and all-time. The sentence now says that, and the "what you did, not what you were given" reasoning is dropped rather than inverted. Nothing else on the page changes.
Where the truth lives (langx/langx, pinned to 4c22db2)
packages/shared/src/token.tsL83–L89 — thegiftkind "counts in every period like any other reward".packages/shared/src/token.tsL152–L156 —TOKEN_GRANT_KINDSislegacyTokenConversion,welcomeBack,signupBonus;giftis not in it.apps/api/src/modules/tokens/ledger.tsL124–L126 — only grant kinds are credited toallalone; every other kind is credited to every period.apps/api/src/routes/leaderboard.test.tsL1339–L1364 — "credits every period — a gift is a reward…": a 250-token gift lands in week, month and year.docs/decisions.md→ The leaderboard counts every reward — the decision, from Count every reward on the week, month and year leaderboards langx#1758 (merged 8 Oct 2026).Same correction elsewhere
The new wording follows the token site's English and the brief: it states where gift tokens go and does not pitch the gift as a way to climb a board.
🤖 Generated with Claude Code