Skip to content

fix(invite): clarify reward copy - #401

Merged
huyanxius merged 2 commits into
1024XEngineer:mainfrom
huyanxius:fix/398-invite-reward-copy
Aug 18, 2026
Merged

fix(invite): clarify reward copy#401
huyanxius merged 2 commits into
1024XEngineer:mainfrom
huyanxius:fix/398-invite-reward-copy

Conversation

@huyanxius

Copy link
Copy Markdown
Collaborator

本 PR 统一账号中心与工作台气泡的邀请奖励文案,去除注册总福利和第二人称表达带来的歧义。

Why

原文案把好友注册福利与邀请奖励混在一起,你每日前 3 位各得 200 积分 的主语和“各得”搭配也不自然,容易让用户误解实际奖励规则。

Changes

  • 两处主文案统一为“邀请成功,双方各得 200 积分”。
  • 补充说明统一为“每日前 3 次邀请可得奖励”。
  • 同步更新对应文案断言。

Verification

  • npm test -- src/app/layout/app-header.test.tsx src/pages/invite/index.test.tsx:2 个文件、34 项测试通过。
  • npm run format:check -- <4 touched files>:通过。
  • npm run lint -- <4 touched files>:通过。

Scope

  • 仅修改文案及对应断言。
  • 不修改奖励算法、接口、交互、布局或视觉样式。

Related Issues

Closes #398
Refs #362

The existing text mixed registration benefits with invite rewards.

State the shared 200-point reward and daily rewarded-invite limit.

Both invite surfaces now use concise subject-neutral wording.
Visible-copy tests still expected the ambiguous reward wording.

Assert the shared reward and daily rewarded-invite limit.

Future copy regressions now fail on both invitation surfaces.
@vercel

vercel Bot commented Aug 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
windup Ready Ready Preview Aug 18, 2026 8:48am

@codecov

codecov Bot commented Aug 18, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@fennoai fennoai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

已核对账号中心邀请页与工作台邀请提示两处文案及对应断言。新文案与 #398 指定口径一致,移除了注册总福利和第二人称歧义;两处展示保持一致,且与当前双方各 200 积分、邀请人每日前三次获奖的实现契约相符。

验证通过:npm test -- src/app/layout/app-header.test.tsx src/pages/invite/index.test.tsx(2 个文件、34 项测试)、四个变更文件的 format:checklint。未发现需要修改的正确性或回归问题。

@huyanxius
huyanxius merged commit f51ea4c into 1024XEngineer:main Aug 18, 2026
7 checks passed
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.

[Bug]: clarify invite reward copy

2 participants