Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Timeseries panels: Map field display names to color #937

Conversation

gtk-grafana
Copy link
Contributor

@gtk-grafana gtk-grafana commented Dec 4, 2024

#936 introduced a new "summary" panel to the value breakdowns, but the colors of the series don't match up, which reduces the summary panel's ability to help use volume and other relationships between the series to decide what to filter.

While #939, should help, as that PR would allow users to interact more directly with the viz, having the same colors used in both the breakdowns and summary series will greatly reduce the effort required to match series in the summary panel to the breakdowns.

Any series throughout the app with the same field name will have the same color:
image
image

Except fields aggregated by level, which will show canonical error: red, warning: orange, etc
image

Summary panels will now match breakdown panels:
image

src/services/panel.ts Outdated Show resolved Hide resolved
src/services/panel.ts Outdated Show resolved Hide resolved
@gtk-grafana gtk-grafana changed the title PoC: Map field display names to color Timeseries panels: Map field display names to color Dec 6, 2024
@gtk-grafana gtk-grafana self-assigned this Dec 6, 2024
@gtk-grafana gtk-grafana added the enhancement New feature or request label Dec 6, 2024
@gtk-grafana gtk-grafana added this to the 1.0.5 milestone Dec 6, 2024
@gtk-grafana gtk-grafana marked this pull request as ready for review December 6, 2024 17:21
@gtk-grafana gtk-grafana requested a review from a team as a code owner December 6, 2024 17:21
@gtk-grafana
Copy link
Contributor Author

Going to wait on merge of parent branch and merge this into main to keep that parent PR from getting any bigger.

Base automatically changed from gtk-grafana/issues/862/drilldown-values-ui-updates to main December 10, 2024 14:41
…o gtk-grafana/issues/862/drilldown-values-ui-updates__sync-colors-by-name-poc
…2/drilldown-values-ui-updates__sync-colors-by-name-poc
…2/drilldown-values-ui-updates__sync-colors-by-name-poc
@gtk-grafana gtk-grafana merged commit b0b25df into main Dec 10, 2024
4 checks passed
@gtk-grafana gtk-grafana deleted the gtk-grafana/issues/862/drilldown-values-ui-updates__sync-colors-by-name-poc branch December 10, 2024 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants