Skip to content

fix(settings): fix metrics not always emitted for third party auth#20087

Open
MagentaManifold wants to merge 1 commit intomainfrom
FXA-12949
Open

fix(settings): fix metrics not always emitted for third party auth#20087
MagentaManifold wants to merge 1 commit intomainfrom
FXA-12949

Conversation

@MagentaManifold
Copy link
Contributor

Because

  • metrics not always emitted for third party auth

This pull request

  • avoids using for navigation

Issue that this pull request solves

Closes: FXA-12949

Checklist

Put an x in the boxes that apply

  • My commit is GPG signed.
  • If applicable, I have modified or added tests which pass locally.
  • I have added necessary documentation (if appropriate).
  • I have verified that my changes render correctly in RTL (if appropriate).

Screenshots (Optional)

Please attach the screenshots of the changes made in case of change in user interface.

Other information (Optional)

Any other information that is important to this pull request.

@MagentaManifold MagentaManifold requested a review from a team as a code owner February 19, 2026 23:34
Copy link
Contributor

@vbudhram vbudhram left a comment

Choose a reason for hiding this comment

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

@MagentaManifold Do you see the metrics get posted? When I went through the flow they didn't complete

Image

@MagentaManifold
Copy link
Contributor Author

Whoops, I thought that means metrics are sent. Maybe this is not working. I gotta do more testing...

@MagentaManifold MagentaManifold marked this pull request as draft February 25, 2026 16:16
Because:

* metrics not always emitted for third party auth

This commit:

* avoids using <form> for navigation

Closes FXA-12949
@MagentaManifold MagentaManifold marked this pull request as ready for review February 26, 2026 19:39
@MagentaManifold
Copy link
Contributor Author

MagentaManifold commented Feb 26, 2026

@vbudhram Hi! I have done some more testing, and it turns out that although it seems that the request did not complete in the devtool network tab, the server actually can receive those pings. I have verified this through Glean Debug Ping Viewer

EDIT: actually, it seems that it's working even without this fix applied... So this could be a nonissue to start with. Nevertheless, the old code is unnecessarily complex, and it's still beneficial to merge this refactor

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