View Issue Details

IDProjectCategoryView StatusLast Update
0012026Talerexchange AML officer webuipublic2026-11-10 23:42
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 
Summary0012026: AML: 'Create session' (officer key creation) does not focus the password field
DescriptionWhat happens:
With no officer key in the browser, Routing shows CreateSession: a dedicated page with Password and Repeat password. CreateSession already passes `focus` to FormUI, but at HEAD web-util InputLine ignores it (the doAutoFocus ref is commented out with a FIXME), so nothing is focused. Measured on the 'officer access / NewSession' story: activeElement = BODY.

Expected:
The first field, Password, is focused.

Where:
  - packages/taler-exchange-aml-webui/src/components/CreateSession.tsx:121

Measured in headless Chromium (document.activeElement):
  before: BODY (nothing focused)
  after: INPUT[name=password][type=password]

Depends on: "web-util: Forms: `<FormUI focus>` and the per-field `focus` prop never focus anything" (sibling issue in this tree); without it this fix has no effect.

Proposed fix:
No local change is needed, because the package already requests focus. The web-util change in the working tree makes InputLine honour `focus` (useAutoFocus on mount), and with it the Password field is focused.

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: Rendered against git HEAD vs the working-tree web-util; the screenshot confirms focus. Typing into 'Repeat password' afterwards keeps focus there (no re-focus on re-render).
TagsNo tags attached.
Attached Files
aml--create-session--before.png (21,353 bytes)   
aml--create-session--before.png (21,353 bytes)   
aml--create-session--after.png (22,077 bytes)   
aml--create-session--after.png (22,077 bytes)   

Required notifications

Address or linkRemarkAdded byNotifiedActions

Relationships

related to 0012057 new web-util: Forms: `<FormUI focus>` and the per-field `focus` prop never focus anything 
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:42bot-cgRelationship addedrelated to 0012057
2026-11-10 23:42bot-cgFile Added: aml--create-session--before.png
2026-11-10 23:42bot-cgFile Added: aml--create-session--after.png