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(web-analytics): Add UI to choose custom channel types #26284

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

Conversation

robbie-c
Copy link
Collaborator

@robbie-c robbie-c commented Nov 19, 2024

Problem

For context: #21195
This PR is the UI side, the back end side was done here: #26181

Changes

Still behind an FF, the plan is to release it for us and dogfood before turning it on for anyone

I can create custom channel types here:
Screenshot 2024-11-22 at 16 32 53

Which I can see in queries:
Screenshot 2024-11-22 at 16 34 41

(this is matching traffic with utm_source=google)

Here's a longer video
https://github.com/user-attachments/assets/fe201b21-b536-4e7c-883e-e4c55cf1bfb7

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

Yes

How did you test this code?

The backend changes have test in the other PR
The UI component I made for this has a storybook snapshot

@robbie-c robbie-c force-pushed the feature/add-ui-to-choose-channel-types branch from 5719e07 to 7230a1a Compare November 20, 2024 15:39
Copy link
Contributor

github-actions bot commented Nov 20, 2024

Size Change: +894 B (+0.08%)

Total Size: 1.16 MB

ℹ️ View Unchanged
Filename Size Change
frontend/dist/toolbar.js 1.16 MB +894 B (+0.08%)

compressed-size-action

@robbie-c robbie-c force-pushed the feature/add-ui-to-choose-channel-types branch from 9404a8e to 9d3d911 Compare November 20, 2024 15:57
@robbie-c robbie-c force-pushed the feature/add-ui-to-choose-channel-types branch from fc97a72 to 9b68150 Compare November 22, 2024 16:02
@robbie-c robbie-c force-pushed the feature/add-ui-to-choose-channel-types branch from 557f24a to 5315025 Compare November 22, 2024 16:32
@robbie-c robbie-c marked this pull request as ready for review November 22, 2024 17:00
TouchSensor,
useSensor,
useSensors,
} from '@dnd-kit/core'
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

I used dnd kit for this as we already use it as a dependency elsewhere. Most of this file is modified examples that they provide

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.

1 participant