Skip to content

Conversation

@timja
Copy link
Member

@timja timja commented Dec 14, 2025

Closes #626
Part of jenkinsci/sig-ux#10

Known issues:

  • help link to system / job credentials page not implemented
  • jenkins-page-description takes up space even if its empty
  • Credentials side panel link isn't selected for sub pages
  • Credentials get cut off on system page
Screenshot image
  • sub pages don't have the page wrapper so look out of place
Details image
  • Page header on job page is job name not credentials and tabs are missing
Screenshot image
  • Page overflows on user credentials (confirmed as pre-existing issue), seeing similar on JCasC think we need a core fix
Screenshot image

cc @janfaracik

Testing done

Submitter checklist

  • Make sure you are opening from a topic/feature/bugfix branch (right side) and not your main branch!
  • Ensure that the pull request title represents the desired changelog entry
  • Please describe what you did
  • Link to relevant issues in GitHub or Jira
  • Link to relevant pull requests, esp. upstream and downstream changes
  • Ensure you have provided tests that demonstrate the feature works or the issue is fixed

pom.xml Outdated
<jenkins.version>${jenkins.baseline}.1</jenkins.version>
<jenkins.baseline>2.528</jenkins.baseline>
<!-- TODO https://github.com/jenkinsci/jenkins/pull/11333 -->
<jenkins.version>2.542-rc37822.b_14a_5941318e</jenkins.version>
Copy link
Member Author

Choose a reason for hiding this comment

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

requires noDefer from jenkinsci/jenkins#11333

return "SECURITY";
@NonNull
@Override
public Category getCategory() {
Copy link
Member Author

Choose a reason for hiding this comment

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

cleanup while I was here

return new Api(this);
}

public Actionable getObject() {
Copy link
Member Author

Choose a reason for hiding this comment

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

required for job page re-work

<l:main-panel>
<h1>${it.displayName}</h1>
<p />
<div class="behavior-loading">${%LOADING}</div>
Copy link
Member Author

Choose a reason for hiding this comment

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

no longer needed as system pages do this by default (noDefer to skip which is needed on ViewCredentialsAction)

</style>
xmlns:t="/lib/hudson" xmlns:d="jelly:define" xmlns:local="local">
<d:taglib uri="local">
<d:tag name="contents">
Copy link
Member Author

Choose a reason for hiding this comment

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

no changes to the main page below here other than setting it into a tag

@timja
Copy link
Member Author

timja commented Dec 16, 2025

I think that's all the system settings pages sorted.

Job I'll see what I can do but I think its missing functionality.

I'll need to do a pass over all the user pages as well and make sure they are all fine / if there's any cleanup that can be done for them (there should be)

@timja
Copy link
Member Author

timja commented Dec 16, 2025

@janfaracik there's something quite off with tables in core they can break out of the container and scroll the page =/

Adding sidepanel and using a table layout doesn't work very well.

Thoughts?

This is my credential that really breaks the layout on a 13" screen:
C=XX,ST=StateName,L=CityName,O=CompanyName,OU=CompanySectionName,CN=CommonNameOrHostname

@timja
Copy link
Member Author

timja commented Dec 16, 2025

To fix this case I'm thinking of doing something like:

image

Previously:

image

That would be looping over each store and not repeating all that information in the table.
Ideally including domain in there as well in a more subtle way

@timja
Copy link
Member Author

timja commented Dec 19, 2025

@janfaracik you able to check this over?

I think its all working now.

I removed the job subpage as it didn't really seem to work for this at all and it needs more work.

I'll look at doing a PR to rework the table soon as well I don't think its 100% essential to be in before this

@janfaracik
Copy link
Member

janfaracik commented Dec 20, 2025

@janfaracik you able to check this over?

I think its all working now.

Looking good - no obvious issues. I think it'll work a lot better once the cards are in.

Wouldn't repeat the app bar buttons on various configure pages, e.g. I'd remove Update/Delete from the Move page, but if we do go down a dialog route this is fine for now.

@timja
Copy link
Member Author

timja commented Dec 21, 2025

I think this is ready after the next weekly release.

@timja timja mentioned this pull request Dec 21, 2025
6 tasks
@timja
Copy link
Member Author

timja commented Dec 21, 2025

I think it'll work a lot better once the cards are in.

PR here to show what it'll look like: #985

@janfaracik
Copy link
Member

Merging master into this ... will be broken for a few minutes.

@janfaracik
Copy link
Member

@timja am I good to delete the delete.jelly pages? - no longer need them.

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.

2 participants