Analytics: track metadata_filter_changed for chip toggles and range slider commits - #1768
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughFilter components now expose committed range-change callbacks, and dataset layouts record those changes in PostHog. Metadata filter chip toggles and clearing also emit enabled or disabled tracking events, with tests covering payloads and missing collection IDs. ChangesMetadata filter analytics
Estimated code review effort: 3 (Moderate) | ~20 minutes Sequence Diagram(s)sequenceDiagram
participant User
participant FilterComponents
participant DatasetLayout
participant PostHog
User->>FilterComponents: commit range or toggle chip
FilterComponents->>DatasetLayout: report field and range
DatasetLayout->>PostHog: track metadata_filter_changed
Possibly related PRs
Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
❌ Fast Track: checks did not pass
To run the guardrails locally, from Reflects |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 2b0d8e15cf
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
- use interface props
|
/review |
What has changed and why?
Instruments the
metadata_filter_changedPostHog event for metadata chip toggles and range slider commits in the grid filter panel.How has it been tested?
Unit tests.
Did you update CHANGELOG.md?
Summary by CodeRabbit