fix(github): restore the Test connection button on GitHub sources

The redesign removed the only way to call testConnection on GitHub sources;
GitLab sources still have the button.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Andras Bacsai
2026-09-28 08:08:38 +02:00
co-authored by Claude Opus 5.5
parent a6a3b1d26b
commit 8dee2f4cb5
@@ -104,6 +104,12 @@
<x-application.settings-section title="General"
description="Connection and authentication settings for this private GitHub source.">
<x-slot:actions>
@if ($isConnected)
<x-forms.button type="button" canGate="view" :canResource="$github_app"
wire:click.prevent="testConnection">
Test connection
</x-forms.button>
@endif
<x-forms.button type="button" wire:click.prevent="updateGithubAppName">
<x-reicon name="refresh" class="size-3.5" />
Sync name