admin/client: fix deck editor concurrency, live search, iOS autofill

PrebuiltDeckEditor.razor:
- Add Db.ChangeTracker.Clear() at OnInitializedAsync start to prevent
  stale Deleted/Modified entities from prior circuit pages causing
  DbUpdateConcurrencyException on save
- Replace @bind + button-only search with @oninput + 300ms debounce for
  both card and arch-spirit search inputs (results appear as you type;
  search button retained as manual fallback)
- Clearing the input immediately clears previous results

LoginScreen.tscn:
- Set virtual_keyboard_type = 5 (EMAIL_ADDRESS) on EmailInput and
  RegEmailInput so Godot's experimental virtual keyboard creates
  <input type="email"> instead of type="text" on mobile/web

export_presets.cfg:
- Extend head_include with a MutationObserver that watches for virtual
  keyboard INPUT elements and sets autocomplete="username" on email
  inputs and autocomplete="current-password" on password inputs,
  enabling iOS Face ID / Touch ID password vault autofill

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
This commit is contained in:
dingo
2026-02-28 23:00:13 -05:00
co-authored by Claude Happy
parent 2dcb5c48c8
commit 773fc6a349
3 changed files with 44 additions and 3 deletions
@@ -77,6 +77,7 @@ unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(0, 44)
placeholder_text = "your@email.com"
virtual_keyboard_type = 5
theme_override_font_sizes/font_size = 15
[node name="PasswordLabel" type="Label" parent="Center/Panel/Margin/VBox/Tabs/Login"]
@@ -115,6 +116,7 @@ unique_name_in_owner = true
layout_mode = 2
custom_minimum_size = Vector2(0, 44)
placeholder_text = "your@email.com"
virtual_keyboard_type = 5
theme_override_font_sizes/font_size = 15
[node name="RegPasswordLabel" type="Label" parent="Center/Panel/Margin/VBox/Tabs/Register"]