UI: Modernize TestNG plugin UI and align with Jenkins Design Library - #397
Open
Ahil-Kanna wants to merge 4 commits into
Open
UI: Modernize TestNG plugin UI and align with Jenkins Design Library#397Ahil-Kanna wants to merge 4 commits into
Ahil-Kanna wants to merge 4 commits into
Conversation
- Bump Jenkins baseline to 2.541 to utilize native `<l:card>` elements. - Standardize tables with `jenkins-table` and update status badges. - Replace bare headers with `<l:card>` and `<l:app-bar>`. - Wrap sub-pages in `<l:run-subpage>` to preserve job navigation. - Modernize trend/duration graphs with dark mode support and high-DPI scaling. - Migrate action icon to Jenkins Symbols (`symbol-testng.svg`) to fix layout scaling. - Replace text toggles with tertiary icon buttons and standard SVG chevrons.
Ahil-Kanna
marked this pull request as ready for review
August 24, 2026 12:25
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR modernizes the TestNG plugin's frontend to seamlessly align with the modern Jenkins UI and the Jenkins Design Library. It actively ports and adapts design patterns similar to the JUnit plugin.
Key UI & UX Improvements
<h1>/<h2>headers with<l:app-bar>(featuring pass/fail/skip count chips) and wrapped distinct sections inside<l:card>. Sub-pages now properly utilize<l:run-subpage>to retain the standard job navigation sidebar.jenkins-tablestyling across the board. Collapsible tables now use<l:card>controls with SVG chevrons rather than outdated plain-text links.scale=2), and full dark mode support via query parameters and client-side theme detection.symbol-testng), resolving severe scaling issues on the upcoming experimental build-page top header.chevron-down/chevron-up) and enclosed traces within<details>/<summary>blocks featuring one-click copy buttons.Breaking Changes
Baseline Bump: The
jenkins.baselineis explicitly bumped to 2.541 (BOM6931.vea_a_b_c6fd017d). This is strictly required to leverage native<l:card>elements without manually reimplementing core Jenkins UI. This matches Junit plugin's baselineTesting Done:
Verified table layouts, graph rendering in both light and dark modes, and ensure the action icon scales correctly in the new experimental UI header.