Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added titles to the shortened event data

Blue Mousee44d2985d8e5
diff --git a/src/pages/Project/View/Panels.tsx b/src/pages/Project/View/Panels.tsx
index 4f793c18e..e0236369a 100644
--- a/src/pages/Project/View/Panels.tsx
+++ b/src/pages/Project/View/Panels.tsx
@@ -261,10 +261,10 @@ const Overview = ({
{t('dashboard.pageviews')}
:
</p>
- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>
+ <p title={String(pageviews)} className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>
{nFormatter(pageviews, 1)}
{isActiveCompare && (
- <span className={cx('ml-1.5 text-sm', {
+ <span title={`${pageViewsCompare > pageviews ? '+' : ''}${pageViewsCompare - pageviews}`} className={cx('ml-1.5 text-sm', {
'text-green-500': pageViewsCompare > pageviews,
'text-red-500': pageViewsCompare < pageviews,
})}
@@ -281,10 +281,10 @@ const Overview = ({
{t('dashboard.unique')}
:
</p>
- <p className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>
+ <p title={String(pageviews)} className='h-5 mr-2 text-gray-900 dark:text-gray-50 text-xl'>
{nFormatter(uniques, 1)}
{isActiveCompare && (
- <span className={cx('ml-1.5 text-sm', {
+ <span title={`${uniquesCompare > uniques ? '+' : ''}${uniquesCompare - uniques}`} className={cx('ml-1.5 text-sm', {
'text-green-500': uniquesCompare > uniques,
'text-red-500': uniquesCompare < uniques,
})}