mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-05 19:41:12 +08:00
Move EntriesFilter to Timeline because EntriesFilter needs a function that checks if the entry is visible in the Timeline to correctly add the "Expand" button and the `entryIsVisibleInTimeline` function is using a function from EventUICategory, which cannot be imported into the `models`. Also add a test to cover the case when the next parent is not visible in the timeline. Bug: 338977625 Change-Id: I52120c97cdeba87231bcdcc2f39a6eff710f62e4 Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5718089 Commit-Queue: Jack Franklin <jacktfranklin@chromium.org> Auto-Submit: Alina Varkki <alinavarkki@chromium.org> Reviewed-by: Jack Franklin <jacktfranklin@chromium.org>