Skip to content

Commit 81feb03

Browse files
committed
fix: small UI fixes
1 parent b78aff4 commit 81feb03

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

frontend/src/components/LogTable/LogRow.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<td class="px-4 py-3 text-left text-sm text-gray-900 dark:text-gray-100 font-mono truncate">
2424
{{ messageSummary }}
2525
</td>
26-
<td class="px-4 py-3 text-left w-20 text-sm text-gray-500 dark:text-gray-400 font-mono">
26+
<td class="px-4 py-3 text-left w-32 text-sm text-gray-500 dark:text-gray-400 font-mono">
2727
{{ log.traffic_type || 'N/A' }}
2828
</td>
2929
<td class="px-4 py-3 text-left w-48 text-sm text-gray-500 dark:text-gray-400">

frontend/src/components/LogTable/LogTable.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider">
2323
Message
2424
</th>
25-
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider w-20">
25+
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider w-32">
2626
Traffic
2727
</th>
2828
<th class="px-4 py-3 text-left text-xs font-medium text-gray-500 dark:text-gray-300 uppercase tracking-wider w-48">

frontend/src/components/MessageDetail/MessageDetailModal.vue

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,12 @@
4242
<span class="text-gray-500 dark:text-gray-400">Type:</span>
4343
<MessageTypeBadge :type="messageType" class="ml-2" />
4444
</div>
45+
<div>
46+
<span class="text-gray-500 dark:text-gray-400">Traffic:</span>
47+
<span class="ml-2 font-mono text-gray-900 dark:text-gray-100">
48+
{{ logStore.selectedLog.traffic_type || 'N/A' }}
49+
</span>
50+
</div>
4551
<div>
4652
<span class="text-gray-500 dark:text-gray-400">Source:</span>
4753
<span class="ml-2 font-mono text-gray-900 dark:text-gray-100">

frontend/src/utils/messageParser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ export function formatDate(timestamp) {
6262
const day = date.getDate().toString().padStart(2, '0')
6363
const month = (date.getMonth() + 1).toString().padStart(2, '0')
6464
const year = date.getFullYear()
65-
return `${day}:${month}:${year}`
65+
return `${day}/${month}/${year}`
6666
}
6767

6868
export function getMessageSummary(message) {

0 commit comments

Comments
 (0)