-
-
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
Use Jenkins modal for 'Apply' button failures #8394
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.
Very nice
ATH is not successful. |
It looks fine from a security perspective |
How would you propose that users act on these error messages? The ID is provided so they can ask an admin for help: Users provide the ID, admins can go look through logs for it to understand what went wrong. It's far from convenient, but it doesn't disclose potentially sensitive information to users. When trying to select the ID from the error popup and releasing the mouse pointer over the popup, it disappears before one can copy the error. That makes the above impossible, unless one tries first to take a screenshot (or like some folks, photo), or it's a repeatable error. That seems like a frustrating experience when using the new UI (even if it's prettier). (FTR the most straightforward step to reproduce is to check "Poll SCM" and providing an invalid cron pattern. No need to edit the DOM.) |
Maybe add a "copy to clipboard" button next to the ID? |
Please take a moment and address the merge conflicts of your pull request. Thanks! |
@jenkinsci/sig-ux ath is now successful in jenkinsci/acceptance-test-harness#1446 |
/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! |
Previously we'd show a big YUI modal for when the 'Apply' button would fail to save the form. This PR updates that to use a notification banner and a Jenkins modal to display the errors.
Advantages of this
Before
After
Before
After
Testing done
Proposed changelog entries
Proposed upgrade guidelines
N/A
Submitter checklist
Desired reviewers
@jenkinsci/sig-ux
Before the changes are marked as
ready-for-merge
:Maintainer checklist