Revamp Clouds page#26315
Conversation
| title="${app.hasPermission(app.ADMINISTER) ? '%Configure' : '%View Configuration'}"/> | ||
| <l:delete permission="${app.ADMINISTER}" title="${%Delete Cloud}" message="${%delete.cloud(it.displayName)}" urlPrefix="${url}"/> | ||
| <t:actions /> | ||
| <l:delete permission="${app.ADMINISTER}" title="${%Delete Cloud}" message="${%delete.cloud(it.displayName)}" urlPrefix="${url}"/> |
There was a problem hiding this comment.
I noticed something similar recently on the old page. I think the reason is that the the model-link create buttons and when you click them it looks as if there was a change on the form. Then on the other hand just reordering the clouds didn't lead to a popup when leaving the cloud.
There was a problem hiding this comment.
also noticed on the new one, if you reorder the form, save it, and then click new cloud, it shows this popup too
There was a problem hiding this comment.
Need to add class ignore-dirty in jumplist.js and the new cloud button
There was a problem hiding this comment.
I've added ignore-dirty-panel to the wrapper of the Configure button and overflow button - looks to be working as expected now.
| <f:bottomButtonBar> | ||
| <f:submit id="saveButton" value="${%Save}" clazz="jenkins-hidden" /> | ||
| <f:apply value="${%Save}" clazz="jenkins-button--primary" /> | ||
| </f:bottomButtonBar> |
There was a problem hiding this comment.
pre-existing issue but should there be a cancel button?
There was a problem hiding this comment.
I'm not too sure - the other pages don't have a cancel button but then their behaviour is a little different.
timja
left a comment
There was a problem hiding this comment.
Changes look good now, just needs PCT and ATH
mawinter69
left a comment
There was a problem hiding this comment.
Looks good.
One minor point but that was already a problem before is that after changing the order of clouds, one can leave the page without getting notified of unsaved changes. Not sure if that should be considered or not
I think its fine /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! |
Unfortunately, registerSortableTableDragDrop() got removed by this PR: jenkinsci/jenkins#26315 Restored this javascript functionality in a separate static javascript which now gets used in the list of templates instead of reusing the core JS bundle.
Unfortunately, registerSortableTableDragDrop() got removed by this PR: jenkinsci/jenkins#26315 Restored this javascript functionality in a separate static javascript which now gets used in the list of templates instead of reusing the core JS bundle.

This PR revamps the Clouds page.
Testing done
registerSortableTableDragDropso I've removed itScreenshots (UI changes only)
Before (no plugins installed)
After (no plugins installed)
Before
After
Before
After
Proposed changelog entries
Proposed changelog category
/label web-ui,rfe
Proposed upgrade guidelines
N/A
Submitter checklist
@Restrictedor have@since TODOJavadocs, as appropriate.@Deprecated(since = "TODO")or@Deprecated(forRemoval = true, since = "TODO"), if applicable.evalto ease future introduction of Content Security Policy (CSP) directives (see documentation).Desired reviewers
@jenkinsci/sig-ux
Before the changes are marked as
ready-for-merge:Maintainer checklist
upgrade-guide-neededlabel is set and there is a Proposed upgrade guidelines section in the pull request title (see example).lts-candidateto be considered.