-
-
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
[JENKINS-73586] Fix New Item page layout if no icon is defined for an item type #9520
Conversation
Signed-off-by: Thorsten Scherler <[email protected]>
Signed-off-by: Thorsten Scherler <[email protected]>
Signed-off-by: Thorsten Scherler <[email protected]>
Thanks! Out of curiosity, is there a situation where an item type wouldn't provide an icon? |
e.g. the Coordinator plugin implements a new project type but is not providing an icon or image. So it displays wrong: |
Thanks! Any thoughts on this - Depending on how many plugins there are that don't provide an icon, could we instead update the plugins to include an icon rather than maintaining this logic in core? |
There are some situations in which you cannot provide an icon without a bigger rewrite, IMHO it is there, and removing such functionality is problematic since we have no way of knowing how many plugins depend on this. |
/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! |
This should have a Jira issue for backporting into LTS. |
@daniel-beck I created JENKINS-73586 |
… item type (jenkinsci#9520) * [new_item_page_fix] show problem Signed-off-by: Thorsten Scherler <[email protected]> * [new_item_page_fix] fix problem Signed-off-by: Thorsten Scherler <[email protected]> * [new_item_page_fix] revert freestyle hack Signed-off-by: Thorsten Scherler <[email protected]> --------- Signed-off-by: Thorsten Scherler <[email protected]> (cherry picked from commit e763a49)
#9111
introduced a new styling however it broke the styling of the default icon generation in case there is no icon defined. as shown in 1aff74c
After fix
Testing done
Interactive checks
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@mention
Before the changes are marked as
ready-for-merge
:Maintainer checklist