Skip to content

Dispatch notifications-test-sent and show queued message#34

Merged
venelinkochev merged 1 commit into
mainfrom
feat/notification-channels-pushover
Apr 24, 2026
Merged

Dispatch notifications-test-sent and show queued message#34
venelinkochev merged 1 commit into
mainfrom
feat/notification-channels-pushover

Conversation

@venelinkochev
Copy link
Copy Markdown
Contributor

Send a named browser event when a test notification is triggered and provide immediate UI feedback. The Livewire sendTest now dispatches a 'notifications-test-sent' event with the channelId detail. The notifications Blade view listens for that event via Alpine, shows a transient "Test queued" message, and adds explicit loading text ("Sending…") on the send button. The feature test was updated to assert the event is dispatched. These changes improve UX by confirming the test was queued and showing a loading state while the notification is sent.

Send a named browser event when a test notification is triggered and provide immediate UI feedback. The Livewire sendTest now dispatches a 'notifications-test-sent' event with the channelId detail. The notifications Blade view listens for that event via Alpine, shows a transient "Test queued" message, and adds explicit loading text ("Sending…") on the send button. The feature test was updated to assert the event is dispatched. These changes improve UX by confirming the test was queued and showing a loading state while the notification is sent.
@venelinkochev venelinkochev merged commit 677effd into main Apr 24, 2026
2 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.

1 participant