knadh / listmonk

High performance, self-hosted, newsletter and mailing list manager with a modern dashboard. Single binary app.
https://listmonk.app
GNU Affero General Public License v3.0
14.46k stars 1.32k forks source link

v3.0.0 Campaign analytics missing data available in previous versions #1728

Open orthdron opened 6 months ago

orthdron commented 6 months ago

Version:

Description of the bug and steps to reproduce: Campaign analytics missing percentage that was available in previous versions. Please close this ticket if this is intentional.

Screenshots: Mouse hover

image

Entire page image

juggernut commented 6 months ago
knadh commented 5 months ago

Hi @Orthdron. Are you referring to the missing lines in the line graph? If yes, that's not normal. Please compare with the demo here: https://demo.listmonk.app/admin/campaigns/analytics?id=2&id=1

MaximilianKohler commented 5 months ago

@knadh I think they mean this: Screenshot 2024-03-10 063749 Screenshot 2024-03-10 063929 Screenshot 2024-03-10 063757

There are no numbers or percentages in the new version. The old version is superior.

knadh commented 5 months ago

Ah! This is indeed unintended. I missed recreating this when porting to the new chart lib. Will bring it back in the next version. Currently, the numbers only show on hover.

knadh commented 5 months ago

Turns out, chart.js doesn't support this out of the box. This plugin https://github.com/emn178/chartjs-plugin-labels/ adds labels, but I've been unable to make it work. Perhaps someone else can give it a shot.

MaximilianKohler commented 5 months ago

What about reverting back to the older version for now? It sounds you switched to something completely different?

knadh commented 5 months ago

The new chart lib is smaller and lighter (which is why it was switched in the first place). While the numbers not showing on the donut is a UX gap (it shows on hover), it's not a deal breaker. It can be achieved with some effort in the coming release.

MaximilianKohler commented 5 months ago

It only has the view # on hover though. The old one had the percentage, which was much better since view # is already on the campaigns page so we don't need it again on the analytics page. Percentage is nowhere now, and it seemed much more accurate than the view count on the campaigns page. And the circle is always full instead of a percentage representation.