-
-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Show item categories in 'New Item' dialog #5083
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW the Promoted Build plugin makes some of the standalone projects nested ones :)
I am fine with merging it though I do not see a bug UX improvement. Would be great to get extra feedback from the UX SIG. CC @fqueiruga @timja @uhafner
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I do wonder if some items should be categorized again. For example, I'm wondering if the Pipeline family should be on it's own category, even as the first one.
Can plugins define their own category? |
jenkins/core/src/main/java/jenkins/model/item_category/NestedProjectsCategory.java Line 40 in e377d84
jenkins/war/src/main/js/add-item.js Line 230 in e377d84
order .
Not sure
Yes. Unfortunately |
This was one of the features added to the Jenkins 2.0 "New Item" dialog. Manuel removed it by default because categories weren't defined (#2191 (comment)), and later everyone seems to have forgotten about this.
Now that we're discussing Jenkins 3.0 is probably a good time to actually make this feature visible 🤣
Most of the commonly installed job types all support item categories (and those that don't haven't bothered with icons either):
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Proposed changelog entries
section only if there are breaking changes or other changes which may require extra steps from users during the upgradeDesired reviewers
@mention
Maintainer checklist
Before the changes are marked as
ready-for-merge
:Proposed changelog entries
are correctupgrade-guide-needed
label is set and there is aProposed upgrade guidelines
section in the PR title. (example)lts-candidate
to be considered (see query).