Skip to content

[Fixes 18186] UX: Reorder build details page and auto-collapse SVN revisions - #27229

Closed
alwaysalearner1234 wants to merge 1 commit into
jenkinsci:masterfrom
alwaysalearner1234:master
Closed

[Fixes 18186] UX: Reorder build details page and auto-collapse SVN revisions#27229
alwaysalearner1234 wants to merge 1 commit into
jenkinsci:masterfrom
alwaysalearner1234:master

Conversation

@alwaysalearner1234

@alwaysalearner1234 alwaysalearner1234 commented Aug 12, 2026

Copy link
Copy Markdown

Problem

When a single job contains many SVN locations or revisions, the build details page (Run/index.jelly) becomes cluttered. Users are forced to scroll down past a long list of revisions just to reach the most useful debugging information, such as test failures and the changelog.

Solution

This PR introduces two major UI/UX improvements to the build details page:

  1. Reordered Information Hierarchy: Reordered the sections on the build details page so that the most critical debugging information is presented first. The new order is:

    • Test Failures / Failed Tests
    • Changelog
    • SVN Revisions
    • Other less-critical build information
  2. SVN Revisions Collapse: Added a lightweight, vanilla JavaScript snippet that automatically collapses the SVN revisions list if there are more than 5 revisions.

    • An interactive toggle (e.g. ▶ SVN Revisions (12)) is provided so users can expand the list if needed.
    • If there are 5 or fewer revisions, the default behavior is preserved and the list remains fully visible.

Testing Done

  • Added RunIndexReorderingTest.java to verify the new DOM ordering (Test Failures -> Changelog -> SVN Revisions -> Other).
  • Verified that 0 revisions or 1-5 revisions do not trigger the collapse behavior, maintaining backward compatibility.
  • Ensured the JavaScript is robust and functions without relying on external libraries like jQuery.

/label bug
/label rfe

#14607

@comment-ops-bot comment-ops-bot Bot added the bug For changelog: Minor bug. Will be listed after features label Aug 12, 2026
@MarkEWaite

Copy link
Copy Markdown
Contributor

Closing because the pull request does not use the pull request template.

Please read and follow the contributing guidelines and the instructions in the must read issue:

@MarkEWaite MarkEWaite closed this Aug 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug For changelog: Minor bug. Will be listed after features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants