fix: onboarding autofocus — Continue button + Identity name input
Some checks failed
Build Archipelago ISO (dev) / build-iso (push) Has been cancelled

- Path screen: Continue autofocused after 500ms (was 400ms, missed transition)
- Identity screen: name input autofocused on mount
- path-action-button now shows orange focus glow (removed from suppression list)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Dorian
2026-03-30 09:38:47 +01:00
parent ccad4737de
commit ff85754aa2

View File

@@ -18,6 +18,7 @@
<div class="path-option-card cursor-default px-4 py-4 sm:px-6 sm:py-6">
<label class="block text-sm font-semibold text-white/80 mb-3 uppercase tracking-wide">Identity Name</label>
<input
ref="nameInput"
v-model="identityName"
type="text"
placeholder="Personal"
@@ -75,12 +76,19 @@
</template>
<script setup lang="ts">
import { ref } from 'vue'
import { ref, onMounted } from 'vue'
import { useRouter } from 'vue-router'
import { rpcClient } from '@/api/rpc-client'
const router = useRouter()
const nameInput = ref<HTMLInputElement | null>(null)
const identityName = ref('Personal')
onMounted(() => {
setTimeout(() => {
nameInput.value?.focus({ preventScroll: true })
}, 500)
})
const selectedPurpose = ref('personal')
const isCreating = ref(false)
const errorMessage = ref('')