analytics/lib/plausible
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
..
audit Audit trail for SSO (#5560) 2025-07-22 10:53:24 +00:00
auth Platform upgrade: elixir 1.19.4 and otp 27.3.4.6 (#5920) 2025-12-01 12:50:49 +00:00
billing Consolidated View life cycle + billing integration (#5866) 2025-11-12 13:41:24 +00:00
cache Change log level from info to notice on relevant logs (#5585) 2025-07-23 08:47:01 +00:00
data_migration Fix tracker script config backfill (#5860) 2025-11-03 13:31:25 +00:00
ecto/types Script v2: Include prefix "pa-" in tracker_script_config.id (#5621) 2025-08-11 09:44:24 +00:00
event Flush Clickhouse buffers faster by encoding early (#3623) 2023-12-14 14:21:27 +01:00
funnel Use codespell (#4145) 2024-05-27 10:52:01 +02:00
goals Reapply+bugfix: goals with custom props (#5936) (#5944) 2025-12-11 13:09:34 +00:00
google Platform upgrade: elixir 1.19.4 and otp 27.3.4.6 (#5920) 2025-12-01 12:50:49 +00:00
helpers Improve boolean environment variables reading (#4632) 2024-10-16 07:11:53 +00:00
imported Reduce reliance on `Timex` and use native time API where feasible (#5712) 2025-09-10 10:21:36 +00:00
ingestion Adjust persistor metrics buckets and remove decode measurement (#5831) 2025-10-27 08:12:09 +00:00
open_telemetry Update ignored routes in OpenTelemetry sampler to include additional variants (#5542) 2025-07-07 11:59:51 +00:00
plugins/api Starter Tier: Shared Link Feature Gates (#5474) 2025-06-10 06:43:40 +00:00
prom_ex peep (#5130) 2025-02-28 13:15:05 +00:00
s3 Add csv importer (#3795) 2024-02-27 14:19:09 +01:00
segments Refactoring preparation for DashboardQueryParser (#5929) 2025-12-03 15:09:17 +00:00
sentry Update Sentry (#3843) 2024-03-18 10:10:20 +01:00
session Change log level from info to notice on relevant logs (#5585) 2025-07-23 08:47:01 +00:00
shield Platform upgrade: elixir 1.19.4 and otp 27.3.4.6 (#5920) 2025-12-01 12:50:49 +00:00
site Validate password cookie for password-protected shared links on internal stats API requests (#5932) 2025-12-08 07:05:31 +00:00
stats Add report percentages to dashboard and details view (#5923) 2025-12-16 12:43:16 +00:00
teams Consolidated View life cycle + billing integration (#5866) 2025-11-12 13:41:24 +00:00
telemetry Clean up detection sentry events + tests (#5833) 2025-10-27 10:31:24 +00:00
application.ex Explicitly enable Nagle's algorithm for persistor HTTP client (#5820) 2025-10-23 07:28:52 +00:00
async_insert_repo.ex Switch to new clickhouse adapter (ch/chto) (#2733) 2023-03-21 09:55:59 +01:00
cache.ex Broadcast tracker script config updates (#5806) 2025-10-27 10:48:06 +00:00
cldr.ex Stack bump: Elixir 1.18, OTP 27.3.1, Node 23.2.0, (#5264) 2025-04-02 12:39:22 +00:00
clickhouse_event_v2.ex Allow marking custom events as non-interactive (#5295) 2025-04-21 08:11:58 +00:00
clickhouse_location_data.ex APIv2: visit:country_name, visit:region_name, visit:city_name dimensions (#4328) 2024-08-13 09:44:58 +03:00
clickhouse_repo.ex Make `ClickhouseRepo` task timeouts configurable in CE (#4494) 2024-09-09 11:20:06 +02:00
clickhouse_session_v2.ex Channels: Read from new column, don't write (#4800) 2024-11-12 12:30:11 +00:00
data_migration.ex Channels: Speed up clickhouse calculations (#4789) 2024-11-11 10:39:51 +00:00
dns_lookup.ex Script v2: Make detection take less time (#5635) 2025-08-19 10:16:27 +00:00
exports.ex Reduce reliance on `Timex` and use native time API where feasible (#5712) 2025-09-10 10:21:36 +00:00
file.ex Handle cross-device file move (#4640) 2024-09-30 16:16:36 +00:00
geo.ex Dockerfile and co updates (#3811) 2024-03-08 14:33:55 +00:00
goal.ex Reapply+bugfix: goals with custom props (#5936) (#5944) 2025-12-11 13:09:34 +00:00
http_client.ex Use Phoenix LiveView for the upgrade page (#3382) 2023-10-03 13:36:22 +03:00
import_deletion_repo.ex Split clickhouse repos - making the main one read only (#2826) 2023-04-06 12:45:36 +02:00
imported.ex Script v2: Sync event.props.path for special path-based events from event.pathname (#5559) 2025-07-14 08:39:25 +00:00
ingest_repo.ex Channels: Fix ON CLUSTER behavior (#4801) 2024-11-11 19:59:16 +00:00
mailer.ex log mailer errors in ce (#4885) 2025-01-02 14:33:47 +00:00
migration_utils.ex Fix determining CE/EE in migrations (#5283) 2025-04-07 09:03:01 +00:00
open_telemetry.ex enrich with information about app node (#4592) 2024-09-18 17:08:24 +00:00
pagination.ex Implement new sites view (#3463) 2023-11-02 13:18:11 +01:00
prom_ex.ex Team Management UI (#4997) 2025-02-10 06:48:36 +00:00
props.ex Consolidated view email reports (#5876) 2025-11-11 13:26:52 +00:00
purge.ex Remove references to `site.imported_data` (#4006) 2024-04-19 11:15:51 +02:00
rate_limit.ex Ingest throughput fixes (#5378) 2025-05-05 14:00:37 +00:00
repo.ex Audit trail for SSO (#5560) 2025-07-22 10:53:24 +00:00
request_logger.ex Reapply "Include query string when logging the request (#3971)" (#3984) (#3985) 2024-04-09 08:49:45 +03:00
s3.ex redirect to s3 url when downloading exports (#4002) 2024-05-02 19:53:12 +01:00
shields.ex Hostnames shield (#3990) 2024-04-16 20:30:20 +02:00
site.ex Remove virtual rollups in favour of persisted consolidated sites (#5749) 2025-09-25 13:58:32 +00:00
sites.ex Consolidated view email reports (#5876) 2025-11-11 13:26:52 +00:00
stats.ex Remove `DebugReplayInfo` (#4842) 2024-11-20 08:20:35 +00:00
teams.ex Change header dropdown copy to sentence case (#5887) 2025-11-18 13:31:15 +00:00
themes.ex Adds dark mode to entire dashboard (#467) 2020-12-16 11:57:28 +02:00
times.ex Reduce reliance on `Timex` and use native time API where feasible (#5712) 2025-09-10 10:21:36 +00:00
timezones.ex Reduce reliance on `Timex` and use native time API where feasible (#5712) 2025-09-10 10:21:36 +00:00
users.ex Calmer multiple teams experience (#5526) 2025-06-24 16:11:27 +00:00