theia-trace-extension icon indicating copy to clipboard operation
theia-trace-extension copied to clipboard

Add global range selection sync to Gantt chart with toggle button

Open aaanh opened this issue 3 months ago • 2 comments

What it does

Add range selection sync feature, similar to Flame graph selection, to the extension. Along with a sync toggle button for the Gantt chart.

https://github.com/user-attachments/assets/dec7dbe1-b219-43d6-9f08-cd062cc6a256

Along with this PR, refactored the UnitController class's numberTranslator to use a new utility factory method createNumberTranslator.

How to test

  • Check out this PR.
  • Open an lttng-ust trace (e.g. fibonacci or cyg-profile)
  • Open both flame chart and flame graph views
  • Left-mouse drag over the flame chart to select a range for analysis
  • Turn on the sync with the toggle button on Flame graph view
  • Expect to see the Flame graph is properly rendering agrregated states within the (global) time range selection
  • Turn off to see the Flame graph is restored to show all states in experiment

Follow-ups

N/A

Review checklist

  • [x] As an author, I have thoroughly tested my changes and carefully followed the instructions in this template

aaanh avatar Aug 12 '25 18:08 aaanh