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

chore(): add eslint-plugin-react-google-translate to posthog app #27521

Open
wants to merge 14 commits into
base: master
Choose a base branch
from

Conversation

havenbarnes
Copy link
Contributor

@havenbarnes havenbarnes commented Jan 14, 2025

Problem

This eslint plugin warns against react patterns that can result in errors thrown when our users attempt to use our sites with google translate enabled (example of this here)

More info on the problem here: facebook/react#11538

I will likely also add this to posthog.com as there have been the same errors there experienced by prospective users as well

Changes

Does this work well for both Cloud and self-hosted?

Yes

How did you test this code?

Rendered changed frontend code to make sure no visual changes occur

@havenbarnes havenbarnes changed the title Add eslint-plugin-react-google-translate to posthog app chore(): add eslint-plugin-react-google-translate to posthog app Jan 14, 2025
Copy link
Contributor

github-actions bot commented Jan 14, 2025

Size Change: 0 B

Total Size: 1.13 MB

ℹ️ View Unchanged
Filename Size
frontend/dist/toolbar.js 1.13 MB

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

33 snapshot changes in total. 0 added, 33 modified, 0 deleted:

  • chromium: 0 added, 33 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

3 snapshot changes in total. 0 added, 3 modified, 0 deleted:

  • chromium: 0 added, 3 modified, 0 deleted (diff for shard 2)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

32 snapshot changes in total. 0 added, 32 modified, 0 deleted:

  • chromium: 0 added, 32 modified, 0 deleted (diff for shard 1)
  • webkit: 0 added, 0 modified, 0 deleted

Triggered by this commit.

👉 Review this PR's diff of snapshots.

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.

3 participants