Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Fix issues with invalid plot series #7356

Conversation

jtbandes
Copy link
Member

User-Facing Changes
Not worth calling out

Description
Fixed bugs with series that are invalid (fail to parse) causing tooltips and current values to display on a different series. (Similar to #7342 but for invalid series)

Approach: instead of each builder handling its own data: [] defaults (added in #7342), the builders use the series' configIndex to output datasetsByConfigIndex. The coordinator fills in missing entries with data: [] before passing to the renderer.

Screen.Recording.2024-01-19.at.4.41.55.PM.mov

contrastColor: "blue",
enabled: true,
timestampMethod: "receiveTime",
key: "x" as SeriesConfigKey,
Copy link
Contributor

Choose a reason for hiding this comment

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

It is somewhat awkward that we have both a key and a config index. The key was meant to act like the identifier.

Copy link
Member Author

Choose a reason for hiding this comment

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

The key does not uniquely identify series because you could have multiple series in the config with the same timestampMethod and path.

@jtbandes jtbandes merged commit 3d07e90 into main Jan 22, 2024
14 of 15 checks passed
@jtbandes jtbandes deleted the jacob/fg-6364-invalid-message-paths-cause-tooltip-to-display-on-wrong branch January 22, 2024 20:00
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants