Skip to content

update play user agent #32

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

Merged
merged 1 commit into from
Aug 14, 2024
Merged

update play user agent #32

merged 1 commit into from
Aug 14, 2024

Conversation

mwood23
Copy link
Contributor

@mwood23 mwood23 commented Aug 14, 2024

Closes #

πŸ’Έ TL;DR

Updates the user agent to be consistent with iOS/Android

πŸ“œ Details

Design Doc

Jira

πŸ§ͺ Testing Steps / Validation

βœ… Checks

  • CI tests (if present) are passing
  • Adheres to code style for repo
  • Contributor License Agreement (CLA) completed if not a Reddit employee

@mwood23 mwood23 requested a review from niedzielski August 14, 2024 14:18
@@ -125,7 +125,7 @@ export class PlayPreview extends LitElement {
'devvit-installation': {values: ['123']},
'devvit-subreddit': {values: ['t5_123']},
'devvit-user': {values: ['t2_123']},
'devvit-user-agent': {values: ['play']}
'devvit-user-agent': {values: ['Reddit;Play;not-provided']}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm unsure what the overlap is with an HTTP user agent and metadata. most metadata uses multiple items or a single CSV to represent multiple values.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is the structure that iOS/Android gave and I wanted to make it consistent across all surfaces 🀷

@mwood23 mwood23 merged commit 787a6bf into main Aug 14, 2024
1 check passed
@mwood23 mwood23 deleted the update-user-agent branch August 14, 2024 15:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants