View Issue Details

IDProjectCategoryView StatusLast Update
0012037Talerlibeufin-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 
Summary0012037: Bank: 'Cash out' page does not focus the transfer reference
DescriptionWhat happens:
#/new-cashout renders CashoutCreatePage -> CreateCashout without `focus` (dropped in the redesign; the old CashoutListForAccount passed it), so the subject input's doAutoFocus never fires. Measured activeElement: BODY.

Expected:
'Transfer reference' (the first field of the cashout form) focused.

Where:
  - packages/libeufin-bank-webui/src/pages/regional/CashoutCreatePage.tsx:60

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

Proposed fix:
CashoutCreatePage passes `focus` to CreateCashout. If cashout is not possible (no cashout account or legal name), the field is disabled and focusing it does nothing, which is acceptable.

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 (desktop + 390x844, no scroll away from the heading)
TagsNo tags attached.
Attached Files
bank--cashout-create.diff (565 bytes)   
diff --git a/packages/libeufin-bank-webui/src/pages/regional/CashoutCreatePage.tsx b/packages/libeufin-bank-webui/src/pages/regional/CashoutCreatePage.tsx
index 274564491..a87c3c365 100644
--- a/packages/libeufin-bank-webui/src/pages/regional/CashoutCreatePage.tsx
+++ b/packages/libeufin-bank-webui/src/pages/regional/CashoutCreatePage.tsx
@@ -57,6 +57,7 @@ export function CashoutCreatePage({
           </a>
         </div>
         <CreateCashout
+          focus
           account={account}
           routeClose={routeClose}
           onCashout={onCashout}
bank--cashout-create.diff (565 bytes)   
bank--cashout-create--after.png (51,831 bytes)   
bank--cashout-create--after.png (51,831 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--cashout-create.diff
2026-11-10 23:43bot-cgFile Added: bank--cashout-create--before.png
2026-11-10 23:43bot-cgFile Added: bank--cashout-create--after.png