Unit selection on the dashboard (hours vs. days) #4981

Open
opened 2026-03-04 05:43:08 -05:00 by deekerman · 7 comments
Owner

Originally created by @thewonderer73 on GitHub (Dec 29, 2023).

Prerequisites

  • I have checked the Wiki and Discussions and found no answer

  • I have searched other issues and found no duplicates

  • I want to request a feature or enhancement and not ask a question

The problem

When viewing the AGH dashboard, it's not clear whether the main 4 stats shown are for a hour, day, or total since enabling AGH.

Can this be added as it's not ideal that you have to search the web for an answer (which I still haven't found).

Proposed solution

Some improvements, such as toggling between , Minutes, Hours, Days, Weeks, etc for the stats would be very helpful.

#6381 has some great suggestions and improvements too, but this request is for clarity when you glance at the dashboard page.

Alternatives considered and additional information

No response

Originally created by @thewonderer73 on GitHub (Dec 29, 2023). ### Prerequisites - [X] I have checked the [Wiki](https://github.com/AdguardTeam/AdGuardHome/wiki) and [Discussions](https://github.com/AdguardTeam/AdGuardHome/discussions) and found no answer - [X] I have searched other issues and found no duplicates - [X] I want to request a feature or enhancement and not ask a question ### The problem When viewing the AGH dashboard, it's not clear whether the main 4 stats shown are for a hour, day, or total since enabling AGH. Can this be added as it's not ideal that you have to search the web for an answer (which I still haven't found). ### Proposed solution Some improvements, such as toggling between , Minutes, Hours, Days, Weeks, etc for the stats would be very helpful. #6381 has some great suggestions and improvements too, but this request is for clarity when you glance at the dashboard page. ### Alternatives considered and additional information _No response_
Author
Owner

@ainar-g commented on GitHub (Jan 10, 2024):

I'm not sure what this feature request is really about, sorry. The statistics currently do show the period, e.g.:

for the last 90 days

Can you rewrite the request to be about a single exact improvement?

@ainar-g commented on GitHub (Jan 10, 2024): I'm not sure what this feature request is really about, sorry. The statistics currently do show the period, e.g.: > for the last 90 days Can you rewrite the request to be about a single exact improvement?
Author
Owner

@thewonderer73 commented on GitHub (Jan 10, 2024):

Apologies.

When you look at Dashboard, the 4 horizontal charts don't indicate what the time period is for these charts. Only when you hold your mouse / pointer over them, do you realise they are 24 hours. All other information on the dashboard states 'for the last 24 hours'.

Could the dashboard be modified so that it states the time period at the top of the page? I didn't know the charts were interactive until after this post. Other people would also not be aware. The advantage of stating at the top of the dashboard that all data is from the last 24 hours is you could remove some of the text from the 'General stats', 'top clients', etc.

Possibly you could code the dashboard to hold up to 30 days of stats (I realise that this would need to be checked carefully as the storage requirements could present issues for some devices). You could use a drop down list in the Dashboard to swap between the different time periods.

Where you have the buttons 'Disable protection' and 'Refresh statistics', you could add another button that says 'Change stats duration' or something like that.

Love your app BTW.

@thewonderer73 commented on GitHub (Jan 10, 2024): Apologies. When you look at Dashboard, the 4 horizontal charts don't indicate what the time period is for these charts. Only when you hold your mouse / pointer over them, do you realise they are 24 hours. All other information on the dashboard states 'for the last 24 hours'. Could the dashboard be modified so that it states the time period at the top of the page? I didn't know the charts were interactive until after this post. Other people would also not be aware. The advantage of stating at the top of the dashboard that all data is from the last 24 hours is you could remove some of the text from the 'General stats', 'top clients', etc. Possibly you could code the dashboard to hold up to 30 days of stats (I realise that this would need to be checked carefully as the storage requirements could present issues for some devices). You could use a drop down list in the Dashboard to swap between the different time periods. Where you have the buttons 'Disable protection' and 'Refresh statistics', you could add another button that says 'Change stats duration' or something like that. Love your app BTW.
Author
Owner

@Sakura-Luna commented on GitHub (Jan 24, 2024):

@ainar-g

  • Statistics for 7 days displayed as 168 hours on the dashboard.

I think 168 hours is more useful than 7 days to see trends in more detail, so it should be retained.

@Sakura-Luna commented on GitHub (Jan 24, 2024): @ainar-g - `Statistics for 7 days displayed as 168 hours on the dashboard.` I think 168 hours is more useful than 7 days to see trends in more detail, so it should be retained.
Author
Owner

@ainar-g commented on GitHub (Jan 24, 2024):

@thewonderer73, I see. There is only one statistics period, so the graphs can be assumed to have the same period as the tables below.

@Sakura-Luna, I'm not sure what you're referring to, but that does not seem to be a part of this issue?

@ainar-g commented on GitHub (Jan 24, 2024): @thewonderer73, I see. There is only one statistics period, so the graphs can be assumed to have the same period as the tables below. @Sakura-Luna, I'm not sure what you're referring to, but that does not seem to be a part of this issue?
Author
Owner

@Sakura-Luna commented on GitHub (Jan 24, 2024):

@ainar-g

Some improvements, such as toggling between , Minutes, Hours, Days, Weeks, etc for the stats would be very helpful.

I'm assuming this is a related question and replying here since there is no associated issue thread for this change.

@Sakura-Luna commented on GitHub (Jan 24, 2024): @ainar-g > Some improvements, such as toggling between , Minutes, Hours, Days, Weeks, etc for the stats would be very helpful. I'm assuming this is a related question and replying here since there is no associated issue thread for this [change](https://github.com/AdguardTeam/AdGuardHome/releases/tag/v0.108.0-b.52).
Author
Owner

@schzhn commented on GitHub (Jan 24, 2024):

@Sakura-Luna, this change was made to align the displayed message (General statistics for the last 7 days) with the setting in the Statistics configuration section of the General settings page (7 days).
As a workaround, you can set the statistics retention interval to 167 hours.

@schzhn commented on GitHub (Jan 24, 2024): @Sakura-Luna, this change was made to align the displayed message (*General statistics for the last 7 days*) with the setting in the *Statistics configuration* section of the *General settings* page (*7 days*). As a workaround, you can set the statistics retention interval to 167 hours.
Author
Owner

@ainar-g commented on GitHub (Jan 24, 2024):

@Sakura-Luna, I see, you mean the fix we've committed recently.

I'll retitle this issue to be about a unit toggle then.

@ainar-g commented on GitHub (Jan 24, 2024): @Sakura-Luna, I see, you mean the fix we've committed recently. I'll retitle this issue to be about a unit toggle then.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/AdGuardHome#4981
No description provided.