From 37dddb62d920467263ea582f84d9d84d4042c739 Mon Sep 17 00:00:00 2001 From: Sasha Fonseca Date: Tue, 12 Jul 2022 22:47:14 +0200 Subject: [PATCH] Add tooltip to show exact number in lists (#2009) * Add tooltip to show exact number in lists * Update CHANGELOG --- CHANGELOG.md | 1 + assets/js/dashboard/stats/reports/list.js | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 25762b769..fa9c9c63d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -26,6 +26,7 @@ All notable changes to this project will be documented in this file. - Add filter for custom property - Add ability to import historical data from GA: plausible/analytics#1753 - API route `GET /api/v1/sites/:site_id` +- Hovering on top of list items will now show a [tooltip with the exact number instead of a shortened version](https://github.com/plausible/analytics/discussions/1968) ### Fixed - UI fix where multi-line text in pills would not be underlined properly on small screens. diff --git a/assets/js/dashboard/stats/reports/list.js b/assets/js/dashboard/stats/reports/list.js index 767fba1fd..7a8cec529 100644 --- a/assets/js/dashboard/stats/reports/list.js +++ b/assets/js/dashboard/stats/reports/list.js @@ -91,7 +91,7 @@ export default function ListReport(props) { - + {numberFormatter(listItem[valueKey])} { listItem.percentage >= 0