diff --git a/src/frontend/components/ErrorDataTable.tsx b/src/frontend/components/ErrorDataTable.tsx index 69b80b3..21b8e98 100644 --- a/src/frontend/components/ErrorDataTable.tsx +++ b/src/frontend/components/ErrorDataTable.tsx @@ -8,7 +8,6 @@ import { Group, Loader, Paper, - ScrollArea, SimpleGrid, Stack, Table, @@ -74,7 +73,7 @@ export const ErrorDataTable = forwardRef - + @@ -101,15 +100,15 @@ export const ErrorDataTable = forwardRef - + Error Description - Reporter - Version - Reported - Status + Reporter + Version + Reported + Status @@ -149,8 +148,8 @@ export const ErrorDataTable = forwardRef - - + + {dayjs(error.createdAt).format('D MMM YYYY, HH:mm')} @@ -170,7 +169,7 @@ export const ErrorDataTable = forwardRef
-
+
- + - - - {bug.description} + + + {bug.description} {STATUS_LABEL[bug.status] ?? bug.status} - + {dayjs(bug.createdAt).format('D MMM YYYY, HH:mm')} · {bug.appId?.toUpperCase()} · v{bug.affectedVersion} diff --git a/src/frontend/routes/apps.$appId.villages.$villageId.tsx b/src/frontend/routes/apps.$appId.villages.$villageId.tsx index 1fb5aa5..f50a798 100644 --- a/src/frontend/routes/apps.$appId.villages.$villageId.tsx +++ b/src/frontend/routes/apps.$appId.villages.$villageId.tsx @@ -4,6 +4,7 @@ import { Box, Button, Card, + Grid, Group, Loader, Modal, @@ -218,34 +219,36 @@ function RecentVillageLogs({ villageId }: { villageId: string }) { ) : logs.length === 0 ? ( No recent activity. ) : ( - - - - Time - User - Action - Description - - - - {logs.map((log: any, i: number) => ( - - - {dayjs(log.timestamp).format('D MMM YYYY, HH:mm')} - - - {log.userName || 'Unknown'} - - - {log.action || '-'} - - - {log.desc || '-'} - + +
+ + + Time + User + Action + Description - ))} - -
+ + + {logs.map((log: any, i: number) => ( + + + {dayjs(log.timestamp).format('D MMM YYYY, HH:mm')} + + + {log.userName || 'Unknown'} + + + {log.action || '-'} + + + {log.desc || '-'} + + + ))} + + + )}
) @@ -561,47 +564,42 @@ function VillageDetailPage() { {/* ── Recent Logs + System Info ── */} - - + + - + - - - - - - System Information - - - {[ - { label: 'Date Created', value: village.createdAt }, - { label: 'Created By', value: '-' }, - { label: 'Last Updated', value: village.updatedAt }, - ].map((item, idx, arr) => ( - - {item.label} - {item.value} - - ))} - - - + + + + + + + System Information + + + {[ + { label: 'Date Created', value: village.createdAt }, + { label: 'Created By', value: '-' }, + { label: 'Last Updated', value: village.updatedAt }, + ].map((item, idx, arr) => ( + + {item.label} + {item.value} + + ))} + + + + {/* ── Confirmation Modal ── */}