Skip to content

feat(admin): widgets per source#2

Merged
danielhe4rt merged 1 commit intomainfrom
feat/webhook-source-widget
Sep 18, 2025
Merged

feat(admin): widgets per source#2
danielhe4rt merged 1 commit intomainfrom
feat/webhook-source-widget

Conversation

@PilsAraujo
Copy link
Collaborator

@PilsAraujo PilsAraujo commented Sep 18, 2025

This pull request introduces a new stats widget for inbound webhooks, improves dashboard visibility, and enhances model factory support. The main focus is on providing a breakdown of inbound webhook sources for admins and enabling easier testing and seeding of webhook data.

Dashboard and Widget Improvements

  • Added a new widget, InboundWebhookStatsBySource, which displays the percentage and count of inbound webhooks grouped by their source, including icons and colors for clarity. This widget is now shown in the admin list view and registered globally with Filament.

Model Enhancements

  • Added a static newFactory method to the InboundWebhook model, enabling the use of a custom factory for easier testing and data generation.

Copy link
Contributor

@danielhe4rt danielhe4rt left a comment

Choose a reason for hiding this comment

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

LGTM!

@danielhe4rt danielhe4rt linked an issue Sep 18, 2025 that may be closed by this pull request
7 tasks
@danielhe4rt danielhe4rt merged commit 18fc3e1 into main Sep 18, 2025
3 of 19 checks passed
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.

feat: webhook stats

2 participants