Skip to content

Upgrade D3 and drop d3-tooltip#883

Merged
godlygeek merged 6 commits intobloomberg:mainfrom
lkollar:d3-upgrade
Mar 11, 2026
Merged

Upgrade D3 and drop d3-tooltip#883
godlygeek merged 6 commits intobloomberg:mainfrom
lkollar:d3-upgrade

Conversation

@lkollar
Copy link
Contributor

@lkollar lkollar commented Mar 9, 2026

The tooltip replacement has already been approved but it targeted the wrong branch (#878). This PR incorporates those changes and upgrades D3 and other JS libraries to the latest versions.

@codecov-commenter
Copy link

codecov-commenter commented Mar 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.39%. Comparing base (d73cce4) to head (4141ff0).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #883      +/-   ##
==========================================
- Coverage   92.43%   92.39%   -0.04%     
==========================================
  Files          99       99              
  Lines       11707    11716       +9     
  Branches      426      426              
==========================================
+ Hits        10821    10825       +4     
- Misses        886      891       +5     
Flag Coverage Δ
cpp 92.39% <100.00%> (-0.04%) ⬇️
python_and_cython 92.39% <100.00%> (-0.04%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 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.

@lkollar lkollar marked this pull request as ready for review March 10, 2026 16:32
@godlygeek godlygeek self-assigned this Mar 11, 2026
lkollar added 6 commits March 11, 2026 22:07
The d3-tip library hasn't been maintained since 2020. Meanwhile
floating-ui is the most popular library offering similar functionality.
It only needs a minimal adapter to make it work with d3-flame-graph.

Signed-off-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
Signed-off-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
Upgrade d3, d3-scale-chromatic and d3-flame-graph to latest versions.

Signed-off-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
Signed-off-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
Signed-off-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
Signed-off-by: László Kiss Kollár <kiss.kollar.laszlo@gmail.com>
Copy link
Contributor

@godlygeek godlygeek left a comment

Choose a reason for hiding this comment

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

LGTM

@godlygeek godlygeek merged commit cb93af0 into bloomberg:main Mar 11, 2026
41 of 42 checks passed
@lkollar lkollar deleted the d3-upgrade branch March 12, 2026 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants