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 language key to anonymous reports #11004

Merged

Conversation

obfuscated-loop
Copy link
Collaborator

As mentioned in #11003 - localized pages sometimes renders different content based on language/country. This PR adds a language key to the anonymous reports so maintainers can test if it is a localization-related issue. I will also make a PR to the API repo if this gets accepted to grab the reporters country, and place the two pieces of data in the GitHub issues.

Granted, these requests are supposed to be anonymous in nature, but I think we can do this as the bare-minimum to help maintainers find the issue faster, rather than parsing the URL paths. Let me know what you think.

@obfuscated-loop
Copy link
Collaborator Author

Actually, a better way of getting the user's country would be using the native Geolocation API but I'm sure a lot of people wouldn't be happy with this.

@OhMyGuus OhMyGuus merged commit d84f195 into OhMyGuus:master Jan 14, 2024
1 check passed
@obfuscated-loop obfuscated-loop deleted the add-language-to-anon-requests branch January 16, 2024 14:35
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.

2 participants