Skip to content

Better dashboard widget #300

@Zodiac1978

Description

@Zodiac1978

Inspired through this forum post, I looked at the dashboard widget again and found some improvement possibilities:
https://wordpress.org/support/topic/zeitraum-fur-gesamtzahlen-im-dashboard/#post-18521293

  1. Totals from what timeframe - Part 1
    The part at the end shows two numbers. Views from today and overall. But as we have now two ways (days of data and days showing in dashboard widget it is unclear what is meant here.

Possible solution: Add a new line with the numbers for x days (which is the config of the dashboard widget).

  1. Totals from what timeframe - Part 2
    Is the totals number the sum of all views in the DB or a different value added in the whole time of the plugin installation (save somewhere else)!?

  2. Date is coming from where?
    The date is showing "seit 25. November 2021" for me, but the config is set to 365 days, so it should show something like "x June 2024", but not 2021. Or is this the date of the installation of the plugin?

  3. Number could be better formatted
    Total number is showing "798713" for me. But should use number_format_i18n.

  4. Top list from today or overall?
    In the settings, we can choose between top list only for today or not, but there is no visual indication what is used on the front of the widget. (The days are visible as data points in the graph. The amount of entries in the top list is also self-explanatory, but the "today" or not setting is not easily spotted.)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions