feat(data-management): add property usage events list#24
Open
lordspline wants to merge 6 commits into
Open
Conversation
… pages Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
🖼 Visual QA — property definition pageSurface: Before — master (desktop 1280px)The property definition page ends after Verification Status / Property Type. No events section. After — PR (desktop 1280px)New "Events using this property" section appears below, with a paginated table. After — PR (narrow 390px)Table remains readable at mobile width; EVENT name + internal key stack vertically per row. ✅ Checks
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Problem
When viewing an event property definition in Data management, users cannot see which events use that property. This makes it difficult to understand property usage and impact without manual queries or workarounds.
Changes
/api/projects/{id}/property_definitions/{id}/events/endpoint lists events that have used a property, with event definition IDs and last seen timestampsHow did you test this code?
test_list_events_using_propertyandtest_list_events_using_property_is_project_scopeddefinitionLogic.test.tsto assert property usage events loadingNeed help on this PR? Tag
/codesmithwith what you need. Autofix is disabled.