From 167abcaa438f6e468a8795b07c4bd7af83700fde Mon Sep 17 00:00:00 2001 From: Rafiafrzl Date: Wed, 24 Dec 2025 11:51:39 +0700 Subject: [PATCH] refactor: enhance notification log layout and styling for better readability --- .../component/ListNotification.jsx | 181 ++++++++++-------- 1 file changed, 96 insertions(+), 85 deletions(-) diff --git a/src/pages/notification/component/ListNotification.jsx b/src/pages/notification/component/ListNotification.jsx index 88df8de..9889007 100644 --- a/src/pages/notification/component/ListNotification.jsx +++ b/src/pages/notification/component/ListNotification.jsx @@ -639,97 +639,108 @@ const ListNotification = memo(function ListNotification(props) { Tidak ada log history ) : ( -
- {/* Garis vertikal yang menyambung */} -
+
+
+ {/* Garis vertikal yang menyambung */} +
- {logHistoryData.map((log, index) => ( - - {/* Kolom Kiri: Branch/Timeline */} - ( + -
- + > +
+ - {/* Kolom Kanan: Card */} - - - - - - - - - Added at {log.timestamp} - + {/* Kolom Kanan: Card */} + + + + + + + + + Added at {log.timestamp} + + +
+ Added by: {log.addedBy.name} + + {log.addedBy.phone} + +
-
- Added by: {log.addedBy.name} - - {log.addedBy.phone} - -
-
- - - - {log.description} - - -
-
- -
- ))} + + + + {log.description} + + +
+ + + + ))} +
)}