analytics/lib/plausible_web
Sanne de Vries dfeda94e06
Add report percentages to dashboard and details view (#5923)
* Update report percentages on dashboard and details view

* Add percentages to Countries, Regions, and Cities reports

* Add percentages to Channels, Sources, and UTM reports

* Add percentages to top pages, entry pages, and exit pages reports

* Update tests to include percentages

* Change dashboard copy from title case to sentence case

* Update details modal style

* Make animations snappier

* Introduce max height to modal and make inner content scrollable

* Improve modal mobile design

- Enable horizontal scroll for details modal on mobile
- Add responsive spacing and positioning to modal

* Added mobile tap behavior to external link in list report

* Show tooltips only when in comparison mode or when the number is abbreviated

* remove previously added showTooltip prop

- This isn't needed anymore since we now handle the tooltip logic in the MetricValue component

* Show long format upon hovering detailed view metrics

* Added mobile tapping behaviour to detailed view

* Added percentages to all detailed views

* Add mobile swipe-to-close behavior for modal

* Adjust sensitivity of modal drag to close

* Use hammerjs for swipe-to-close modal behaviour

* Prevent dragging if gesture starts inside table

* Show 2 decimal places for percentages < 0.1% across dashboard

* Adjust dark mode styles

* Add hover effect to external link icon

* Update tests to expect two-decimal percentages

* Undo hammer install and revert to old modal styling

* Remove CR and % columns from goals and custom props reports on dashboard, and show on hover in detailed view

* Remove unused constants

* Undo conversion rate on hover behaviour

- Unlike percentages, CR should show permanently.

* Show percentages permanently in custom props detailed view

* Adjust width of conversion metrics column

* Updated metric-value test

* Update top-bar test

* Added changelog entry

* Fix test expectations for percentages with imported data

- Update tests to expect correct percentages (≤100%) when imported data is included. These tests will fail until the percentage calculation bug is fixed, documenting the expected behavior.

* Add imported_visitors to tests to ensure correct total_visitors calculation

* Correct imported_visitors count in test
2025-12-16 12:43:16 +00:00
..
components Update goal settings design (#5886) 2025-11-24 11:30:55 +00:00
controllers Add report percentages to dashboard and details view (#5923) 2025-12-16 12:43:16 +00:00
live Add report percentages to dashboard and details view (#5923) 2025-12-16 12:43:16 +00:00
mjml Consolidated view email reports (#5876) 2025-11-11 13:26:52 +00:00
plugins/api Validate password cookie for password-protected shared links on internal stats API requests (#5932) 2025-12-08 07:05:31 +00:00
plugs Validate password cookie for password-protected shared links on internal stats API requests (#5932) 2025-12-08 07:05:31 +00:00
templates Add necessary scaffolding for enabling LV on dashboard (#5930) 2025-12-08 11:46:56 +00:00
two_factor Teams writes switch (#4883) 2024-12-16 11:11:14 +00:00
views Fix shared link hostname (#5870) 2025-11-05 06:43:15 +00:00
captcha.ex Include tests for Captcha success/failure scenarios (#2344) 2022-10-17 08:16:59 -03:00
email.ex Consolidated view email reports (#5876) 2025-11-11 13:26:52 +00:00
endpoint.ex Remove kaffy (#5423) 2025-06-10 06:24:47 +00:00
flows.ex Onboarding improvements (#4459) 2024-09-02 12:49:54 +02:00
login_preference.ex Persist login type preference (SSO/standard) (#5520) 2025-06-23 10:28:27 +00:00
remote_ip.ex Unify default pricing currency selection (#4221) 2024-06-14 14:49:22 +02:00
router.ex Add necessary scaffolding for enabling LV on dashboard (#5930) 2025-12-08 11:46:56 +00:00
storybook.ex Upgrade deps, add storybook (#4947) 2025-01-13 12:31:18 +00:00
tracker.ex Broadcast tracker script config updates (#5806) 2025-10-27 10:48:06 +00:00
tracker_script_cache.ex Broadcast tracker script config updates (#5806) 2025-10-27 10:48:06 +00:00
user_auth.ex Implement automatic re-login on SSO session expiration (#5525) 2025-06-25 09:41:47 +00:00