Skip to content

Manage send-test loading with Alpine#35

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

Manage send-test loading with Alpine#35
venelinkochev merged 1 commit into
mainfrom
feat/notification-channels-pushover

Conversation

@venelinkochev
Copy link
Copy Markdown
Contributor

Add an Alpine "sending" state and switch the send-test button from Livewire loading directives to Alpine handlers. The button now sets sending=true, calls $wire.sendTest(...).finally(() => sending=false), and is disabled via x-bind while sending. Loading/sent UI toggles were converted from wire:loading/wire:target to x-show and the existing notifications-test-sent window event remains for the queued message. This provides immediate client-side feedback and prevents duplicate clicks during the test-send operation.

Add an Alpine "sending" state and switch the send-test button from Livewire loading directives to Alpine handlers. The button now sets sending=true, calls $wire.sendTest(...).finally(() => sending=false), and is disabled via x-bind while sending. Loading/sent UI toggles were converted from wire:loading/wire:target to x-show and the existing notifications-test-sent window event remains for the queued message. This provides immediate client-side feedback and prevents duplicate clicks during the test-send operation.
@venelinkochev venelinkochev merged commit 26f170c 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