Skip to content

fix(ourlogs): use replaceMerge for time series visualization axes#115551

Merged
JoshuaKGoldberg merged 2 commits into
masterfrom
ourlogs-time-series-manual-x-range
May 15, 2026
Merged

fix(ourlogs): use replaceMerge for time series visualization axes#115551
JoshuaKGoldberg merged 2 commits into
masterfrom
ourlogs-time-series-manual-x-range

Conversation

@JoshuaKGoldberg
Copy link
Copy Markdown
Member

@JoshuaKGoldberg JoshuaKGoldberg commented May 14, 2026

#113434 made merging more automatic/seamless for the time series charts by disabling notMerge. Unfortunately, a side effect of that was ECharts auto-computing the x-axis range from combined (merged) series data. Going from a large range like 24h to a small one like 1h kept the 24h range in the x-axis.

This uses EChart's replaceMerge (shoutout @k-fish for pointing me there) to recompute on x-axis and y-axis changes.

Aside: in the initial investigation I spent 15 minutes poking through code while Claude investigated. I didn't figure it out, but Claude did. rip.

Fixes LOGS-802.

@github-actions github-actions Bot added the Scope: Frontend Automatically applied to PRs that change frontend components label May 14, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 14, 2026

📊 Type Coverage Diff

✅ No new type safety issues introduced. Coverage: 93.52%

@JoshuaKGoldberg JoshuaKGoldberg changed the title fix(ourlogs): manually set range for time series visualization x-axis fix(ourlogs): use replaceMerge for time series visualization axes May 14, 2026
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 14, 2026

LOGS-802

@JoshuaKGoldberg JoshuaKGoldberg marked this pull request as ready for review May 14, 2026 16:12
@JoshuaKGoldberg JoshuaKGoldberg requested review from a team as code owners May 14, 2026 16:12
@JoshuaKGoldberg JoshuaKGoldberg merged commit a026abc into master May 15, 2026
76 checks passed
@JoshuaKGoldberg JoshuaKGoldberg deleted the ourlogs-time-series-manual-x-range branch May 15, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants