Skip to content

Conversation

ladamski
Copy link
Collaborator

@ladamski ladamski commented Oct 3, 2025

Task/Issue URL: https://app.asana.com/1/137249556945/project/1171671347221384/task/1210907475542624

Description

Initial support for https://app.asana.com/1/137249556945/project/1209805270658160/list/1209805324244987
Specific subtask for this PR: https://app.asana.com/1/137249556945/task/1210907475542626

Steps to test this PR

https://app.asana.com/1/137249556945/task/1209901985192016?focus=true using ".../Android/PixelDefinitions/" as the target directory where specified

Feature 1

  • [ ]
  • [ ]

UI changes

Before After
!(Upload before screenshot) (Upload after screenshot)

Lucas Adamski added 2 commits October 6, 2025 21:12
@ladamski ladamski marked this pull request as ready for review October 7, 2025 20:08
@ladamski ladamski requested a review from nshuba October 7, 2025 20:08
Comment on lines +43 to +64
# Lint step for push (fail on error), for PRs run fix instead
- name: Check or Fix lint
id: lint
run: |
if [[ "${{ github.event_name }}" == "pull_request" ]]; then
npm run lint.fix || true
else
npm run lint
fi
working-directory: PixelDefinitions

# Commit and push changes if lint.fix was run and made changes
- name: Commit and push linter fixes (PRs only)
if: github.event_name == 'pull_request'
run: |
git config --global user.name "github-actions[bot]"
git config --global user.email "github-actions[bot]@users.noreply.github.com"
git add PixelDefinitions/
if ! git diff --cached --quiet; then
git commit -m "chore: auto-fix lint errors"
git push
fi
Copy link
Collaborator

Choose a reason for hiding this comment

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

Let's check with the Android team if they are ok with automated commits. Windows opted into this, but Apple preferred a simple diff output on error: https://app.asana.com/1/137249556945/project/414709148257752/task/1210957466937460?focus=true

@@ -0,0 +1,5 @@
{
"assignee": "ladamski",
"followers": ["jeannamatthews", "nshuba", "sammacbeth"],
Copy link
Collaborator

Choose a reason for hiding this comment

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

Do Sam and Jeanna want to be notified for Android failures?

Comment on lines +10 to +19
"form_factor": {
"type": "string",
"description": "Device form-factor",
"enum": ["phone", "tablet"]
},
"platform": {
"type": "string",
"description": "Device platform",
"enum": ["android"]
},
Copy link
Collaborator

Choose a reason for hiding this comment

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

Nit (I know other platforms do this too), but we can simplify this into something like:

Suggested change
"form_factor": {
"type": "string",
"description": "Device form-factor",
"enum": ["phone", "tablet"]
},
"platform": {
"type": "string",
"description": "Device platform",
"enum": ["android"]
},
"form_factor": {
"type": "string",
"description": "Platform and device form-factor",
"key": "android",
"enum": ["phone", "tablet"]
},

{
"epbf_android": {
"description": "User sent broken site report",
"owners": [],
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think this will fail validation with the latest schema release (owners should not be empty). Maybe Kate can be the owner for Android breakage pixels? Let's ask her in Asana.

"description": "Device platform",
"enum": ["android"]
},
"channel": {
Copy link
Collaborator

Choose a reason for hiding this comment

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

Similar to other comments: is channel utilized on Android? If not, we should remove from here, params_dictionary and TEMPALTE.

},
"remoteConfigEtag": {
"key": "remoteConfigEtag",
"description": "",
Copy link
Collaborator

Choose a reason for hiding this comment

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

Some minimal description here would help set a better precedent :) (and again, I know we have the same issue in other repos)

@@ -0,0 +1,5 @@
{
// This file will define pixels sent by the native experiments framework
"defaultSuffixes": [],
Copy link
Collaborator

Choose a reason for hiding this comment

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

We can prefill this with the .android.[phone|tablet] suffix

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