jenkinsci / jenkinsci/plot-plugin

[JENKINS-49158] Add plot plugin option "useDescrIn[Value|Dot][Tooltip|Label]"

Open
#280 3 comments 0 reactions 0 assignees View on GitHub
component:plot-plugin imported-jira-issue priority:major resolution:unresolved
Dominant language
Java
Stars
62
Forks
93
Avg merge
1d 17h
Merged PRs (30d)
1

Description

Why "useDescrIn[Value|Dot][Tooltip|Label]"?



  • I was not sure about the right terms ("Value" vs. "Dot"; "Tooltip" vs. "Label"), it should be just one option, e.g.: "useDescrInValueTooltip"

Why this issue?



  • Normal/default/useDescr = false:

  • useDescr = true:

By default build descriptions are "only" shown as tooltips for x-axis labels, i.e. they might be skipped, because not for every build there will be an x-axis label (I think it depends on the number of builds shown).

When using useDescr = true the x-axis labels are also using the build descriptions which often does not make a lot of sense (cf. truncation of "Long description..." on the right hand side of the second image).

=> I therefore think it would be ideal to have x-axis labels like now/default (e.g. "#26 (Jan24)") and by enabling this optional new flag the tooltip for values/dots in the graph to include the build description: e.g. "Build #26 (Jan 24): First point: 6.131" (please note that the build description is just "First point")

Frankly I would not even mind loosing the old/previous "useDescr" flag Although/but this would not be backwards compatible...

---
Originally reported by reinholdfuereder, imported from: Add plot plugin option "useDescrIn[Value|Dot][Tooltip|Label]"


  • assignee: vgaidarji
  • status: Open
  • priority: Major
  • component(s): plot-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 1
  • imported: 20260512-210953

Raw content of original issue

Why "useDescrIn[Value|Dot][Tooltip|Label]"?



  • I was not sure about the right terms ("Value" vs. "Dot"; "Tooltip" vs. "Label"), it should be just one option, e.g.: "useDescrInValueTooltip"

Why this issue?



  • Normal/default/useDescr = false:

  • useDescr = true:

By default build descriptions are "only" shown as tooltips for x-axis labels, i.e. they might be skipped, because not for every build there will be an x-axis label (I think it depends on the number of builds shown).

When using useDescr = true the x-axis labels are also using the build descriptions which often does not make a lot of sense (cf. truncation of "Long description..." on the right hand side of the second image).

=> I therefore think it would be ideal to have x-axis labels like now/default (e.g. "#26 (Jan24)") and by enabling this optional new flag the tooltip for values/dots in the graph to include the build description: e.g. "Build #26 (Jan 24): First point: 6.131" (please note that the build description is just "First point")

Frankly I would not even mind loosing the old/previous "useDescr" flag Although/but this would not be backwards compatible...

2 attachments

- [image-2018-01-25-09-55-00-841.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/41245/image-2018-01-25-09-55-00-841.png)
> ![image-2018-01-25-09-55-00-841.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/41245/image-2018-01-25-09-55-00-841.png)
- [image-2018-01-25-09-56-30-669.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/41244/image-2018-01-25-09-56-30-669.png)
> ![image-2018-01-25-09-56-30-669.png](https://raw.githubusercontent.com/jenkinsci/attachments-from-jira-issues-last/refs/heads/main/attachments/41244/image-2018-01-25-09-56-30-669.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.