analytics/lib/plausible_web/live
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
..
change_domain Clean up legacy verification code and script v2 flag (#5824) 2025-10-27 09:39:41 +00:00
components Add report percentages to dashboard and details view (#5923) 2025-12-16 12:43:16 +00:00
dashboard Add necessary scaffolding for enabling LV on dashboard (#5930) 2025-12-08 11:46:56 +00:00
goal_settings Bring autoconfigure notification a step forwards in custom events cre… (#5912) 2025-12-03 16:24:43 +00:00
installation Improve dark mode (#5819) 2025-10-28 08:28:15 +00:00
plugins/api Updated empty states across settings (#5874) 2025-11-24 07:50:14 +00:00
props_settings Updated empty states across settings (#5874) 2025-11-24 07:50:14 +00:00
shared_link_settings Fix regression in shared link settings form (#5862) 2025-11-03 17:22:16 +00:00
shields Use prima modal in ip_rules settings (#5910) 2025-11-27 13:22:05 +00:00
auth_context.ex Get rid of `billable_user` in favour of `current_team_role` (or `site_role` if need be) (#5180) 2025-03-12 14:40:30 +00:00
awaiting_pageviews.ex Move InstallationSupport code to `/extra` (EE only) folder (#5758) 2025-09-29 14:01:56 +00:00
change_domain.ex Fix /change-domain page permissions (#5939) 2025-12-10 09:44:23 +00:00
choose_plan.ex Improve dark mode (#5819) 2025-10-28 08:28:15 +00:00
csv_export.ex Reduce reliance on `Timex` and use native time API where feasible (#5712) 2025-09-10 10:21:36 +00:00
csv_import.ex Improve dark mode (#5819) 2025-10-28 08:28:15 +00:00
dashboard.ex Improvements to LV dashboard scaffolding (#5937) 2025-12-10 12:18:29 +00:00
flash.ex Tailwind v4 (#5756) 2025-09-29 15:21:15 +00:00
goal_settings.ex Update goal settings design (#5886) 2025-11-24 11:30:55 +00:00
imports_exports_settings.ex Updated empty states across settings (#5874) 2025-11-24 07:50:14 +00:00
installation.ex Add border to tab component (#5848) 2025-10-29 08:34:22 +00:00
plain_combo.ex Replace Search Console property select with ComboBox (#5689) 2025-09-01 13:07:07 +00:00
props_settings.ex Updated empty states across settings (#5874) 2025-11-24 07:50:14 +00:00
register_form.ex Tailwind v4 (#5756) 2025-09-29 15:21:15 +00:00
reset_password_form.ex Upgrade phoenix & liveview (#5766) 2025-10-07 12:29:48 +00:00
sentry_context.ex Implement token-based sessions (#4463) 2024-09-03 11:34:37 +02:00
shared_link_settings.ex Update goal settings design (#5886) 2025-11-24 11:30:55 +00:00
sites.ex Use prima modal in ip_rules settings (#5910) 2025-11-27 13:22:05 +00:00
team_management.ex Updated empty states across settings (#5874) 2025-11-24 07:50:14 +00:00
team_setup.ex Updated empty states across settings (#5874) 2025-11-24 07:50:14 +00:00