fix(web): preserve subscription-only preference display - #6228
Conversation
WalkthroughBoth subscription plan card implementations now fall back to displaying ChangesSubscription preference display
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
…eference-display # Conflicts: # web/classic/src/components/topup/SubscriptionPlansCard.jsx
|
克制跟进一次:当前 |
51fdfc5 to
2b6f1df
Compare
Important
📝 变更描述 / Description
无生效订阅时,前端会把
subscription_only显示成wallet_first,但后端不会回退钱包。本 PR 同步修改 default/classic:只有
subscription_first使用钱包回退显示;subscription_only保留真实值,也不再显示错误的钱包回退提示。后端逻辑不变。AI-assisted disclosure:实现和说明由 AI 辅助完成,并已依据实际 diff 与验证结果核对。
🚀 变更类型 / Type of change
🔗 关联任务 / Related Issue
✅ 提交前检查项 / Checklist
📸 运行证明 / Proof of Work
通过:
bun run typecheck;bun run buildgit diff --checkclassic 的
bun run build在应用代码编译前因现有date-fns-tz/date-fnsexports 不兼容而失败;本 PR 未修改依赖或 lockfile。