Skip to content

Adjust for experimental Manage Jenkins UI#2756

Merged
timja merged 13 commits intojenkinsci:masterfrom
janfaracik:refine-experimental-ui
Jan 28, 2026
Merged

Adjust for experimental Manage Jenkins UI#2756
timja merged 13 commits intojenkinsci:masterfrom
janfaracik:refine-experimental-ui

Conversation

@janfaracik
Copy link
Copy Markdown
Member

@janfaracik janfaracik commented Dec 16, 2025

Still rough, tests will definitely be broken:

image image

Would be good to get thoughts.

Your checklist for this pull request

🚨 Please review the guidelines for contributing to this repository.

  • Make sure you are requesting to pull a topic/feature/bugfix branch (right side) and not your master branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or in Jenkins JIRA
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Did you provide a test-case? That demonstrates feature works or fixes the issue.

@timja
Copy link
Copy Markdown
Member

timja commented Dec 16, 2025

Before screenshots would be great to add to make easier for comparison

</l:hasAdministerOrManage>
</f:form>
<j:jelly xmlns:j="jelly:core" xmlns:l="/lib/layout" xmlns:f="/lib/form" xmlns:i="jelly:fmt" xmlns:t="/lib/hudson">
<l:settings-subpage permissions="${app.MANAGE_AND_SYSTEM_READ}" header="${null}">
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

why pass header=null? you can just pass your own header through with a j:set ?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

The dialog wasn't working in the <l:notice /> with a null header, so I moved it inside the subpage.

Comment thread plugin/src/main/resources/io/jenkins/plugins/casc/ConfigurationAsCode/index.jelly Outdated
Comment thread plugin/src/main/resources/io/jenkins/plugins/casc/ConfigurationAsCode/index.jelly Outdated
Comment thread plugin/src/main/resources/io/jenkins/plugins/casc/ConfigurationAsCode/index.jelly Outdated
Comment thread pom.xml Outdated
@timja
Copy link
Copy Markdown
Member

timja commented Dec 16, 2025

tests will definitely be broken

I'd be surprised if there's much test coverage around this page...

Comment thread plugin/src/main/resources/io/jenkins/plugins/casc/ConfigurationAsCode/index.jelly Outdated
Comment thread plugin/src/main/resources/io/jenkins/plugins/casc/ConfigurationAsCode/index.jelly Outdated
@timja
Copy link
Copy Markdown
Member

timja commented Dec 19, 2025

I've tested locally and it looks great.

@timja timja marked this pull request as ready for review January 28, 2026 10:33
@timja timja requested a review from a team as a code owner January 28, 2026 10:33
@timja timja enabled auto-merge (squash) January 28, 2026 10:39
@timja timja merged commit 8e53498 into jenkinsci:master Jan 28, 2026
16 of 17 checks passed
<f:form method="post" action="replace" name="replace">
<input type="hidden" name="${h.getCrumbRequestField()}" value="${h.getCrumb(request2)}"/>
<f:entry title="${%Path or URL}" field="newSource" class="jenkins-form-item--small">
<f:textbox checkUrl="checkNewSource" checkDependsOn="newSource"/>
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

@janfaracik most likely the cause of the ATH failure -
https://ci.jenkins.io/job/Core/job/acceptance-test-harness/job/master/1872/testReport/junit/plugins/ConfigurationAsCodeTest/latest_linux_jdk25_firefox_split7___loadAndReload/

org.openqa.selenium.NoSuchElementException: Unable to locate By.cssSelector: [path='/newSource'] in http://mvn:35985/configuration-as-code/
	at org.jenkinsci.test.acceptance.po.CapybaraPortingLayerImpl.find(CapybaraPortingLayerImpl.java:206)
	at org.jenkinsci.test.acceptance.po.Control.resolve(Control.java:58)
	at org.jenkinsci.test.acceptance.po.Control.set(Control.java:162)
	at org.jenkinsci.test.acceptance.plugins.configuration_as_code.JcascManage.configure(JcascManage.java:46)
	at plugins.ConfigurationAsCodeTest.loadAndReload(ConfigurationAsCodeTest.java:46)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants