Add framework event node level event filtering

Summary: Lets you filter a nodes events by thread or type

Reviewed By: lblasa

Differential Revision: D48346955

fbshipit-source-id: 455d65ad21c54c5ad26782ac6a446f7ae15a4356
This commit is contained in:
Luke De Feo
2023-08-21 04:24:16 -07:00
committed by Facebook GitHub Bot
parent 3cd6079c24
commit f5bc03c263
3 changed files with 94 additions and 26 deletions

View File

@@ -45,6 +45,9 @@ export class TimelineDataDescription extends Component<Props, State> {
render(): ReactNode {
const moments = Object.values(this.props.timeline.time);
if (moments == null || moments.length === 0) {
return null;
}
const firstMoment = moments[0].moment;
const points = moments.map((value) => ({
label: value.display,