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

Refactor FXIOS-11023 [Glean] Use glean wrapper for DefaultShareTelemetry #24231

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

aya-en-amir
Copy link

📜 Tickets

Jira ticket
Github issue

💡 Description

Updated DefaultShareTelemetry + unit tests to use glean wrapper.

📝 Checklist

You have to check all boxes before merging

  • Filled in the above information (tickets numbers and description of your work)
  • Updated the PR name to follow our PR naming guidelines
  • Wrote unit tests and/or ensured the tests suite is passing
  • When working on UI, I checked and implemented accessibility (minimum Dynamic Text and VoiceOver)
  • If needed, I updated documentation / comments for complex code and public methods
  • If needed, added a backport comment (example @Mergifyio backport release/v120)

@aya-en-amir aya-en-amir requested a review from a team as a code owner January 18, 2025 20:14
@DanielDervishi DanielDervishi requested review from cyndichin and DanielDervishi and removed request for FilippoZazzeroni January 20, 2025 00:06
Copy link
Collaborator

@DanielDervishi DanielDervishi left a comment

Choose a reason for hiding this comment

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

Great Work Enaya!

}

func createSubject() -> ShareTelemetry {
return DefaultShareTelemetry()
return DefaultShareTelemetry(gleanWrapper: GleanWrapper)
Copy link
Collaborator

@DanielDervishi DanielDervishi Jan 20, 2025

Choose a reason for hiding this comment

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

Suggested change
return DefaultShareTelemetry(gleanWrapper: GleanWrapper)
return DefaultShareTelemetry(gleanWrapper: gleanWrapper)

Just noticed after the fact, we should be passing in the gleanWrapper variable rather than the protocol itself :)

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