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

fix: erase url from actions if on event tab #27892

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

Conversation

aspicer
Copy link
Contributor

@aspicer aspicer commented Jan 24, 2025

Problem

#26752

The "Other event" tab in the action creator doesn't have a field for URL, although pageview and autocapture do:
image
image
image

Currently if you type a url into one of the other tabs and then save an "other event" we don't erase the URL, and then we apply that URL check on the backend.

Changes

Tell the front-end to erase the URL field on save for an "other events" filter.

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

Yes

How did you test this code?

Tested locally in dev.

@aspicer aspicer requested a review from a team January 24, 2025 22:57
Copy link
Contributor

github-actions bot commented Jan 24, 2025

Size Change: -15 B (0%)

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.16 MB -15 B (0%)

compressed-size-action

@posthog-bot
Copy link
Contributor

📸 UI snapshots have been updated

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

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

2 participants