Skip to content

Create the Network track from the timeline-network schema display location - #6224

Open
fatadel wants to merge 1 commit into
firefox-devtools:mainfrom
fatadel:issue-6194-2
Open

Create the Network track from the timeline-network schema display location#6224
fatadel wants to merge 1 commit into
firefox-devtools:mainfrom
fatadel:issue-6194-2

Conversation

@fatadel

@fatadel fatadel commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Main | Deploy preview

Profile

The Network track was added whenever a thread had a marker with data.type === 'Network'. Add a timeline-network marker-schema display location, declare it on the Network schema, and drive track creation from that location so Network handling no longer hardcodes the payload type.

The combined (front-end + Gecko) schema list is used so the front-end Network schema override always contributes its timeline-network location.

Part of #6194

…ation

The Network track was added whenever a thread had a marker with
data.type === 'Network'. Add a timeline-network marker-schema display
location, declare it on the Network schema, and drive track creation
from that location so Network handling no longer hardcodes the payload
type.

The combined (front-end + Gecko) schema list is used so the front-end
Network schema override always contributes its timeline-network
location.

Part of firefox-devtools#6194
@fatadel
fatadel requested review from canova and mstange July 28, 2026 09:20
@codecov

codecov Bot commented Jul 28, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.62%. Comparing base (812a4bd) to head (bf26663).
⚠️ Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6224   +/-   ##
=======================================
  Coverage   83.62%   83.62%           
=======================================
  Files         346      346           
  Lines       37145    37151    +6     
  Branches    10311    10313    +2     
=======================================
+ Hits        31061    31067    +6     
  Misses       5656     5656           
  Partials      428      428           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Comment thread src/types/markers.ts
Comment on lines +119 to +120
// This adds markers to the Network track.
| 'timeline-network'

@canova canova Jul 30, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Probably not super important since this is only used in the frontend-only marker schema that we have in this codebase, but since we are adding a new MarkerDisplayLocation, it would be good to add an processed profile upgrader for this (mostly for external profiles)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants