Skip to content

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
@github-actions
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.

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

  • chromium: 0 added, 2 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

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

  • chromium: 0 added, 4 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.

@havenbarnes
Copy link
Contributor Author

@rafaeelaudibert sorry for jumping the gun on re-review earlier, should be ready now

@havenbarnes havenbarnes merged commit 579408c into master Jan 16, 2025
99 checks passed
@havenbarnes havenbarnes deleted the eslint-google-translate branch January 16, 2025 18:25
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.

4 participants