From c51f3136ddad6b3cc689f397cffec13bead3cf3f Mon Sep 17 00:00:00 2001 From: SergeantPanda Date: Sun, 27 Apr 2025 14:51:13 -0500 Subject: [PATCH] Add tooltip for stream profile and add clarity to user-agent. --- frontend/src/pages/Stats.jsx | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/frontend/src/pages/Stats.jsx b/frontend/src/pages/Stats.jsx index ef15d605..3fb818e3 100644 --- a/frontend/src/pages/Stats.jsx +++ b/frontend/src/pages/Stats.jsx @@ -299,7 +299,14 @@ const ChannelCard = ({ channel, clients, stopClient, stopChannel, logos, channel ), - renderDetailPanel: ({ row }) => {row.original.user_agent}, + renderDetailPanel: ({ row }) => ( + + + User Agent: + {row.original.user_agent || "Unknown"} + + + ), mantineExpandButtonProps: ({ row, table }) => ({ size: 'xs', style: { @@ -407,10 +414,12 @@ const ChannelCard = ({ channel, clients, stopClient, stopChannel, logos, channel {channelName} - - + + + + {/* Display M3U profile information */}