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

feat(app, app-shell, app-shell-odd): remove analytics modals and migrate analytics to default to on #15505

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

shlokamin
Copy link
Member

@shlokamin shlokamin commented Jun 25, 2024

Overview

This PR migrates the desktop app and ODD's analytics config to default to on. It also removes the seenOptIn config value since it is no longer used. Finally, it removes the app analytics modals that show up when you open the desktop app/ODD for the first time.

closes AUTH-529, AUTH-530, AUTH-532, AUTH-533

Test Plan

This one is sort of hard to test — make sure the code looks good and that the migration does what you'd expect. We'll just have to make sure to battle test this one in QA cc @nusrat813 and @y3rsh

Changelog

  • Default desktop app mixpanel analytics to on
  • Default ODD mixpanel analytics to on
  • Remove desktop app's analytics modal

Review requests

See test plan

Risk assessment

Medium

@shlokamin shlokamin changed the title feat(app, app-shell, app-shell-odd): remove analytics modal and migrate configs to default to on feat(app, app-shell, app-shell-odd): remove analytics modal and migrate analytics to default to on Jun 25, 2024
@shlokamin shlokamin marked this pull request as ready for review June 25, 2024 14:22
@shlokamin shlokamin requested review from a team as code owners June 25, 2024 14:22
@shlokamin shlokamin changed the title feat(app, app-shell, app-shell-odd): remove analytics modal and migrate analytics to default to on feat(app, app-shell, app-shell-odd): remove analytics modals and migrate analytics to default to on Jun 25, 2024
expect(result).toEqual(MOCK_CONFIG_V22)
})
it('should keep version 22', () => {
const v21Config = MOCK_CONFIG_V22
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const v21Config = MOCK_CONFIG_V22
const v22Config = MOCK_CONFIG_V22

})
it('should keep version 22', () => {
const v21Config = MOCK_CONFIG_V22
const result = migrate(v21Config)
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
const result = migrate(v21Config)
const result = migrate(v22Config)

Copy link
Member Author

Choose a reason for hiding this comment

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

oops i forgot to push these changes before i merged... i will do this in another PR

Copy link
Contributor

@koji koji left a comment

Choose a reason for hiding this comment

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

the changes look good to me.

@shlokamin shlokamin merged commit 1ecc05b into edge Jun 26, 2024
20 checks passed
@shlokamin shlokamin deleted the app_turn-on-analytics-by-default branch June 26, 2024 15:47
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