-
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
Use new dialog design for adding credentials #500
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.
nice! (not tested locally, code and screenshots look good)
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 good in mvn hpi:run
:)
@jtnord will you have time to review/merge this? |
<h3>${%Add Credentials}</h3> | ||
<form action="${it.url}/addCredentials" method="POST" id="credentials-dialog-form"> | ||
<div> | ||
<form action="${it.url}/addCredentials" method="POST" id="credentials-dialog-form" data-title="${it.description}: ${it.displayName}" data-add="${%Add}"> |
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 it would be better to have the Add Credentials
in the title as well
e.g. Add Credentials (Provider: Jenkins)
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.
Good idea, but I'd suggest to do that in a follow-up PR and keep this one just about the design.
@zbynek looks like some tests are failing |
Should be passing now. The main issue was that HtmlUnit got updated and the tests ran into HtmlUnit/htmlunit#740 |
@jglick possible to merge please? |
@jglick addressed review comment |
@zbynek @timja I think this broke ATH. For example https://ci.jenkins.io/job/Core/job/acceptance-test-harness/job/master/1063/testReport/plugins/SshSlavesPluginTest/lts_linux_jdk11_firefox_split8___connectWithPassword/
|
@jglick thanks for pointing that out, fixed in jenkinsci/acceptance-test-harness#1497. |
Uses a nicer dialog (no need to scroll to get OK button, works with dark theme, ...), reducing dependency on YUI framework.
Testing done
Checked that credentials can be added (username and password) when running
hpi:run
Screenshot
Submitter checklist