-
Notifications
You must be signed in to change notification settings - Fork 244
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
Modernise UI #287
Modernise UI #287
Conversation
yeah sure |
This comment was marked as outdated.
This comment was marked as outdated.
Done all I plan to do, merging is blocked until jenkinsci/jenkins#6307 is released. But I would appreciate reviews and feedback |
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.
} | ||
|
||
.help-content::before { |
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.
What is that used for? Can't we rely on jenkins-help-button
or l:helpIcon
from core?
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.
It’s used when you add a credential parameter to a job.
credentials plugins has created a ‘simple help’ that can have inline text. Can maybe refactor it to use core in some way, this is just fixing it up to look right.
Sure can try that what are the symbols for each ? |
Ribbon for certificate.svg (overwriting in core), symbol-jenkins for system-scope.svg, symbol-key for credential.svg (overwriting in core) and I added symbol-id-card for the user pass one. If you don't mind, you can simply apply my patches I used to test it with https://gist.github.com/NotMyFault/daeaeda507eb1c62dacc3bcfbbeb58c0 |
I guess the blue comes from core? Spots like dropdowns still use it, e.g. |
Looks like because it's a link for some reason =/ |
@@ -63,13 +64,13 @@ | |||
</f:dropdownListBlock> | |||
</j:forEach> | |||
</f:dropdownList> | |||
<!--f:dropdownDescriptorSelector field="credentials" title="${%Kind}" lazy="it"/--> | |||
<!--<f:dropdownDescriptorSelector field="credentials" title="${%Kind}" descriptors="${descriptors}"/> --> |
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.
After making these changes I think it works but didn't want to do it in the same PR
src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java
Outdated
Show resolved
Hide resolved
I've left out changes to the context menu for two reasons:
FYI @janfaracik if you have any ideas but probably not critical for the initial PR |
src/main/java/com/cloudbees/plugins/credentials/CredentialsStoreAction.java
Outdated
Show resolved
Hide resolved
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.
Looks amazing 🎉
This one is tested and ready for release. I think #283 is fine, although it was fixed in core so the change isn't absolutely required, but I think there was something wrong with the SVG which @NotMyFault fixed so might be good to still ship it. |
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.
Seems OK though I do not follow details. @timja go ahead and merge if you like; seems you have permissions.
I'm not a maintainer here, org owner gives me the green tick though. |
Builds green now @jglick |
May have caused JENKINS-68791 |
@@ -1075,7 +1075,7 @@ public String getDisplayName() { | |||
*/ | |||
@Override | |||
public String getIconClassName() { | |||
return "icon-credentials-credentials"; | |||
return "symbol-key"; |
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.
I think the wallet
icon would have been a better choice for the reasons explained in JENKINS-69775.
Requires jenkinsci/jenkins#6307
Principles applied:
TODO:
Manage Jenkins
Add credential button spacing fixed
Add credential dialog
Global credentials list
New Credentials
Update credentials
Move credentials
Delete credentials
Add Domain
New domain
View domain
Update domain
Delete domain
Credentials parameter