Skip to content

Conversation

@hendriksen-mark
Copy link

📃 Description

Introduces new filter options (month to date, last 90 days, year to date, last 365 days, last 5 years, last 10 years, all time) to HasChartFilters and updates all chart widgets to support these filters in their data queries. Also adds Livewire event handling for filter changes to improve interactivity.

🪵 Changelog

➕ Added

  • added more time periods

✏️ Changed

  • widgets use the same time period when a different time is selected in a different widget.

📷 Screenshots

Scherm­afbeelding 2026-01-18 om 12 40 58

Introduces new filter options (month to date, last 90 days, year to date, last 365 days, last 5 years, last 10 years, all time) to HasChartFilters and updates all chart widgets to support these filters in their data queries. Also adds Livewire event handling for filter changes to improve interactivity.
Copilot AI review requested due to automatic review settings January 18, 2026 11:42
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR extends the chart filtering capabilities by adding seven new time range options (Month to Date, Last 90 Days, Year to Date, Last 365 Days, Last 5 Years, Last 10 Years, and All Time) and implements Livewire event-based synchronization so that all chart widgets update together when any widget's filter changes.

Changes:

  • Added seven new time period filter options to the HasChartFilters trait
  • Implemented Livewire event handling to synchronize filter selection across all widgets
  • Updated six chart widgets to support all new time period filters in their data queries

Reviewed changes

Copilot reviewed 7 out of 7 changed files in this pull request and generated no comments.

Show a summary per file
File Description
app/Filament/Widgets/Concerns/HasChartFilters.php Added new filter options and Livewire event handlers for filter synchronization
app/Filament/Widgets/RecentUploadLatencyChartWidget.php Added query conditions for new time period filters
app/Filament/Widgets/RecentUploadChartWidget.php Added query conditions for new time period filters
app/Filament/Widgets/RecentPingChartWidget.php Added query conditions for new time period filters
app/Filament/Widgets/RecentJitterChartWidget.php Added query conditions for new time period filters
app/Filament/Widgets/RecentDownloadLatencyChartWidget.php Added query conditions for new time period filters
app/Filament/Widgets/RecentDownloadChartWidget.php Added query conditions for new time period filters

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@alexjustesen
Copy link
Owner

Thanks for the PR!

Since I'm working on the new dashboard (#2578) PRs for the old one aren't going to be accepted.

@hendriksen-mark
Copy link
Author

Ow nice did not see that one, making good progress it looks like, just out of curiosity when do you plan on releasing this?

@alexjustesen
Copy link
Owner

_Soon_TM.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants