Skip to content

Tools trend chart should use names and not IDs in legend#3236

Merged
uhafner merged 8 commits intojenkinsci:mainfrom
akash-manna-sky:JENKINS-67301
Jan 13, 2026
Merged

Tools trend chart should use names and not IDs in legend#3236
uhafner merged 8 commits intojenkinsci:mainfrom
akash-manna-sky:JENKINS-67301

Conversation

@akash-manna-sky
Copy link
Contributor

@akash-manna-sky akash-manna-sky commented Jan 11, 2026

Trend chart should use names and not IDs in legend

Fixes #3075

Before

Bildschirmfoto 2026-01-13 um 22 01 50

After

Bildschirmfoto 2026-01-13 um 21 58 27

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

@akash-manna-sky akash-manna-sky marked this pull request as ready for review January 11, 2026 17:51
@akash-manna-sky
Copy link
Contributor Author

Can you please review the changes? @uhafner

@uhafner uhafner added the enhancement Enhancement of existing functionality label Jan 11, 2026
Copy link
Member

@uhafner uhafner left a comment

Choose a reason for hiding this comment

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

Looks good in my Jenkins instance. Can you add a before and after image in the pull request description?

@github-actions github-actions bot requested a review from uhafner January 13, 2026 04:13
@uhafner
Copy link
Member

uhafner commented Jan 13, 2026

Can you always check or resolve the conversations in a review? Otherwise I don't see when everything is finished...

@akash-manna-sky
Copy link
Contributor Author

Can you always check or resolve the conversations in a review? Otherwise I don't see when everything is finished...

Yes, I have implemented all the suggested changes. Please review the changes. @uhafner

@uhafner
Copy link
Member

uhafner commented Jan 13, 2026

Can you always check or resolve the conversations in a review? Otherwise I don't see when everything is finished...

Yes, I have implemented all the suggested changes. Please review the changes. @uhafner

But you did not answer the questions!

@uhafner
Copy link
Member

uhafner commented Jan 13, 2026

And the review comments that are no questions need to be closed

@uhafner
Copy link
Member

uhafner commented Jan 13, 2026

Hmm, and where is the answer to "Can you check if those names are rendered correctly in ECharts with the escaping?"

@akash-manna-sky
Copy link
Contributor Author

Hmm, and where is the answer to "Can you check if those names are rendered correctly in ECharts with the escaping?"

Yes, I have verified that the names are rendered correctly in ECharts with the escaping. This test verify that:

assertThatJson(model.getSeries().get(0))
        .node("name")
        .isEqualTo("<script>alert('xss')</script>");

@uhafner uhafner merged commit df5af62 into jenkinsci:main Jan 13, 2026
44 checks passed
@uhafner uhafner changed the title Trend chart should use names and not IDs in legend Tools trend chart should use names and not IDs in legend Jan 13, 2026
@uhafner
Copy link
Member

uhafner commented Jan 13, 2026

Looks good in my Jenkins instance. Can you add a before and after image in the pull request description?

I added one...

@akash-manna-sky
Copy link
Contributor Author

Thank you!

@akash-manna-sky akash-manna-sky deleted the JENKINS-67301 branch January 13, 2026 21:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement Enhancement of existing functionality

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[JENKINS-67301] Trend chart should use names and not IDs in legend

2 participants