[Instrumentation] Signin (#7742)

* first pass at instrumenting login

* round time taken
This commit is contained in:
Samuel Newman
2025-02-14 19:52:53 +00:00
committed by GitHub
parent 11616846ca
commit d793abf8cd
5 changed files with 85 additions and 26 deletions
+5 -1
View File
@@ -5,6 +5,7 @@ import {msg, Trans} from '@lingui/macro'
import {useLingui} from '@lingui/react'
import {BSKY_SERVICE} from '#/lib/constants'
import {logEvent} from '#/lib/statsig/statsig'
import * as persisted from '#/state/persisted'
import {useSession} from '#/state/session'
import {atoms as a, useBreakpoints, useTheme} from '#/alf'
@@ -39,7 +40,10 @@ export function ServerInputDialog({
setPreviousCustomAddress(result)
}
}
}, [onSelect])
logEvent('signin:hostingProviderPressed', {
hostingProviderDidChange: fixedOption !== BSKY_SERVICE,
})
}, [onSelect, fixedOption])
return (
<Dialog.Outer