Skip to content

fix(dash0): style the HTTP timing chart like the response time chart - #611

Merged
fclairamb merged 9 commits into
mainfrom
fix/timing-graph-rendering
Oct 19, 2026
Merged

fclairamb merged 9 commits into
mainfrom
fix/timing-graph-rendering

Conversation

@fclairamb

Copy link
Copy Markdown
Owner

Problem

Reported in fclairamb/solidping-business#13: the Timing graph looked like it came from a different chart library. Same library (Recharts), inconsistent styling: no legend, default tooltip and axis colors, and a second Response time | Timing switch inside the card next to the page-level one.

Fix

  • timing-chart.tsx: same grid, axis ticks and popover-token tooltip as ResponseTimeChart, plus a legend naming the six phases.
  • Removed the duplicate view switch from TimingChartCard (the page-level ChartViewSwitch stays).

Test plan

  • e2e/check-http-timing.spec.ts asserts one chart-view-timing switch and six legend items (both absent before). Passes on a side-car (2/2).
  • dash0 build, eslint, e2e typecheck and lint, unit tests (2665) pass.

Closes fclairamb/solidping-business#13

🤖 Generated with Claude Code

fclairamb and others added 3 commits October 19, 2026 12:56
…(solidping-business#13)

The Timing chart looked like another chart library: no legend, default
tooltip and axis colors, and a second Response time | Timing switch inside
its card next to the page-level one.

timing-chart.tsx now uses the same grid, axis ticks and popover-token tooltip
as ResponseTimeChart, adds a legend naming the six phases, and drops the
duplicate switch (the page-level ChartViewSwitch stays).

check-http-timing.spec.ts now asserts a single chart-view-timing switch and
six legend items; both are absent before this change, so it fails without it.

Closes fclairamb/solidping-business#13

Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
The Response time | Timing switch and the timing card's range control were
SegmentedControls, whose selected segment is hard to tell apart in dark mode
and did not match the Hour / Day / Week / Month buttons of the response time
chart. Both now use the same default/outline buttons, with aria-pressed.

The legend and tooltip list the phases in request order instead of Recharts'
alphabetical sort.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…oggle

The chart range was a row of separate buttons while the Response time |
Timing switch was a SegmentedControl whose selected segment was hard to see
in dark mode. SegmentedControl now renders its selected segment as a default
(primary) Button on the recessed track, and both charts' Hour / Day / Week /
Month pickers use it through a shared ChartRangeControl. The design reference
documents the new look.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@codecov

codecov Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 83.35%. Comparing base (0f1b50c) to head (ec264ff).

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #611      +/-   ##
==========================================
- Coverage   83.36%   83.35%   -0.02%     
==========================================
  Files        1238     1238              
  Lines      127041   127041              
==========================================
- Hits       105914   105894      -20     
- Misses      21118    21138      +20     
  Partials        9        9              

see 11 files with indirect coverage changes

🚀 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.

fclairamb and others added 4 commits October 19, 2026 13:47
…tion

The spec still expected the neutral bg-card pill that SegmentedControl no
longer renders. It now checks the selected segment is bg-primary-fill and
stands out from its track, and keeps the track and token-order checks.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@fclairamb
fclairamb merged commit c5264d2 into main Oct 19, 2026
33 checks passed
@fclairamb
fclairamb deleted the fix/timing-graph-rendering branch October 19, 2026 14:31
fclairamb added a commit that referenced this pull request Oct 19, 2026
🤖 I have created a release *beep* *boop*
---


##
[0.40.1](v0.40.0...v0.40.1)
(2026-10-19)


### Bug Fixes

* **checkworker:** stop the rate limiter starving long-period checks
([#609](#609))
([3295a20](3295a20))
* **dash0:** style the HTTP timing chart like the response time chart
([#611](#611))
([c5264d2](c5264d2))
* **deps:** update dependency @hookform/resolvers to v6
([#610](#610))
([8474852](8474852))
* **deps:** update go dependencies (non-major)
([#612](#612))
([45512d4](45512d4))
* **deps:** update module github.com/arran4/golang-ical to v0.3.8
([#605](#605))
([8c5ef41](8c5ef41))
* **deps:** update module github.com/fergusstrange/embedded-postgres to
v2 ([#613](#613))
([0f1b50c](0f1b50c))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>
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.

1 participant