Repository navigation
Fix: model provider save button label and light mode input background - #17081
Conversation
📝 WalkthroughWalkthroughThe provider settings batch Save button now uses the ChangesProvider save label
Light input background
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
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 |
wangq8
left a comment
There was a problem hiding this comment.
Review: PR #17081 – Fix: model provider save button label and light mode input background
Overall: Clean, minimal fix. Two small, independent UI corrections. No regressions detected.
1. Save button label: saveAll → save
✅ The save: "Save" key already exists in the translation.setting namespace (en.ts line 468), so tSetting("save") will resolve correctly. The button label changes from "Save all" → "Save", which is more concise. Good.
saveAll key removal is only done in en.ts and zh.ts, but it also exists in ja.ts (line 1764). After this change, saveAll becomes dead code in the Japanese locale. Consider removing it from ja.ts as well for consistency.
2. Light mode input background (--bg-input)
✅ Changing rgba(255, 255, 255, 0) (fully transparent) → rgba(0, 0, 0, 0.05) (barely visible) in the light-mode block improves input field visibility without being distracting. Low risk since this only affects the .light CSS class.
Verdict: Looks good to merge after the ja.ts cleanup.
Summary
Fix: model provider save button label and light mode input background