Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 tasks done
thewonderer73 opened this issue Dec 30, 2023 · 7 comments
Open
3 tasks done

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

thewonderer73 opened this issue Dec 30, 2023 · 7 comments

Comments

@thewonderer73
Copy link

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

@ainar-g
Copy link
Contributor

ainar-g commented 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 ainar-g added waiting for data Waiting for users to provide more data. and removed feature request labels Jan 10, 2024
@thewonderer73
Copy link
Author

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.

@Sakura-Luna
Copy link

@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.

@ainar-g
Copy link
Contributor

ainar-g commented 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?

@Sakura-Luna
Copy link

Sakura-Luna commented 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.

@schzhn
Copy link
Member

schzhn commented 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.

@ainar-g
Copy link
Contributor

ainar-g commented 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 ainar-g added feature request UI and removed waiting for data Waiting for users to provide more data. labels Jan 24, 2024
@ainar-g ainar-g changed the title Dashboard Stats - Add clarification for DNS queries, filters, etc Unit selection on the dashboard (hours vs. days) Jan 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants