Repository navigation
Streak gifts: add the 7-day rung, a week of Pro - #266
Merged
Merged
Conversation
The app now gives a week of Pro at a 7-day streak, before the 100-day month and the 365-day three months (langx/langx, PRO_GIFT_RULES.streak). Every place on the site that lists the streak rungs now lists all three: the Terms §5, the home FAQ, the plans card and the plans FAQ. The Terms sentence introducing free Pro said "a fixed number of months"; a week is not one, so it now says "a fixed period". Effective date moves to 8 Oct 2026. 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.
The app now gives a week of Pro at a 7-day streak, ahead of the existing 100-day → 1 month and 365-day → 3 months rungs (
langx/langx,packages/shared/src/proGift.ts→PRO_GIFT_RULES.streak). Each rung is still paid once per account, and a streak already past a milestone earns it on the next practice.Pages changed
/terms-conditions§5src/lib/components/organisms/TermsAndConditions.mdllms.txtsrc/lib/data/faq.ts/plans"Keep a streak" cardsrc/lib/data/plans.ts/plansFAQ ("Do I get anything for a long streak?")src/routes/plans/+page.svelteThe site doesn't describe who is told when a gift lands, so the two behaviours that shipped alongside (no streak gift for lifetime Pro; a streak gift under a longer-running subscription is granted without a letter) needed no copy here — the Terms already say free Pro can't go to a lifetime account.
TermsAndConditions.mdandplans/+page.sveltewere already off-prettier onmain; I left that alone to keep the diff to the six changed lines.npm run checkandnpm run buildpass locally.🤖 Generated with Claude Code