Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add userClickTimeV2 context value. #2522

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

juanscr
Copy link
Contributor

@juanscr juanscr commented Sep 23, 2024

Description

This pull request exposes the new field userClickTimeV2 which can be used to properly measured app initialization time since the user clicked on the app. This field must be set by using the monotonic timers API exposed by the performance feature of JavaScript as performance.now() + performance.timeOrigin and can be used to measure any necessary elapsed time between click and any other point.

Main changes in the PR:

  1. Add userClickTimeV2 in context type objects.

Validation

Validation performed:

Ran tests and build everything to validate everything keep working as usual.

Unit Tests added:

No, didn't seem needed as this field is not set by this codebase.

End-to-end tests added:

No

Additional Requirements

Change file added:

Yes

@juanscr juanscr requested a review from a team as a code owner September 23, 2024 20:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant