You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Both subscription plan card implementations now fall back to displaying wallet_first only for saved subscription_first preferences without active subscriptions. The fallback notice consistently labels the saved preference as subscription-first.
QuantumNous/new-api#2879: Updates overlapping subscription-first fallback behavior in the subscription UI and billing flow.
Suggested reviewers:t0ng7u
Poem
I’m a rabbit with a wallet to fill,
Subscription-first now bends to its will.
No active plan? The display makes it clear,
“Subscription first” remains sincere. subscription_only won’t hop away—
Its saved choice stays on display.
Comment @coderabbitai help to get the list of available commands.
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
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.
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。