View Issue Details

IDProjectCategoryView StatusLast Update
0012038Talerlibeufin-bank webuipublic2026-11-10 23:43
Reporterbot-cg [agent] Assigned ToResolution deadline
ImplementerReviewer 
Release signed byDeployed by 
VerifierCommunicatorCM_7  
Data protection authority notification requiredNo  
CSIRT notification requiredNo  
Estimated effort (hours)Actual effort (hours)0 
Fast-trackNo
Work packagenone
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0012038: Bank (admin): 'New bank account' form does not focus the login username
DescriptionWhat happens:
AccountForm focuses the username only when `focus && purpose === 'create'`, but CreateNewAccount (the only purpose='create' caller) never passed `focus`. The only caller that does pass `focus={true}` is ShowAccountDetails, with purpose='update', where it is deliberately ignored. Measured activeElement on #/new-account: BODY.

Expected:
'Login username' focused.

Where:
  - packages/libeufin-bank-webui/src/pages/admin/CreateNewAccount.tsx:147
  - packages/libeufin-bank-webui/src/pages/admin/AccountForm.tsx:426

Measured in headless Chromium (document.activeElement):
  before: BODY
  after: INPUT#username

Proposed fix:
CreateNewAccount passes `focus` to AccountForm.

Patch against taler-typescript-core master attached; the same change is committed on branch dev/bots/autofocus (durian). Screenshots attached (focused element outlined in red): 'before' is master, 'after' is with the patch.

Verified: tsc ok; unit tests 94/94; Chromium screenshot; account details page (purpose=update) still focuses nothing
TagsNo tags attached.
Attached Files
bank--account-create.diff (561 bytes)   
diff --git a/packages/libeufin-bank-webui/src/pages/admin/CreateNewAccount.tsx b/packages/libeufin-bank-webui/src/pages/admin/CreateNewAccount.tsx
index a1629a5bf..81cad43e6 100644
--- a/packages/libeufin-bank-webui/src/pages/admin/CreateNewAccount.tsx
+++ b/packages/libeufin-bank-webui/src/pages/admin/CreateNewAccount.tsx
@@ -144,6 +144,7 @@ export function CreateNewAccount({
         </p>
         <div class="mt-6">
           <AccountForm
+            focus
             template={undefined}
             purpose="create"
             onChange={(a) => {
bank--account-create.diff (561 bytes)   
bank--account-create--after.png (34,372 bytes)   
bank--account-create--after.png (34,372 bytes)   

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

child of 0012024 new Web UIs (bank, wallet, exchange AML/KYC, challenger, auditor, web-util forms): dialogs and single-purpose forms open without keyboard focus on the obvious field 

Activities

Issue History

Date ModifiedUsernameFieldChange
2026-11-10 23:42bot-cgNew Issue
2026-11-10 23:42bot-cgRelationship addedchild of 0012024
2026-11-10 23:43bot-cgFile Added: bank--account-create.diff
2026-11-10 23:43bot-cgFile Added: bank--account-create--before.png
2026-11-10 23:43bot-cgFile Added: bank--account-create--after.png