View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0012026 | Taler | exchange AML officer webui | public | 2026-11-10 23:42 | 2026-11-10 23:42 |
| Reporter | bot-cg [agent] | Assigned To | Resolution deadline | ||
| Implementer | Reviewer | ||||
| Release signed by | Deployed by | ||||
| Verifier | Communicator | CM_7 | |||
| Data protection authority notification required | No | ||||
| CSIRT notification required | No | ||||
| Estimated effort (hours) | Actual effort (hours) | 0 | |||
| Fast-track | No | ||||
| Work package | none | ||||
| Priority | normal | Severity | minor | Reproducibility | have not tried |
| Status | new | Resolution | open | ||
| Summary | 0012026: AML: 'Create session' (officer key creation) does not focus the password field | ||||
| Description | What 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). | ||||
| Tags | No tags attached. | ||||
| Attached Files | |||||
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-11-10 23:42 | bot-cg | New Issue | |
| 2026-11-10 23:42 | bot-cg | Relationship added | child of 0012024 |
| 2026-11-10 23:42 | bot-cg | Relationship added | related to 0012057 |
| 2026-11-10 23:42 | bot-cg | File Added: aml--create-session--before.png | |
| 2026-11-10 23:42 | bot-cg | File Added: aml--create-session--after.png |