Skip to content

Conversation

@antonis
Copy link
Contributor

@antonis antonis commented Sep 9, 2021

Prior to this change, wpandroid_editor_session_start events were not sent to Tracks, as they were marked as invalid with the following error. This relates to changes made in #15134 and aligns with the fix applied to iOS with wordpress-mobile/WordPress-iOS#17130

Custom properties dictionary keys must contain alpha characters and underscores only.

To test:

  1. Install 18.2 beta build.
  2. Launch post editor.
  3. ⚠️ Verify wpandroid_editor_session_start event does not arrive to Tracks.
  4. Install build from this PR.
  5. Launch post editor.
  6. ✅ Verify wpandroid_editor_session_start event arrives to Tracks with expected properties.

Regression Notes

  1. Potential unintended areas of impact
    Custom properties for the event are missing.

  2. What I did to test those areas of impact (or what existing automated tests I relied on)
    Verified custom properties arrived with the event in Tracks.

  3. What automated tests I added (or what prevented me from doing so)
    N/A

PR submission checklist:

  • I have completed the Regression Notes.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@peril-wordpress-mobile
Copy link

peril-wordpress-mobile bot commented Sep 9, 2021

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@antonis antonis added this to the 18.2 ❄️ milestone Sep 9, 2021
@antonis antonis self-assigned this Sep 9, 2021
@peril-wordpress-mobile
Copy link

Warnings
⚠️ This PR is assigned to a milestone which is closing in less than 4 days Please, make sure to get it merged by then or assign it to a later expiring milestone

Generated by 🚫 dangerJS

@peril-wordpress-mobile
Copy link

You can test the changes on this Pull Request by downloading the APKs:

Copy link
Member

@dcalhoun dcalhoun left a comment

Choose a reason for hiding this comment

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

LGTM. Verified the event arrived in Tracks with the expected properties, including unstable_gallery_with_image_blocks, using a Samsung Galaxy S20.

@antonis
Copy link
Contributor Author

antonis commented Sep 9, 2021

Thank you for the prompt review @dcalhoun! I really appreciate this 🙇

@antonis antonis merged commit 5a5b080 into release/18.2 Sep 9, 2021
@antonis antonis deleted the bug/fix-editor-session-start-event-properties branch September 9, 2021 13:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants