Repository navigation
fix(ui): localize Outbox fallback errors - #1184
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Advanced Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (4)
Included review availability: Your plan provides up to 2 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe notification outbox service now returns server error strings or empty messages without status-text fallbacks. Retry and delete errors retain HTTP status codes. The view applies localized load, retry, and discard messages only when the service returns no message. Tests cover malformed responses, missing diagnostics, server diagnostics, recovery, and successful retry refreshes. Priority: ⬇️ Low Change: Bug fix Merge Risk: ⚪ Minimal · up to Localized fallback messages are applied when server diagnostics are unusable, while valid diagnostics and retry/delete status codes remain preserved. No actionable merge risk remains. 🚥 Pre-merge checks | ✅ 2✅ Passed checks (2 passed)
✨ Finishing Touches 💡 1🛠️ Fix failing CI checks 💡
📝 Generate docstrings
🧪 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 |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
|
@coderabbitai review |
✅ Action performedReview finished.
|
Summary
Use the existing translated Outbox messages when load, retry or discard fails without a usable server diagnostic. The service previously supplied English fallback text that took precedence over the view's translation.
Nonempty server diagnostics remain unchanged, including whitespace. Retry/delete errors keep their HTTP status code. No API, global error utility, locale catalog or dependency changes.
Verification
800e8e300fcad283379dbc774631a3de3c0eecfd: 16,509 backend tests passed (one existing skip), 5,612 UI tests passed, 100% backend and UI TypeScript coverage, both builds and UI typecheck passed. Also passed 248 script, 290 workflow and 96 website-script tests plus the blocking static checks. Optional local Docker build was skipped normally. Vue SFC runtime coverage remains outside the current gate and is tracked separately.This closes the three confirmed Outbox fallback paths. It does not claim all frontend literals or network/provider diagnostics are localized.
Changelog
statusTextfallback usage from Outbox service errors.