feat: add error message and expandable metadata to notification items
- Show notification.message in notification-item.tsx - Add Details toggle to expand metadata (exit_code, previous_status, etc.) - Add CSS styles for message and metadata display Quality gates: tsc --noEmit pass, 80/80 tests pass
This commit is contained in:
@@ -41,7 +41,7 @@ export function NotificationItem({
|
|||||||
|
|
||||||
const hasDetails =
|
const hasDetails =
|
||||||
!!notification.message ||
|
!!notification.message ||
|
||||||
Object.keys(notification.metadata || {}).length > 0;
|
Object.keys(notification.metadata || {}).length > 0;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<li
|
<li
|
||||||
|
|||||||
@@ -2576,4 +2576,3 @@ a:active,
|
|||||||
transform: translateX(100%);
|
transform: translateX(100%);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user