fix: display failure image when server is offline or crashed - #3462
fix: display failure image when server is offline or crashed#3462devanshkansagra wants to merge 3 commits into
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan includes up to 4 reviews per rolling hour; 3 remain after this review. 📜 Recent review details🧰 Additional context used📓 Path-based instructions (4)**/*.{ts,tsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{tsx,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (AGENTS.md)
Files:
**/*📄 CodeRabbit inference engine (AGENTS.md)
Files:
🧠 Learnings (1)📚 Learning: 2026-08-12T14:11:40.244ZApplied to files:
🔇 Additional comments (1)
Walkthrough
ChangesOffline error view
Estimated code review effort: 2 (Simple) | ~10 minutes Merge Risk: ⚪ Minimal · up to This localized change restores the offline/error message instead of rendering a blank screen; no actionable merge-blocking risk remains beyond normal checks and review. Suggested labels: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
src/ui/components/ServersView/ErrorView.tsxESLint skipped: missing config or dependency (missing-dependency). The ESLint configuration references a package that is not available in the sandbox. 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 as already landed. The ErrorView operator-precedence fix ( Closing #3461 against that landing. |
What Changed
Fixed a rendering issue in ErrorView where the failure state showed a blank screen instead of the offline/error message.
The condition was returning true when isFailed was true, so React rendered nothing. Updated the condition so the error UI is shown when the server fails or is being reloaded.
Demo
Screen.Recording.2026-08-18.at.10.17.57.PM.mov
Summary by CodeRabbit