-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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: adding capture events for toggling access control button #26705
Conversation
fc18650
to
ecad106
Compare
Adding a separate function to test toggle action |
The tests I wrote for this event keeps failing due to mismatch event name. I can keep working on this, but Id like to merge the capture at least so we can start collecting logs on this action |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you remove the cache that's being added in these new files?
Hmm, not sure what you mean. We should be able to test this fairly easily. Do you want to add the test back and I can help you debug it? |
I've added the tests back and verified that they pass locally. Previously the tests were failing, so I want to wait for these to complete before moving forward. |
creating a new branch since this got ugly: #27031 |
Problem
We want to capture logs when the user toggles on/off access control feature under teams.
Remaining features include:
Changes
Changes only add logs in the backend, no frontend changes
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Does this work well for both Cloud and self-hosted?
Cloud: Yes
How did you test this code?
Locally verified that the activity monitor showed the events and add tests