fix: consolidate Waffo payment settings save flow - #5110
Conversation
|
Caution Review failedPull request was closed or merged during review WalkthroughPayment settings form is extended with Waffo gateway configuration support. Child components WaffoPancakeSettingsSection and WaffoSettingsSection are refactored from independent form-managed components to parent-controlled components, centralizing state and submission logic in PaymentSettingsSection. ChangesWaffo Settings Refactor
Estimated code review effort🎯 4 (Complex) | ⏱️ ~60 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
…codes * origin/main: (34 commits) fix: optimize batch update process fix: keep token log filters exact fix: keep usage log filters exact unless wildcard is explicit (QuantumNous#5097) fix(web): improve channel and usage log UI feat(theme): add simple-large preset, xl scale and clean up channel badge dots 🐛 fix(system-settings): resolve save detection and number input NaN issues 🎨 fix(logs): tune usage table typography fix: use actual user id for channel tests (QuantumNous#5109) fix: consolidate Waffo payment settings save flow (QuantumNous#5110) 🎨 fix(charts): improve dark mode chart readability 🎨 fix(logs): remove hardcoded font-mono to support global theme font inheritance 🎨 fix(logs): restore timing background badges and optimize model/token spacing feat(subscription): support balance purchases 🎨 fix(theme): default theme font preset falls back to Sans instead of Serif 🎨 refactor(badge): restore status-badge sizes and classic color scheme fix: prevent duplicate channel action toasts (QuantumNous#5015) 🎨 feat(web/default): add Anthropic theme preset and configurable serif typography ♻️ refactor(channels): rebuild channel editor UX with modular sections and Base UI multi-select ♻️ refactor(channels): rebuild channel create/edit drawer with modular sections and improved form UX fix: handle paginated API key search response (QuantumNous#5014) ... # Conflicts: # controller/misc.go # web/default/src/features/auth/sign-in/components/user-auth-form.tsx # web/default/src/features/auth/sign-in/index.tsx # web/default/src/features/auth/sign-up/components/sign-up-form.tsx # web/default/src/hooks/use-sidebar-data.ts # web/default/src/routes/__root.tsx
Important
📝 变更描述 / Description
(简述:做了什么?为什么这样改能生效?请基于你对代码逻辑的理解来写,避免粘贴未经整理的内容)
统一waffo和waffo pancake的设置保存到保存全部设置
🚀 变更类型 / Type of change
🔗 关联任务 / Related Issue
✅ 提交前检查项 / Checklist
Bug fix,我已提交或关联对应 Issue,且不会将设计取舍、预期不一致或理解偏差直接归类为 bug。📸 运行证明 / Proof of Work
(请在此粘贴截图、关键日志或测试报告,以证明变更生效)
Summary by CodeRabbit
New Features
Improvements