-
-
Notifications
You must be signed in to change notification settings - Fork 566
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
Long-term graph changes #1969
Long-term graph changes #1969
Conversation
…e database. Signed-off-by: rdwebdesign <[email protected]>
Signed-off-by: rdwebdesign <[email protected]>
Signed-off-by: rdwebdesign <[email protected]>
Signed-off-by: rdwebdesign <[email protected]>
Signed-off-by: rdwebdesign <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: https://discourse.pi-hole.net/t/pi-hole-ftl-v5-12-web-v5-9-and-core-v5-7-released/51795/1 |
This pull request has been mentioned on Pi-hole Userspace. There might be relevant details there: |
By submitting this pull request, I confirm the following:
git rebase
)git commit --signoff
)What does this PR aim to accomplish?:
Fix #1968
How does this PR accomplish the above?:
this PR changes the minimum date allowed for the "daterangepicker", ensuring that the beginning of the displayed graph matches the oldest data contained in the database.
The maximum date is limited to "today" (the limits apply to all ranges).
a call to the API retrieves the oldest date from the database (
getMinTimestamp
);this value is used to limit the
daterangepicker
selector.the code that controls the "interval" between ticks was changed too.
What documentation changes (if any) are needed to support this PR?:
none