Commit 5ca128d
authored
Display backend error messages in red (#18)
Fixed Greptile review feedback:
- Kept system_message() using TEXT_MUTED (gray) for informational messages
- Added new error_message() style using ERROR (red) with italic for backend errors
- Error detection in rendering.rs already handles displaying errors in red
* style(ui): change system message color to red for error visibility
* fix: keep system_message() muted, add separate error_message() style
Address Greptile review feedback on PR #18:
- Reverted system_message() to use TEXT_MUTED (gray) for informational messages
- Added new error_message() style with ERROR (red) + italic for backend errors
- Rendering logic in rendering.rs already detects errors and uses colors.error
This ensures regular system messages (like 'Resumed session') stay muted gray
while actual error messages are displayed in red.1 parent 164f732 commit 5ca128d
1 file changed
+8
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | 371 | | |
372 | 372 | | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
373 | 379 | | |
374 | 380 | | |
375 | 381 | | |
| |||
530 | 536 | | |
531 | 537 | | |
532 | 538 | | |
| 539 | + | |
533 | 540 | | |
534 | 541 | | |
535 | 542 | | |
| |||
0 commit comments