You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Because:
- The Engage event on the passwordless OTP screen fired immediately on
page load due to autoFocus triggering the onFocus handler, before the
View event and without any user interaction
- There was no tracking for when users click "Use a different account"
on the OTP code page
- The statsd passwordless.sendCode.success metric did not distinguish
signup from signin
This commit:
- Adds onChangeCb prop to FormVerifyCode so callers can hook into input
changes without hijacking setClearMessages
- Uses onChangeCb for the Glean OTP engage metric, fixing the autoFocus
timing issue
- Emits change email event when user clicks "Use a different account"
on the OTP page
- Adds isNewAccount tag to passwordless.sendCode.success statsd metric
Closes: FXA-13393
0 commit comments