fix: polish form validation and feedback across views

- Server.vue: Add loading/disabled state to WiFi connect button,
  success toast on WiFi connection
- Credentials.vue: Disable verify button when input empty, add
  disabled styles

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-11 10:49:26 +00:00
co-authored by Claude Opus 4.6
parent 1ca83f97ec
commit 112b15b4ea
3 changed files with 10 additions and 4 deletions
+1 -1
View File
@@ -99,7 +99,7 @@
<input v-model="verifyId" type="text" placeholder="urn:uuid:..." class="credential-input w-full font-mono text-sm" />
</div>
<div class="flex items-center gap-4">
<button @click="verifyCredential" :disabled="verifying" class="glass-button px-6 py-2 text-sm font-medium">
<button @click="verifyCredential" :disabled="verifying || !verifyId" class="glass-button px-6 py-2 text-sm font-medium disabled:opacity-50 disabled:cursor-not-allowed">
{{ verifying ? 'Verifying...' : 'Verify' }}
</button>
<div v-if="verifyResult !== null" class="flex items-center gap-2">