Skip to content

[feat] Analytics page: hide "bounce-by-category" "none" on initial load #510

@jamescridland

Description

@jamescridland

Describe the feature

In https://forwardemail.net/en/my-account/analytics there's a chart marked "Bounce by category" (which should probably be really called "Inbound bounce by category"), and shows inbound email.

It looks like this for me:

Image

That's not very useful; it shows that I have had 3,400 inbound emails most days, most of which don't bounce and some of which do (but that is so small to be invisible). My suspicion is that most customers will see this.

A suggestion: that this chart initially displays like this:

Image

... i.e. with "none" (no bounces) present in the chart but unselected. This clearly shows the (inbound) bounces by category, rather than mainly just showing inbound email.

The code that writes this chart is at app/controllers/web/my-account/list-analytics.js - arguably you could simply remove the category of "none", since it's the same data as the top chart. But, otherwise, this page on apexcharts suggests that you can mark the "none" category as hidden on initial render.

I'd submit a PR for this if I was confident adding that code; but I'm not!

Checklist

  • I have searched through GitHub issues for similar issues.
  • I have completely read through the README and documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions