[codex] add recharge controls and dashboard subscription summary#4255
[codex] add recharge controls and dashboard subscription summary#4255BoJun9527 wants to merge 1 commit intoQuantumNous:mainfrom
Conversation
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (28)
WalkthroughThis PR implements an allow-recharge access control system, adding an Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~45 minutes Possibly related PRs
Suggested reviewers
✨ 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 |
|
Closing per request. Keeping the pushed git branch only. |
What changed
allow_rechargeuser-level controls across backend persistence, self APIs, top-up access checks, and admin user management UIallow_rechargequery handlingWhy
allow_rechargeworkflow, so the local source needed to preserve and codify that behavior instead of losing it on the next releaseImpact
Root cause
allow_rechargebehavior existed outside the current repo state, so it had to be reintroduced into source before publishing a new buildt(...)without a guaranteed translator prop, which could crash the whole page during renderValidation
node --test /Users/bojun/codex/.tmp/new-api/web/src/helpers/rechargeAccess.test.js /Users/bojun/codex/.tmp/new-api/web/src/helpers/dashboardSubscriptionSummary.test.jslinux/amd64Docker builds succeeded repeatedly for deployment packagingdocker loadupdatesNotes
QuantumNous/new-apiwas denied, so this PR is opened from the forkBoJun9527/new-apiSummary by CodeRabbit