Skip to content

Conversation

@Gaubee
Copy link
Contributor

@Gaubee Gaubee commented Jan 16, 2026

Summary

功能一:编辑图标始终可见

  • MyCardPage 用户名编辑图标现在始终可见 (opacity-50)
  • hover 时变为全透明 (opacity-100)

功能二:随机钱包名称

  • 使用 BIP39 wordlist 生成随机钱包名
  • 多语言支持:zh-CN, zh-TW, ja, ko 使用本地词表
  • CJK 语言无空格:爱钱包
  • 其他语言有空格:Apple Wallet

文件变更

  • src/lib/wallet-utils.ts - 新增 generateWalletName
  • src/pages/my-card/index.tsx - 编辑图标可见性
  • src/pages/wallet/create.tsx - 使用随机名称
  • src/i18n/locales/*/onboarding.json - 添加 walletSuffix

Changes:
- MyCardPage: Make edit pencil icon always visible (opacity-50)
- wallet/create: Generate random wallet name from locale-specific BIP39 wordlist
- Add wallet-utils.ts with generateWalletName function
- Support zh-CN, zh-TW, ja, ko wordlists (CJK no space between word and suffix)
- Add walletSuffix i18n key to all locales
@Gaubee Gaubee merged commit c0e76f2 into main Jan 16, 2026
5 checks passed
@Gaubee Gaubee deleted the feat/edit-icon-random-wallet-name branch January 16, 2026 16:54
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.

2 participants