Skip to content

Refine Changes for the experimental Run UI#11277

Merged
timja merged 20 commits intojenkinsci:masterfrom
janfaracik:refine-changes-tab
Nov 12, 2025
Merged

Refine Changes for the experimental Run UI#11277
timja merged 20 commits intojenkinsci:masterfrom
janfaracik:refine-changes-tab

Conversation

@janfaracik
Copy link
Member

@janfaracik janfaracik commented Nov 8, 2025

Feedback

If you have feedback the recommended place to provide it is jenkinsci/sig-ux#7 or https://community.jenkins.io/t/a-redesigned-build-page-let-me-know-your-thoughts/35596/10


There was a difference in changes.jelly between Jenkins core and pipelines (workflow-job-plugin). This PR merges them, so we can do away with the now duplicated code in workflow-job.

Core (before this PR)

<j:choose>
  <j:when test="${it.hasChangeSetComputed()}">
    <st:include page="index.jelly" it="${it.changeSet}" />
  </j:when>
  <j:when test="${it.building}">
    ${%Not yet determined}
  </j:when>
  <j:otherwise>
    ${%Failed to determine} (<a href="${h.getConsoleUrl(it)}">${%log}</a>)
  </j:otherwise>
</j:choose>

Source: https://github.com/jenkinsci/jenkins/blob/master/core/src/main/resources/hudson/model/AbstractBuild/changes.jelly

workflow-job

<l:main-panel>
    <t:buildCaption>${%Changes}</t:buildCaption>
    <j:forEach var="changeSet" items="${it.changeSets}">
        <st:include page="index.jelly" it="${changeSet}"/>
    </j:forEach>
</l:main-panel>

Source: https://github.com/jenkinsci/workflow-job-plugin/blob/master/src/main/resources/org/jenkinsci/plugins/workflow/job/WorkflowRun/changes.jelly

  • Removed duplication
  • Tidied UI slightly for Changes tab
  • Widget code now works and displays changes on the Overview tab
  • Changes summary now hides in the experimental Run UI
  • Changes link no longer visible in overflow menu in experimental Run UI

Before
Screenshot 2025-11-08 at 09 36 25

After
Screenshot 2025-11-08 at 09 35 42

Screenshot 2025-11-08 at 09 37 41

Users won't see this tab, but I've updated the UI just in case they navigate directly to the URL

Testing done

  • Freestyle jobs show their changes as expected
  • The widget now works as expected

Proposed changelog entries

  • Refine Changes for the experimental Run UI

Proposed changelog category

/label web-ui,rfe

Proposed upgrade guidelines

N/A

Submitter checklist

  • The Jira issue, if it exists, is well-described.
  • The changelog entries and upgrade guidelines are appropriate for the audience affected by the change (users or developers, depending on the change) and are in the imperative mood (see examples). Fill in the Proposed upgrade guidelines section only if there are breaking changes or changes that may require extra steps from users during upgrade.
  • There is automated testing or an explanation as to why this change has no tests.
  • New public classes, fields, and methods are annotated with @Restricted or have @since TODO Javadocs, as appropriate.
  • New deprecations are annotated with @Deprecated(since = "TODO") or @Deprecated(forRemoval = true, since = "TODO"), if applicable.
  • UI changes do not introduce regressions when enforcing the current default rules of Content Security Policy Plugin. In particular, new or substantially changed JavaScript is not defined inline and does not call eval to ease future introduction of Content Security Policy (CSP) directives (see documentation).
  • For dependency updates, there are links to external changelogs and, if possible, full differentials.
  • For new APIs and extension points, there is a link to at least one consumer.

Desired reviewers

@jenkinsci/sig-ux

Before the changes are marked as ready-for-merge:

Maintainer checklist

  • There are at least two (2) approvals for the pull request and no outstanding requests for change.
  • Conversations in the pull request are over, or it is explicit that a reviewer is not blocking the change.
  • Changelog entries in the pull request title and/or Proposed changelog entries are accurate, human-readable, and in the imperative mood.
  • Proper changelog labels are set so that the changelog can be generated automatically.
  • If the change needs additional upgrade steps from users, the upgrade-guide-needed label is set and there is a Proposed upgrade guidelines section in the pull request title (see example).
  • If it would make sense to backport the change to LTS, a Jira issue must exist, be a Bug or Improvement, and be labeled as lts-candidate to be considered (see query).

@comment-ops-bot comment-ops-bot bot added web-ui The PR includes WebUI changes which may need special expertise rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted labels Nov 8, 2025
@janfaracik janfaracik added the squash-merge-me Unclean or useless commit history, should be merged only with squash-merge label Nov 8, 2025
@janfaracik janfaracik requested a review from a team November 8, 2025 09:35
@timja timja requested a review from a team November 10, 2025 22:37
@timja
Copy link
Member

timja commented Nov 11, 2025

/label ready-for-merge


This PR is now ready for merge, after ~24 hours, we will merge it if there's no negative feedback.

Thanks!

@comment-ops-bot comment-ops-bot bot added the ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback label Nov 11, 2025
@timja timja merged commit 320a149 into jenkinsci:master Nov 12, 2025
19 checks passed
@timja timja deleted the refine-changes-tab branch November 12, 2025 15:27
@timja timja mentioned this pull request Nov 14, 2025
14 tasks
@PhilippHomann
Copy link
Contributor

Sorry for commenting here, but I don't have no Jira account actually.
Using the new Run UI I'm missing the list of artifacts attached to the Run.
Same for the Job UI where the artifacts of the last successful Run were shown in the past.

@timja
Copy link
Member

timja commented Nov 20, 2025

Thanks for the feedback

Sorry for commenting here, but I don't have no Jira account actually.

We aren't tracking any of this on Jira, mostly either on jenkinsci/sig-ux#7 or https://community.jenkins.io/t/a-redesigned-build-page-let-me-know-your-thoughts/35596/10

Using the new Run UI I'm missing the list of artifacts attached to the Run.

There's a work in progress pull request here: #11278

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-for-merge The PR is ready to go, and it will be merged soon if there is no negative feedback rfe For changelog: Minor enhancement. use `major-rfe` for changes to be highlighted squash-merge-me Unclean or useless commit history, should be merged only with squash-merge web-ui The PR includes WebUI changes which may need special expertise

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants