firefox-devtools / firefox-devtools/profiler

Hook up "marker-table" and "marker-chart" filtering to the marker schema

Open
#2,889 3 comments 0 reactions 0 assignees View on GitHub
markers
Dominant language
TypeScript
Stars
1.5k
Forks
491
Avg merge
3d 46m
Merged PRs (30d)
27

Description

I think I forgot to do this. Also, we should default-in if a marker provides no schema.

```js
export function filterForMarkerChart(
getMarker: MarkerIndex => Marker,
markerIndexes: MarkerIndex[]
): MarkerIndex[] {
return filterMarkerIndexes(
getMarker,
markerIndexes,
marker => !isNetworkMarker(marker)
);
}
```

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-321)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.